diff options
author | Somnath Kotur <somnath.kotur@broadcom.com> | 2022-02-20 12:05:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-02 13:47:53 +0300 |
commit | f84bbb9893bdd5effa64dfa6967bd6120e1f45e4 (patch) | |
tree | 71aaf170e1089899fb90c96159bc95f291d1bab3 /drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h | |
parent | 1243861bc002a46ad56bd9cf9893e07fbc5e90d2 (diff) | |
download | linux-f84bbb9893bdd5effa64dfa6967bd6120e1f45e4.tar.xz |
bnxt_en: Fix active FEC reporting to ethtool
commit 84d3c83e6ea7d46cf3de3a54578af73eb24a64f2 upstream.
ethtool --show-fec <interface> does not show anything when the Active
FEC setting in the chip is set to None. Fix it to properly return
ETHTOOL_FEC_OFF in that case.
Fixes: 8b2775890ad8 ("bnxt_en: Report FEC settings to ethtool.")
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h')
0 files changed, 0 insertions, 0 deletions