diff options
author | Shalom Toledo <[email protected]> | 2019-02-22 13:56:45 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-02-23 13:54:36 -0800 |
commit | d3eaf1085a247344848e8bf454c6130b045fe495 (patch) | |
tree | 0a488cdc13f741d71bbb29f2fc42fdeb89e43485 /tools/perf/scripts/python/sched-migration.py | |
parent | 9ce8439718b6dfef2509dc72ec841740b14cc6d5 (diff) |
mlxsw: spectrum: Add Spectrum-2 ASIC port type-speed operations
Add Spectrum-2 ASIC port type-speed operations.
Since multiple ethtool link modes are represented using a single bit in the
ASIC, the driver forces the user to configure all types per a specific
speed. For example, if the user wants to advertise 100Gbps 4-lanes speed,
he should advertise all the types of 100Gbps 4-lanes speed that are
supported by the ASIC as shown below:
Supported ethtool bits for 100Gbps 4-lanes:
0x1000000000 100000baseKR4 Full
0x2000000000 100000baseSR4 Full
0x4000000000 100000baseCR4 Full
0x8000000000 100000baseLR4_ER4 Full
Command for advertising 100Gbps 4-lanes:
ethtool -s enp3s0np1 advertise 0xF000000000
Signed-off-by: Shalom Toledo <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions