diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2018-05-31 11:40:17 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-06-26 15:26:30 -0700 |
commit | aff2252a2ad3844ca47bf2f18af071101baace40 (patch) | |
tree | 99bb3eae181d130b0866bcc23610c4dd52f45df0 /drivers/net | |
parent | 733d3e5497070d05971352ca5087bac83c197c3d (diff) |
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: b5ca15ad7e61 ('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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions