numam-dpdk/drivers/net
Rasesh Mody c19eafccb2 net/bnx2x: fix race for periodic flags
The periodic callout function and the interrupt handler both modify the
periodic flags. There is a possible race condition when an application
is going through dev_stop()/dev_start() and an interrupt handler is
invoked. We also need to ensure that periodic polling is not invoked in
interrupt context.

This patch handles such case by using separate variable to check for
interrupt context. Also, atomically load and store the periodic flag
value.

Fixes: 0f6ebeee24 ("net/bnx2x: fix call to link handling periodic function")
Cc: stable@dpdk.org

Signed-off-by: Rasesh Mody <rmody@marvell.com>
2019-04-19 14:51:54 +02:00
..
af_packet build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
af_xdp net/af_xdp: introduce AF_XDP PMD 2019-04-05 17:45:22 +02:00
ark replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
atlantic replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
avp build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
axgbe build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
bnx2x net/bnx2x: fix race for periodic flags 2019-04-19 14:51:54 +02:00
bnxt net/bnxt: fix big endian build 2019-04-12 11:02:02 +02:00
bonding replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
cxgbe net/cxgbe: fix missing checksum flags and packet type 2019-03-21 20:45:59 +01:00
dpaa build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
dpaa2 build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
e1000 replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ena net/ena: fix checksum feature flag 2019-04-12 11:02:02 +02:00
enetc build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
enic net/enic: fix VLAN inner type matching for old hardware 2019-04-12 11:02:02 +02:00
failsafe build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
fm10k net/fm10k: fix VLAN strip offload flag 2019-03-29 17:25:32 +01:00
i40e net/i40e: fix scattered Rx enabling 2019-04-12 11:02:02 +02:00
iavf net/iavf: rename remaining avf strings 2019-03-01 18:17:35 +01:00
ice net/ice: stop LLDP by default 2019-04-12 17:11:37 +02:00
ifc vhost: remove vDPA available ring relay helper 2019-02-08 19:27:07 +01:00
ixgbe net/ixgbevf: remove MTU setting limitation 2019-04-05 17:45:22 +02:00
kni replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
liquidio replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
mlx4 net/mlx: fix library search in meson build 2019-04-18 18:22:42 +02:00
mlx5 net/mlx: fix library search in meson build 2019-04-18 18:22:42 +02:00
mvneta replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
mvpp2 replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
netvsc net/netvsc: remove useless condition 2019-03-29 17:25:32 +01:00
nfb net/nfb: add new netcope driver 2019-04-12 17:01:13 +02:00
nfp build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
null
octeontx net/octeontx: fix vdev name 2019-03-20 18:15:42 +01:00
pcap replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
qede replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ring replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
sfc net/sfc: set min and max MTU 2019-04-12 11:02:02 +02:00
softnic build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
szedata2
tap build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
thunderx
vdev_netvsc build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
vhost
virtio build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
vmxnet3
Makefile net/nfb: add new netcope driver 2019-04-12 17:01:13 +02:00
meson.build net/nfb: add new netcope driver 2019-04-12 17:01:13 +02:00