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
Raw File
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
COPYING
The Linux Kernel is provided under:

	SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note

Being under the terms of the GNU General Public License version 2 only,
according with:

	LICENSES/preferred/GPL-2.0

With an explicit syscall exception, as stated at:

	LICENSES/exceptions/Linux-syscall-note

In addition, other licenses may also apply. Please see:

	Documentation/process/license-rules.rst

for more details.

All contributions to the Linux Kernel are subject to this COPYING file.
back to top