diff options
author | Somnath Kotur <somnath.kotur@broadcom.com> | 2022-02-20 04:05:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-20 13:47:14 +0000 |
commit | 84d3c83e6ea7d46cf3de3a54578af73eb24a64f2 (patch) | |
tree | 0221daf6910b1897a002b7f2d022996f19ecd632 /tools/perf/scripts/python | |
parent | 8940e6b669ca1196ce0a0549c819078096390f76 (diff) |
bnxt_en: Fix active FEC reporting to ethtool
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions