diff options
author | Parav Pandit <parav@mellanox.com> | 2019-12-17 23:16:11 -0600 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-03-13 16:26:24 -0700 |
commit | 0e6fa491e8b0a9a0115896fc88a404f8d89c2e80 (patch) | |
tree | bee1c71414f93acc6129268611693eed89155031 /README | |
parent | d6c8022dfb06b27c96d6deca93ce6d762e842878 (diff) | |
download | lwn-0e6fa491e8b0a9a0115896fc88a404f8d89c2e80.tar.gz lwn-0e6fa491e8b0a9a0115896fc88a404f8d89c2e80.zip |
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 'README')
0 files changed, 0 insertions, 0 deletions