linux/drivers/infiniband
Or Gerlitz aff2252a2a IB/mlx5: Avoid dealing with vport representors if not being e-switch manager
In smartnic env, the host (PF) driver might not be an e-switch
manager, hence the switchdev mode representors are running on
the embedded cpu (EC) and not at the host.

As such, we should avoid dealing with vport representors if
not being esw manager.

Fixes: b5ca15ad7e ('IB/mlx5: Add proper representors support')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2018-06-26 15:26:30 -07:00
..
core treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
hw IB/mlx5: Avoid dealing with vport representors if not being e-switch manager 2018-06-26 15:26:30 -07:00
sw treewide: Use array_size() in vzalloc_node() 2018-06-12 16:19:22 -07:00
ulp treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00