commit | b2facd95ab965465373fc5ded7218c8c4fa8da7d | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Fri Feb 26 17:32:25 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 01 16:07:29 2016 -0500 |
tree | d0a7fc913f93bcf1502d98fce970ca8dc42e9599 | |
parent | 09d4d087cd4869859fcc5dfc692f0830550a1b48 [diff] |
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>