linux_dsm_epyc7002/drivers/net/ethernet/broadcom
Yuval Mintz 4864a16ae6 bnx2x: Fix fastpath structures when memory allocation fails
When allocating Tx queues, if for some reason
(e.g., lack of memory) allocation fails, driver will incorrectly
calculate the pointers of the various queues.

This patch repositions all pointers in such a case to point at
sequential structures in memory, allowing the bnx2x macros to
be used correctly when accessing them.

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-01-10 14:28:26 -08:00
..
bnx2x bnx2x: Fix fastpath structures when memory allocation fails 2013-01-10 14:28:26 -08:00
b44.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
b44.h b44: add 64 bit stats 2012-07-18 09:29:43 -07:00
bcm63xx_enet.c net/broadcom: remove __dev* attributes 2012-12-03 11:17:07 -08:00
bcm63xx_enet.h MIPS: BCM63XX: Move DMA descriptor definition into common header file 2012-08-30 20:15:52 +02:00
bnx2_fw.h
bnx2.c bnx2: Fix accidental reversions. 2012-12-11 21:28:25 -05:00
bnx2.h cnic, bnx2x, bnx2: Simplify cnic probing. 2012-12-07 12:44:02 -05:00
cnic_defs.h bnx2x,cnic: use FW 7.8.2 2012-10-01 16:43:17 -04:00
cnic_if.h cnic, bnx2x, bnx2: Simplify cnic probing. 2012-12-07 12:44:02 -05:00
cnic.c cnic, bnx2x, bnx2: Simplify cnic probing. 2012-12-07 12:44:02 -05:00
cnic.h cnic: Include bnx2x.h 2012-12-07 12:44:02 -05:00
Kconfig tg3: PTP - Add header definitions, initialization and hw access functions. 2012-12-04 12:58:49 -05:00
Makefile
sb1250-mac.c net/broadcom: remove __dev* attributes 2012-12-03 11:17:07 -08:00
tg3.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
tg3.h tg3: PTP - Add header definitions, initialization and hw access functions. 2012-12-04 12:58:49 -05:00