]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: set devlink port attrs for dsa ports
authorJiri Pirko <jiri@mellanox.com>
Fri, 18 May 2018 07:29:03 +0000 (09:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 May 2018 20:30:39 +0000 (16:30 -0400)
commitfc0bfb357ace272e4d8dd3c133bd63022b298b54
treeb5571aff818c72eafdf067aec4ad4b89b44038e9
parentf7d21e7d20bfcc03d1da736a0a4600947a9be077
dsa: set devlink port attrs for dsa ports

Set the attrs and allow to expose port flavour to user via devlink.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa2.c