summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/netronome
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@mellanox.com>2020-07-09 16:18:19 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-09 23:15:29 +0300
commit1b604efb6c28902df306fce610fba761e9c056d2 (patch)
treeb7e3d0d53d19e0fa1d5f827e7a6b1e2ce36ecccf /drivers/net/ethernet/netronome
parenta21cf0a8330bba60e44ca6c99e1591042f336ff5 (diff)
downloadlinux-1b604efb6c28902df306fce610fba761e9c056d2.tar.xz
mlxsw: Set port split ability attribute in driver
Currently, port attributes like flavour, port number and whether the port was split are set when initializing a port. Set the split ability of the port as well, based on port_mapping->width field and split attribute of devlink port in spectrum, 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 'drivers/net/ethernet/netronome')
0 files changed, 0 insertions, 0 deletions