opnsense-src/sys/dev/netmap
Mark Johnston cfde143c4a netmap: Handle packet batches in generic mode
ifnets are allowed to pass batches of multiple packets to if_input,
linked by the m_nextpkt pointer.  iflib_rxeof() sometimes does this, for
example.  Netmap's generic mode did not handle this and would only
deliver the first packet in the batch, leaking the rest.

PR:		270636
Reviewed by:	vmaffione
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D39426

(cherry picked from commit 5f6d37787f)
2023-05-09 10:44:46 +02:00
..
if_ptnet.c netmap: drop compatibility FreeBSD code 2022-12-31 12:06:22 +00:00
if_re_netmap.h Fix unused variable warning in if_re_netmap.h 2022-07-24 13:00:10 +02:00
if_vtnet_netmap.h netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap.c netmap: fix copyin/copyout of nmreq options list 2023-05-09 10:44:35 +02:00
netmap_bdg.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_bdg.h netmap_update_config: update na->name to cope with reconfigurations 2022-12-24 11:46:02 +00:00
netmap_freebsd.c netmap: Handle packet batches in generic mode 2023-05-09 10:44:46 +02:00
netmap_generic.c netmap: Fix a queue length check in the generic port rx path 2023-02-01 12:22:31 -05:00
netmap_kern.h netmap: get rid of save_if_input for emulated adapters 2023-05-09 10:44:22 +02:00
netmap_kloop.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_legacy.c netmap: fix parsing of legacy nmr->nr_ringid 2020-08-18 08:03:28 +00:00
netmap_mbq.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
netmap_mbq.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
netmap_mem2.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_mem2.h netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_monitor.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00
netmap_null.c netmap: refactor logging macros and pipes 2019-02-05 12:10:48 +00:00
netmap_offloadings.c netmap: refactor logging macros and pipes 2019-02-05 12:10:48 +00:00
netmap_pipe.c netmap: refactor logging macros and pipes 2019-02-05 12:10:48 +00:00
netmap_vale.c netmap: several typo fixes 2022-12-31 14:46:29 +00:00