diff options
| author | Shalom Toledo <shalomt@mellanox.com> | 2019-02-22 16:56:45 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-24 00:54:36 +0300 |
| commit | d3eaf1085a247344848e8bf454c6130b045fe495 (patch) | |
| tree | 0a488cdc13f741d71bbb29f2fc42fdeb89e43485 /scripts/gcc-plugins | |
| parent | 9ce8439718b6dfef2509dc72ec841740b14cc6d5 (diff) | |
| download | linux-d3eaf1085a247344848e8bf454c6130b045fe495.tar.xz | |
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 <shalomt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
