kernel-fxtec-pro1x/drivers/net
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
..
appletalk
arcnet
bonding
caif
can
dsa net: dsa: b53: Ensure the default VID is untagged 2020-03-11 14:14:52 +01:00
ethernet bnxt_en: Reset rings if ring reservation fails during open() 2020-04-02 15:28:12 +02:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipvlan
netdevsim
phy
plip
ppp
slip
team
usb
vmxnet3
wan
wimax
wireless
xen-netback
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c