summaryrefslogtreecommitdiffstats
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
parent07c9f1e57839c678c867b89aa9dcb2220e579b13 (diff)
downloadtalos-obmc-linux-a9f7705ffd663ff057222e91a86d9bc1d697fd58.tar.gz
talos-obmc-linux-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
OpenPOWER on IntegriCloud