diff options
author | Edwin Peer <edwin.peer@broadcom.com> | 2023-10-20 14:27:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-22 11:41:46 +0100 |
commit | ecdad2a6921417c539e2f414b8b311501dc2dff0 (patch) | |
tree | 190a48c3b9588679eac24c3bda0ff84333c1ae3f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fd78ec3fbc470d33c42a312fd22506e3f3704374 (diff) |
bnxt_en: add infrastructure to lookup ethtool link mode
Add infrastructure to look up the enum ethtool_link_mode_bit_indices
from link information provided by the firmware. The link speed,
signal mode, and media type returned by firmware will be used to
look up the ethtool link mode.
The immediate benefit is that once the link mode is determined, we can
now use ethtool_params_from_link_mode() to fill the basic ethtool
parameters including the number of lanes. Lanes will be fully
supported in the next patch.
Signed-off-by: Edwin Peer <edwin.peer@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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions