kernel-fxtec-pro1x/drivers/net/ethernet
Vasundhara Volam 2cbbedac94 bnxt_en: Reset rings if ring reservation fails during open()
[ Upstream commit 5d765a5e4bd7c368e564e11402bba74cf7f03ac1 ]

If ring counts are not reset when ring reservation fails,
bnxt_init_dflt_ring_mode() will not be called again to reinitialise
IRQs when open() is called and results in system crash as napi will
also be not initialised. This patch fixes it by resetting the ring
counts.

Fixes: 47558acd56 ("bnxt_en: Reserve rings at driver open if none was reserved at probe time.")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-02 15:28:12 +02:00
..
3com
8390
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon net: ena: make ena rxfh support ETH_RSS_HASH_NO_CHANGE 2020-03-05 16:42:20 +01:00
amd net: amd: fix return type of ndo_start_xmit function 2019-11-20 18:47:03 +01:00
apm drivers: net: xgene: Fix the order of the arguments of 'alloc_etherdev_mqs()' 2020-03-05 16:42:22 +01:00
apple
aquantia net: atlantic: fix potential error handling 2020-03-05 16:42:20 +01:00
arc net: ethernet: arc: add the missed clk_disable_unprepare 2019-11-12 19:21:17 +01:00
atheros atl1e: checking the status of atl1e_write_phy_reg 2019-12-05 09:20:54 +01:00
aurora
broadcom bnxt_en: Reset rings if ring reservation fails during open() 2020-04-02 15:28:12 +02:00
brocade
cadence net: macb: Limit maximum GEM TX length in TSO 2020-02-11 04:34:16 -08:00
calxeda
cavium net: thunderx: workaround BGX TX Underflow issue 2020-03-11 14:14:56 +01:00
chelsio l2t_seq_next should increase position index 2020-02-05 14:43:53 +00:00
cirrus net: ep93xx_eth: fix mismatch of request_mem_region in remove 2019-12-13 08:51:06 +01:00
cisco enic: prevent waking up stopped tx queues over watchdog reset 2020-02-24 08:34:34 +01:00
cortina net: gemini: Fix memory leak in gmac_setup_txqs 2019-12-31 16:34:37 +01:00
davicom
dec net: tulip: Adjust indentation in {dmfe, uli526x}_init_module 2020-02-11 04:34:13 -08:00
dlink
emulex
ezchip
faraday net: faraday: fix return type of ndo_start_xmit function 2019-11-20 18:47:39 +01:00
freescale net: fec: validate the new settings in fec_enet_set_coalesce() 2020-03-18 07:14:18 +01:00
fujitsu
hisilicon net: hisilicon: Fix signedness bug in hix5hd2_dev_probe() 2020-01-27 14:51:14 +01:00
hp
huawei hinic: fix a bug of setting hw_ioctxt 2020-03-20 11:55:54 +01:00
i825xx net: i82596: fix dma_alloc_attr for sni_82596 2019-10-29 09:19:41 +01:00
ibm ehea: Fix a copy-paste err in ehea_init_port_res 2020-01-27 14:50:37 +01:00
intel ice: Don't tell the OS that link is going down 2020-03-11 14:14:55 +01:00
marvell net: mvneta: Fix the case where the last poll did not process all rx 2020-04-02 15:28:11 +02:00
mediatek
mellanox mlxsw: spectrum_mr: Fix list iteration in error path 2020-04-02 15:28:10 +02:00
micrel net: ks8851-ml: Fix IRQ handling and locking 2020-03-20 11:55:53 +01:00
microchip
moxa
mscc net: mscc: fix in frame extraction 2020-03-05 16:42:16 +01:00
myricom net: myri10ge: fix memory leaks 2019-09-10 10:33:46 +01:00
natsemi net/sonic: Prevent tx watchdog timeout 2020-01-29 16:43:23 +01:00
neterion
netronome nfp: bpf: fix static check error through tightening shift amount adjustment 2020-01-27 14:50:48 +01:00
ni net: nixge: Fix a signedness bug in nixge_probe() 2020-01-27 14:51:15 +01:00
nuvoton
nvidia
nxp net: lpc-enet: fix printk format strings 2019-10-05 13:09:43 +02:00
oki-semi
packetengines
pasemi net: pasemi: fix an use-after-free in pasemi_mac_phy_init() 2020-01-27 14:51:01 +01:00
qlogic qede: Fix race between rdma destroy workqueue and link change event 2020-03-05 16:42:17 +01:00
qualcomm net: rmnet: fix packet forwarding in rmnet bridge mode 2020-03-20 11:55:56 +01:00
rdc
realtek r8169: check that Realtek PHY driver module is loaded 2020-02-24 08:34:42 +01:00
renesas net: sh_eth: fix a missing check of of_get_phy_mode 2020-01-27 14:50:32 +01:00
rocker
samsung
seeq net: seeq: Fix the function used to release some memory in an error handling path 2019-09-21 07:17:10 +02:00
sfc sfc: fix timestamp reconstruction at 16-bit rollover points 2020-03-20 11:55:56 +01:00
sgi
silan
sis
smsc net: smc911x: Adjust indentation in smc911x_phy_configure 2020-02-11 04:34:13 -08:00
socionext net: socionext: Fix a signedness bug in ave_probe() 2020-01-27 14:51:15 +01:00
stmicro net: stmmac: dwmac-rk: fix error path in rk_gmac_probe 2020-04-02 15:28:12 +02:00
sun net: sun: fix return type of ndo_start_xmit function 2019-11-20 18:47:04 +01:00
synopsys
tehuti
ti net: ethernet: ti: ale: clean ale tbl on init and intf restart 2019-12-31 16:36:11 +01:00
toshiba net: toshiba: fix return type of ndo_start_xmit function 2019-11-20 18:47:02 +01:00
tundra
via
wiznet
xilinx net: axienet: fix a signedness bug in probe 2020-01-27 14:51:15 +01:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c