diff options
author | Danielle Ratson <danieller@mellanox.com> | 2020-07-09 16:18:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-09 23:15:29 +0300 |
commit | 1b604efb6c28902df306fce610fba761e9c056d2 (patch) | |
tree | b7e3d0d53d19e0fa1d5f827e7a6b1e2ce36ecccf /include/uapi/linux/devlink.h | |
parent | a21cf0a8330bba60e44ca6c99e1591042f336ff5 (diff) | |
download | linux-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 'include/uapi/linux/devlink.h')
0 files changed, 0 insertions, 0 deletions