https://github.com/torvalds/linux
Revision 1d997801c7cc6a7f542e46d5a6bf16f893ad3fe9 authored by Sreekanth Reddy on 07 June 2023, 07:54:05 UTC, committed by Paolo Abeni on 08 June 2023, 08:52:45 UTC
Only older NIC controller's firmware uses the PROC AP reset type.
Firmware on 5731X/5741X and newer chips does not support this reset
type.  When bnxt_reset() issues a series of resets, this PROC AP
reset may actually fail on these newer chips because the firmware
is not ready to accept this unsupported command yet.  Avoid this
unnecessary error by skipping this reset type on chips that don't
support it.

Fixes: 7a13240e3718 ("bnxt_en: fix ethtool_reset_flags ABI violations")
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 095d5dc
History
Tip revision: 1d997801c7cc6a7f542e46d5a6bf16f893ad3fe9 authored by Sreekanth Reddy on 07 June 2023, 07:54:05 UTC
bnxt_en: Don't issue AP reset during ethtool's reset operation
Tip revision: 1d99780
File Mode Size
.gitignore -rw-r--r-- 58 bytes
Kconfig -rw-r--r-- 62.5 KB
Makefile -rw-r--r-- 1.8 KB
build-version -rwxr-xr-x 177 bytes
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 15.5 KB
do_mounts.h -rw-r--r-- 908 bytes
do_mounts_initrd.c -rw-r--r-- 3.7 KB
do_mounts_rd.c -rw-r--r-- 7.7 KB
init_task.c -rw-r--r-- 6.1 KB
initramfs.c -rw-r--r-- 17.1 KB
main.c -rw-r--r-- 38.6 KB
noinitramfs.c -rw-r--r-- 862 bytes
version-timestamp.c -rw-r--r-- 762 bytes
version.c -rw-r--r-- 1.3 KB

back to top