linux/drivers/net/ethernet/broadcom/bnx2x
Yuval Mintz 9a2620c877 bnx2x: prevent WARN during driver unload
Starting with commit 80c33dd "net: add might_sleep() call to napi_disable"
bnx2x fails the might_sleep tests causing a stack trace to appear whenever
the driver is unloaded, as local_bh_disable() is being called before
napi_disable().

This changes the locking schematics related to CONFIG_NET_RX_BUSY_POLL,
preventing the need for calling local_bh_disable() and thus eliminating
the issue.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-09 21:46:06 -05:00
..
bnx2x_cmn.c bnx2x: prevent WARN during driver unload 2014-01-09 21:46:06 -05:00
bnx2x_cmn.h
bnx2x_dcb.c bnx2x: Prevent "timeout waiting for state X" 2013-11-18 15:45:44 -05:00
bnx2x_dcb.h
bnx2x_dump.h
bnx2x_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-10-23 16:49:34 -04:00
bnx2x_fw_defs.h
bnx2x_fw_file_hdr.h
bnx2x_hsi.h bnx2x: Add support for EXTPHY2 LED mode 2013-09-28 15:24:03 -07:00
bnx2x_init_ops.h
bnx2x_init.h bnx2x: Don't pretend during register dump 2013-10-21 18:31:36 -04:00
bnx2x_link.c bnx2x: Fix KR2 work-around detection of BCM8073 2014-01-01 22:09:48 -05:00
bnx2x_link.h
bnx2x_main.c bnx2x: limit number of interrupt vectors for 57711 2014-01-05 20:22:24 -05:00
bnx2x_mfw_req.h
bnx2x_reg.h bnx2x: Fix 578xx-KR 1G link 2014-01-01 22:09:47 -05:00
bnx2x_sp.c bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_sp.h bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_sriov.c bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_sriov.h bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_stats.c bnx2x: Lock DMAE when used by statistic flow 2013-10-21 18:31:35 -04:00
bnx2x_stats.h
bnx2x_vfpf.c bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_vfpf.h bnx2x: Add ndo_get_phys_port_id support 2013-10-09 14:55:13 -04:00
bnx2x.h bnx2x: prevent WARN during driver unload 2014-01-09 21:46:06 -05:00
Makefile