aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/switch.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-04-03 14:24:26 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-04 17:42:36 -0700
commit15b04aceeb83086ea3109c331cb7d8c2767fa0c6 (patch)
treecf87b7b657cdd87f7c6ba1986aa3751560024366 /net/dsa/switch.c
parentmlxsw: switch_ib: Pass valid HW id down to mlxsw_core_port_init() (diff)
downloadlinux-dev-15b04aceeb83086ea3109c331cb7d8c2767fa0c6.tar.xz
linux-dev-15b04aceeb83086ea3109c331cb7d8c2767fa0c6.zip
dsa: pass switch ID through devlink_port_attrs_set()
Pass the switch ID down the to devlink through devlink_port_attrs_set() so it can be used by devlink_compat_switch_id_get(). Leave ndo_get_port_parent_id implementation only for legacy. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/switch.c')
0 files changed, 0 insertions, 0 deletions