linux/drivers/net/ethernet/broadcom/bnxt
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
..
bnxt_coredump.h bnxt_en: Add support for ethtool get dump. 2018-08-05 17:08:26 -07:00
bnxt_dcb.c bnxt_en: Fix enables field in HWRM_QUEUE_COS2BW_CFG request 2018-10-04 21:41:16 -07:00
bnxt_dcb.h bnxt_en: Do not use the CNP CoS queue for networking traffic. 2018-08-05 17:08:26 -07:00
bnxt_debugfs.c bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00
bnxt_debugfs.h bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00
bnxt_devlink.c bnxt_en: Remove unnecessary unsigned integer comparison and initialize variable 2018-10-07 20:36:40 -07:00
bnxt_devlink.h bnxt_en: Add a driver specific gre_ver_check devlink parameter. 2018-10-04 13:49:43 -07:00
bnxt_dim.c net/dim: Rename *_get_profile() functions to *_get_rx_moderation() 2018-04-24 10:15:07 -04:00
bnxt_ethtool.c bnxt_en: Fix ethtool self-test loopback. 2018-12-19 11:31:09 -08:00
bnxt_ethtool.h bnxt_en: Add support for ethtool get dump. 2018-08-05 17:08:26 -07:00
bnxt_fw_hdr.h bnxt_en: Added support for Secure Firmware Update 2016-09-19 21:32:24 -04:00
bnxt_hsi.h bnxt_en: Update firmware interface spec. to 1.10.0.3. 2018-10-15 22:44:31 -07:00
bnxt_nvm_defs.h bnxt_en: Fix memory fault in bnxt_ethtool_init() 2018-04-19 16:35:09 -04:00
bnxt_sriov.c bnxt_en: Fix VF mac address regression. 2018-09-17 07:56:35 -07:00
bnxt_sriov.h bnxt_en: Fix VF mac address regression. 2018-09-17 07:56:35 -07:00
bnxt_tc.c Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-25 10:35:29 -07:00
bnxt_tc.h bnxt_en: alloc tc_info{} struct only when tc flower is enabled 2017-10-28 00:02:45 +09:00
bnxt_ulp.c bnxt_en: Keep track of reserved IRQs. 2018-12-09 11:46:58 -08:00
bnxt_ulp.h bnxt_en: Clean up unused functions. 2018-09-03 21:59:43 -07:00
bnxt_vfr.c devlink: Add extack for eswitch operations 2018-10-03 16:17:58 -07:00
bnxt_vfr.h devlink: Add extack for eswitch operations 2018-10-03 16:17:58 -07:00
bnxt_xdp.c bnxt_en: Re-structure doorbells. 2018-10-15 22:44:32 -07:00
bnxt_xdp.h net: bpf: rename ndo_xdp to ndo_bpf 2017-11-05 22:26:18 +09:00
bnxt.c bnxt_en: Fix _bnxt_get_max_rings() for 57500 chips. 2018-12-09 11:46:58 -08:00
bnxt.h bnxt_en: Keep track of reserved IRQs. 2018-12-09 11:46:58 -08:00
Makefile bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00