commit | 5ec1380a21bb6cd2ba89e31c44dfcc150f9ef792 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Fri May 18 09:29:01 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat May 19 16:30:39 2018 -0400 |
tree | 654c2744fe5672d8500e18998f787241a744f340 | |
parent | b9ffcbaf56d3040efee64d3818688083c29b2a44 [diff] |
devlink: extend attrs_set for setting port flavours Devlink ports can have specific flavour according to the purpose of use. This patch extend attrs_set so the driver can say which flavour port has. Initial flavours are: physical, cpu, dsa User can query this to see right away what is the purpose of each port. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>