commit | 622d3e9201072aaa94d6291b8dee05e3dd50c3af | [log] [tgz] |
---|---|---|
author | Danielle Ratson <danieller@mellanox.com> | Thu Jul 09 16:18:17 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 09 13:15:29 2020 -0700 |
tree | 065f27ea07a1dd6e31582cdeeb6f6df3f4597ad6 | |
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>