devlink: move port_fn_roce_get/set() to devlink_port_ops
authorJiri Pirko <jiri@nvidia.com>
Fri, 26 May 2023 10:28:37 +0000 (12:28 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 May 2023 17:32:20 +0000 (10:32 -0700)
commit933c13275c4933ad68f107ed93ae9b0658b19ad0
tree5568562188b5fcb53057d0962b9256d998a50ea6
parent71c93e37cf3d0528e5d17ecc0b1b07db2086db67
devlink: move port_fn_roce_get/set() to devlink_port_ops

Move port_fn_roce_get/set() from devlink_ops into newly introduced
devlink_port_ops.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/devlink.c
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c
include/net/devlink.h
net/devlink/leftover.c