summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2016-02-26 19:32:25 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-02 00:07:29 +0300
commitb2facd95ab965465373fc5ded7218c8c4fa8da7d (patch)
treed0a7fc913f93bcf1502d98fce970ca8dc42e9599 /drivers/net/ethernet/mellanox/mlxsw/spectrum.c
parent09d4d087cd4869859fcc5dfc692f0830550a1b48 (diff)
downloadlinux-b2facd95ab965465373fc5ded7218c8c4fa8da7d.tar.xz
mlx4: Implement port type setting via devlink interface
So far, there has been an mlx4-specific sysfs file allowing user to change port type to either Ethernet of InfiniBand. This is very inconvenient. Allow to expose the same ability to set port type in a generic way using devlink interface. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.c')
0 files changed, 0 insertions, 0 deletions