]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Introduce a helper API to check VF vport
authorParav Pandit <parav@mellanox.com>
Tue, 25 Jun 2019 17:47:56 +0000 (17:47 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 26 Jun 2019 19:01:28 +0000 (12:01 -0700)
commit7122b6a35ed96f21a6deebf4162cb4e30df09735
tree0693d86b3171a1df3c8de43edaeb79ee07ef8e3e
parentaa19114bfa479d68ad33b2b1b5f7def5ff40da1c
net/mlx5: Introduce a helper API to check VF vport

Introduce a helper API mlx5_eswitch_is_vf_vport() to check
if a given vport_num belongs to VF or not.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Jianbo Liu <jianbol@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c