aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2017-06-11 19:05:10 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-08-07 10:47:06 +0300
commita9f7705ffd663ff057222e91a86d9bc1d697fd58 (patch)
treedf798f2d8bd86b79afdbd4a620e6398d5ba1066c /include/linux/mlx5
parentnet/mlx5e: NIC netdev init flow cleanup (diff)
downloadlinux-dev-a9f7705ffd663ff057222e91a86d9bc1d697fd58.tar.xz
linux-dev-a9f7705ffd663ff057222e91a86d9bc1d697fd58.zip
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/linux/mlx5')
0 files changed, 0 insertions, 0 deletions