linux/drivers/net/ethernet/broadcom/bnx2x
Dmitry Kravkov 07b4eb3b53 bnx2x: Change DCB context handling
After notification that DCBX configuration has ended arrived to the driver,
the driver configured the FW/HW in sleepless context.
As a result, it was possible to reach a race (mostly with CNIC registration)
in which the configuration will return a timeout, failing to set the DCBX
results correctly.

This patch moves the configuration following the DCBX end into the slowpath
RTNL task (i.e., sleepless context protected by the RTNL lock), allowing the
configuration to cope with such races.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-20 00:21:47 -07:00
..
bnx2x_cmn.c net: rename CONFIG_NET_LL_RX_POLL to CONFIG_NET_RX_BUSY_POLL 2013-08-01 15:11:17 -07:00
bnx2x_cmn.h bnx2x: replace mechanism to check for next available packet 2013-06-19 18:32:17 -07:00
bnx2x_dcb.c bnx2x: Change DCB context handling 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: Revise comments and alignment 2013-06-02 21:36:47 -07:00
bnx2x_ethtool.c bnx2x: fill in sane dump flag information 2013-07-02 00:15:56 -07:00
bnx2x_fw_defs.h bnx2x, bnx2fc: Use per port max exchange resources 2013-04-25 04:06:46 -04:00
bnx2x_fw_file_hdr.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_hsi.h bnx2x: fix PTE write access error 2013-08-13 16:04:28 -07:00
bnx2x_init_ops.h bnx2x: Remove many sparse warnings 2013-01-23 13:58:29 -05:00
bnx2x_init.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_link.c bnx2x: Allow RX/TX pause control in autoneg 2013-04-24 16:33:53 -04:00
bnx2x_link.h bnx2x: Support reading I2C EEPROM SFF8472 2013-03-27 12:48:32 -04:00
bnx2x_main.c bnx2x: Change DCB context handling 2013-08-20 00:21:47 -07:00
bnx2x_mfw_req.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_reg.h bnx2x: Revise prints 2013-06-02 21:36:47 -07:00
bnx2x_sp.c bnx2x: Revise comments and alignment 2013-06-02 21:36:47 -07:00
bnx2x_sp.h bnx2x: Revise comments and alignment 2013-06-02 21:36:47 -07:00
bnx2x_sriov.c bnx2x: fix memory leak in VF 2013-08-13 16:04:28 -07:00
bnx2x_sriov.h bnx2x: Fix compilation with no IOV support 2013-06-24 01:47:47 -07:00
bnx2x_stats.c bnx2x: protect different statistics flows 2013-08-13 16:04:28 -07:00
bnx2x_stats.h bnx2x: Semantic change of empty lines 2013-06-02 21:36:47 -07:00
bnx2x_vfpf.c bnx2x: Improve PF behaviour toward VF 2013-06-23 23:54:15 -07:00
bnx2x_vfpf.h bnx2x: Improve PF behaviour toward VF 2013-06-23 23:54:15 -07:00
bnx2x.h bnx2x: Change DCB context handling 2013-08-20 00:21:47 -07:00
Makefile