diff options
| author | Danielle Ratson <danieller@mellanox.com> | 2020-07-09 16:18:17 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-09 13:15:29 -0700 |
| commit | 622d3e9201072aaa94d6291b8dee05e3dd50c3af (patch) | |
| tree | 065f27ea07a1dd6e31582cdeeb6f6df3f4597ad6 /lib/test_overflow.c | |
| parent | 71ad8d55f8e5ea101069b552422f392655e2ffb6 (diff) | |
mlxsw: Set number of port lanes attribute in driver
Currently, port attributes like flavour, port number and whether the
port was split are set when initializing a port.
Set the number of lanes of the port as well so that it could be easily
passed to devlink in the next patch.
Signed-off-by: Danielle Ratson <danieller@mellanox.com>
Reviewed-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 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
