freebsd-dev/sys/dev/netmap
Vincenzo Maffione 58e185425a netmap: fix txsync check in netmap poll
To check if txsync can be skipped, it is necessary to look for
unseen TX space. However, this means comparing ring->cur
against ring->tail, rather than ring->head against ring->tail
(like nm_ring_empty() does).
This change also adds some more comments to explain the optimization
performed at the beginning of netmap_poll().

MFC after:	3 days
Sponsored by:	Sunny Valley Networks
2018-12-22 16:23:42 +00:00
..
if_ptnet.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
if_re_netmap.h netmap: align codebase to the current upstream (commit id 3fb001303718146) 2018-04-12 07:20:50 +00:00
if_vtnet_netmap.h netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_bdg.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_bdg.h netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_freebsd.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_generic.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_kern.h netmap: move buf_size validation code to its own function 2018-12-21 11:50:14 +00:00
netmap_kloop.c netmap: fix warning in netmap_kloop.c 2018-12-12 16:32:15 +00:00
netmap_legacy.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +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: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_mem2.h netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_monitor.c netmap: align codebase to the current upstream (sha 8374e1a7e6941) 2018-10-23 08:55:16 +00:00
netmap_null.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_offloadings.c netmap: align codebase to upstream version v11.4 2018-04-09 09:24:26 +00:00
netmap_pipe.c netmap: pipes: make sure both ends use the same number of slots 2018-12-21 11:32:55 +00:00
netmap_pt.c netmap: pull fix for 32-bit support from upstream 2018-05-18 03:38:17 +00:00
netmap_vale.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap.c netmap: fix txsync check in netmap poll 2018-12-22 16:23:42 +00:00