linux/include
Jiri Pirko 7e1146e8c1 net: devlink: introduce devlink_compat_switch_id_get() helper
Introduce devlink_compat_switch_id_get() helper which fills up switch_id
according to passed netdev pointer. Call it directly from
dev_get_port_parent_id() as a fallback when ndo_get_port_parent_id
is not defined for given netdev.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-04 17:42:36 -07:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux net: use correct this_cpu primitive in dev_recursion_level 2019-04-04 17:34:58 -07:00
math-emu
media
memory
misc
net net: devlink: introduce devlink_compat_switch_id_get() helper 2019-04-04 17:42:36 -07:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace
uapi
video
xen