numam-dpdk/drivers/net/bnx2x
Shahed Shaikh e166e0db8c net/bnx2x: fix DMAE timeout
In some cases, DPDK application may send packets
while PMD is going through load or unload flow.
This causes firmware to access invalid/unallocated
memory to process transmit buffer. Which results in
error on PCI bus and chip further blocks access to host,
causing a DMAE timeout.

Fix this issue by installing dummy empty transmit and receive
handlers at the beginning of unload path (rte_eth_dev_stop())
and install actual transmit and receive handlers after successful
load of the PMD port (rte_eth_dev_start()). This way, application
won't be able to send packets while device is going through
load/unload flow.

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
..
bnx2x_ethdev.c net/bnx2x: fix DMAE timeout 2019-04-19 14:51:54 +02:00
bnx2x_ethdev.h net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
bnx2x_logs.h net/bnx2x: fix dynamic logging 2018-11-14 00:35:53 +01:00
bnx2x_rxtx.c net/bnx2x: fix DMAE timeout 2019-04-19 14:51:54 +02:00
bnx2x_rxtx.h net/bnx2x: fix DMAE timeout 2019-04-19 14:51:54 +02:00
bnx2x_stats.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_stats.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x_vfpf.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_vfpf.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x.c net/bnx2x: fix ramrod timeout 2019-04-19 14:51:54 +02:00
bnx2x.h net/bnx2x: fix ramrod timeout 2019-04-19 14:51:54 +02:00
ecore_fw_defs.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
ecore_hsi.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_init_ops.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
ecore_init.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
ecore_mfw_req.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
ecore_reg.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_sp.c net/bnx2x: fix ramrod timeout 2019-04-19 14:51:54 +02:00
ecore_sp.h net/bnx2x: fix memory leak 2019-04-19 14:51:54 +02:00
elink.c net/bnx2x: remove profanity 2018-10-18 10:24:39 +02:00
elink.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
Makefile net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
meson.build build: improve dependency handling 2019-02-27 12:13:54 +01:00
rte_pmd_bnx2x_version.map bnx2x: driver support routines 2015-07-27 04:27:10 +02:00