]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: devlink: use devlink_port pointer instead of ndo_get_devlink_port
authorJiri Pirko <jiri@nvidia.com>
Wed, 2 Nov 2022 16:02:09 +0000 (17:02 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Nov 2022 03:48:36 +0000 (20:48 -0700)
commit8eba37f7e9bc82fac08f31d318e36f341494442d
tree2c94d5fb46fea7196bd281dbc2a0e1e2f9a4a30b
parente705a621c071b43e4ea971abb70d7677dc640c27
net: devlink: use devlink_port pointer instead of ndo_get_devlink_port

Use newly introduced devlink_port pointer instead of getting it calling
to ndo_get_devlink_port op.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/devlink.c
net/core/net-sysfs.c
net/ethtool/ioctl.c