linux/drivers/net/ethernet/broadcom
Michael Chan 84404d5fd5 bnxt_en: Fix ethtool self-test loopback.
The current code has 2 problems.  It assumes that the RX ring for
the loopback packet is combined with the TX ring.  This is not
true if the ethtool channels are set to non-combined mode.  The
second problem is that it won't work on 57500 chips without
adjusting the logic to get the proper completion ring (cpr) pointer.
Fix both issues by locating the proper cpr pointer through the RX
ring.

Fixes: e44758b78a ("bnxt_en: Use bnxt_cp_ring_info struct pointer as parameter for RX path.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-19 11:31:09 -08:00
..
bnx2x bnx2x: Send update-svid ramrod with retry/poll flags enabled 2018-12-12 16:25:14 -08:00
bnxt bnxt_en: Fix ethtool self-test loopback. 2018-12-19 11:31:09 -08:00
genet net: bcmgenet: protect stop from timeout 2018-11-03 00:03:39 -07:00
b44.c
b44.h
bcm63xx_enet.c net: broadcom: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
bcm63xx_enet.h
bcmsysport.c net: systemport: Protect stop from timeout 2018-11-03 00:03:40 -07:00
bcmsysport.h net: systemport: Add software counters to track reallocations 2018-10-01 23:11:53 -07:00
bgmac-bcma-mdio.c
bgmac-bcma.c
bgmac-platform.c
bgmac.c net: bgmac: remove set but not used variable 'err' 2018-09-01 22:30:41 -07:00
bgmac.h net: bgmac: Correctly annotate register space 2018-04-01 22:20:48 -04:00
bnx2_fw.h
bnx2.c PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status() calls 2018-10-02 16:04:40 -05:00
bnx2.h
cnic_defs.h
cnic_if.h
cnic.c cnic: use kvzalloc to allocate memory for csk_tbl 2018-07-11 22:55:52 -07:00
cnic.h
Kconfig bnxt_en: Add hwmon sysfs support to read temperature 2018-08-05 17:08:26 -07:00
Makefile
sb1250-mac.c net: broadcom: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
tg3.c tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths 2018-11-20 10:18:05 -08:00
tg3.h tg3: Update copyright 2018-07-16 14:42:10 -07:00