numam-dpdk/drivers/net/tap
Marcin Smoczynski d070c34131 net/tap: fix blocked Rx packets
When OS sends more packets than are being read with a single
'rte_eth_rx_burst' call, rx packets are getting stucked in the tap pmd
and are unable to receive, because trigger_seen is getting updated
and consecutive calls are not getting any packets.

Do not update trigger_seen unless less than a max number of packets were
received allowing next call to receive the rest.

Remove unnecessary compiler barrier.

Fixes: a0d8e807d9 ("net/tap: add Rx trigger")
Cc: stable@dpdk.org

Signed-off-by: Marcin Smoczynski <marcinx.smoczynski@intel.com>
Tested-by: Mariusz Drost <mariuszx.drost@intel.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Reviewed-by: Keith Wiles <keith.wiles@intel.com>
2019-10-23 16:43:08 +02:00
..
Makefile net/tap: access primary process queues from secondary 2018-10-26 22:14:05 +02:00
meson.build drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
rte_eth_tap.c net/tap: fix blocked Rx packets 2019-10-23 16:43:08 +02:00
rte_eth_tap.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
rte_pmd_tap_version.map net/tap: add TUN/TAP device PMD 2017-01-17 19:40:50 +01:00
tap_bpf_api.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_bpf_insns.h add missing static keyword to globals 2018-10-29 02:01:08 +01:00
tap_bpf_program.c net/tap: revert rte prefixing 2019-06-03 16:54:43 +02:00
tap_bpf.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_flow.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
tap_flow.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_intr.c net/tap: move fds of queues to be in process private 2018-10-26 22:14:05 +02:00
tap_log.h net/tap: convert to dynamic logging 2018-04-27 18:00:59 +01:00
tap_netlink.c net/tap: fix file descriptor leak on error 2018-11-14 02:14:09 +01:00
tap_netlink.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_rss.h net/tap: support RSS hash update 2018-05-17 19:07:08 +02:00
tap_tcmsgs.c net/tap: fix possible uninitialized variable access 2018-12-21 16:22:41 +01:00
tap_tcmsgs.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00