summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-12-18 08:16:11 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-03-14 02:26:24 +0300
commit0e6fa491e8b0a9a0115896fc88a404f8d89c2e80 (patch)
treebee1c71414f93acc6129268611693eed89155031 /drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h
parentd6c8022dfb06b27c96d6deca93ce6d762e842878 (diff)
downloadlinux-0e6fa491e8b0a9a0115896fc88a404f8d89c2e80.tar.xz
net/mlx5: Avoid deriving mlx5_core_dev second time
All callers needs to work on mlx5_core_dev and it is already derived before calling mlx5_devlink_eswitch_check(). Hence, accept mlx5_core_dev in mlx5_devlink_eswitch_check(). Given that it works on mlx5_core_dev change helper function name to drop devlink prefix. Reviewed-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Bodong Wang <bodong@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h')
0 files changed, 0 insertions, 0 deletions