diff options
| author | Stefan Assmann <[email protected]> | 2020-09-09 10:22:12 +0200 | 
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2020-11-24 08:02:24 -0800 | 
| commit | 6ec12e1e9404acb27a7434220bbe5f75e7bb2859 (patch) | |
| tree | 149f92306e9a8c8ec23c7a52807bf32491a67c7e /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 088d5360d05a9e4e779fc89acd8e63379d21b8b8 (diff) | |
i40e: report correct VF link speed when link state is set to enable
When the virtual link state was set to "enable" ethtool would report
link speed as 40000Mb/s regardless of the underlying device.
Report the correct link speed.
Example from a XXV710 NIC.
Before:
$ ip link set ens3f0 vf 0 state auto
$  ethtool enp8s2 | grep Speed
        Speed: 25000Mb/s
$ ip link set ens3f0 vf 0 state enable
$ ethtool enp8s2 | grep Speed
        Speed: 40000Mb/s
After:
$ ip link set ens3f0 vf 0 state auto
$  ethtool enp8s2 | grep Speed
        Speed: 25000Mb/s
$ ip link set ens3f0 vf 0 state enable
$ ethtool enp8s2 | grep Speed
        Speed: 25000Mb/s
Signed-off-by: Stefan Assmann <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions