numam-dpdk/drivers/net
Shahed Shaikh 8bd31421c5 net/bnx2x: fix ramrod timeout
There is a race condition while processing RAMROD
completion in fast path queue through interrupt handler
and polling method.

Interrupt handler invoked from actual interrupt event
and from RAMROD processing polling flow may create a
situation where one flow will read and clear a fastpath
interrupt without actually processing the RAMROD completion.
Thus, causing a RAMROD timeout even though HW sent an
completion event.

Fix this by introducing an atomic variable which will be
set only when interrupt handler needs to process RAMROD
completion.

Fixes: 540a211084 ("bnx2x: driver core")
Cc: stable@dpdk.org

Signed-off-by: Shahed Shaikh <shshaikh@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 ramrod timeout 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 ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
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 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
tap build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
thunderx net/thunderx: fix Tx desc corruption in scatter-gather mode 2018-11-14 00:35:53 +01:00
vdev_netvsc build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
vhost net/vhost: fix double free of MAC address 2018-12-21 16:22:41 +01:00
virtio build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
vmxnet3 drivers/net: fix several Tx prepare functions 2018-12-13 17:53:50 +00:00
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