linux/drivers/net/ethernet/broadcom/bnx2x
Ariel Elior 32316a46f2 bnx2x: Lock DMAE when used by statistic flow
bnx2x has several clients to its DMAE machines - all of them with the exception
of the statistics flow used the same locking mechanisms to synchronize the DMAE
machines' usage.

Since statistics (which are periodically entered) use DMAE without taking the
locks, they may erase the commands which were previously set -
e.g., it may cause a VF to timeout while waiting for a PF answer on the VF-PF
channel as that command header would have been overwritten by the statistics'
header.

This patch makes certain that all flows utilizing DMAE will use the same
API, assuring that the locking scheme will be kept by all said flows.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-21 18:31:35 -04:00
..
bnx2x_cmn.c bnx2x: record rx queue for LRO packets 2013-10-17 15:42:35 -04:00
bnx2x_cmn.h bnx2x: VF RSS support - VF side 2013-09-05 12:44:31 -04:00
bnx2x_dcb.c bnx2x: Consider DCBX remote error 2013-08-20 00:21:47 -07:00
bnx2x_dcb.h bnx2x: Change DCB context handling 2013-08-20 00:21:47 -07:00
bnx2x_dump.h
bnx2x_ethtool.c bnx2x: Use pci_dev pm_cap 2013-09-13 20:13:00 -04:00
bnx2x_fw_defs.h
bnx2x_fw_file_hdr.h
bnx2x_hsi.h bnx2x: fix PTE write access error 2013-08-13 16:04:28 -07:00
bnx2x_init_ops.h
bnx2x_init.h
bnx2x_link.c bnx2x: Fix 848xx duplex settings 2013-09-23 02:10:20 -04:00
bnx2x_link.h
bnx2x_main.c bnx2x: Lock DMAE when used by statistic flow 2013-10-21 18:31:35 -04:00
bnx2x_mfw_req.h
bnx2x_reg.h bnx2x: VF RSS support - PF side 2013-09-05 12:44:31 -04:00
bnx2x_sp.c bnx2x: VF RSS support - PF side 2013-09-05 12:44:31 -04:00
bnx2x_sp.h bnx2x: VF RSS support - PF side 2013-09-05 12:44:31 -04:00
bnx2x_sriov.c bnx2x: Prevent null pointer dereference on error flow 2013-10-21 18:31:35 -04:00
bnx2x_sriov.h bnx2x: fix broken compilation with CONFIG_BNX2X_SRIOV is not set 2013-09-06 14:43:49 -04:00
bnx2x_stats.c bnx2x: Lock DMAE when used by statistic flow 2013-10-21 18:31:35 -04:00
bnx2x_stats.h bnx2x: Fix VF stats sync 2013-08-27 22:03:04 -04:00
bnx2x_vfpf.c bnx2x: Lock DMAE when used by statistic flow 2013-10-21 18:31:35 -04:00
bnx2x_vfpf.h bnx2x: VF RSS support - PF side 2013-09-05 12:44:31 -04:00
bnx2x.h bnx2x: Lock DMAE when used by statistic flow 2013-10-21 18:31:35 -04:00
Makefile