diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2017-06-11 19:05:10 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-08-07 10:47:06 +0300 |
commit | a9f7705ffd663ff057222e91a86d9bc1d697fd58 (patch) | |
tree | df798f2d8bd86b79afdbd4a620e6398d5ba1066c /include | |
parent | 07c9f1e57839c678c867b89aa9dcb2220e579b13 (diff) | |
download | linux-a9f7705ffd663ff057222e91a86d9bc1d697fd58.tar.bz2 |
net/mlx5: Unify vport manager capability check
Expose MLX5_VPORT_MANAGER macro to check for strict vport manager
E-switch and MPFS (Multi Physical Function Switch) abilities.
VPORT manager must be a PF with an ethernet link and with FW advertised
vport group manager capability
Replace older checks with the new macro and use it where needed in
eswitch.c and mlx5e netdev eswitch related flows.
The same macro will be reused in MPFS separation downstream patch.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions