Searched refs:ESW_ALLOWED (Results 1 – 1 of 1) sorted by relevance
1835 #define ESW_ALLOWED(esw) ((esw) && MLX5_ESWITCH_MANAGER((esw)->dev)) macro1878 if (!ESW_ALLOWED(esw) || in mlx5_eswitch_enable()1930 if (!ESW_ALLOWED(esw) || esw->mode == MLX5_ESWITCH_NONE) in mlx5_eswitch_disable()2099 if (!ESW_ALLOWED(esw)) in mlx5_eswitch_set_vport_state()2154 if (!ESW_ALLOWED(esw)) in __mlx5_eswitch_set_vport_vlan()2200 if (!ESW_ALLOWED(esw)) in mlx5_eswitch_set_vport_spoofchk()2304 if (!ESW_ALLOWED(esw)) in mlx5_eswitch_set_vepa()2327 if (!ESW_ALLOWED(esw)) in mlx5_eswitch_get_vepa()2348 if (!ESW_ALLOWED(esw)) in mlx5_eswitch_set_vport_trust()2425 if (!ESW_ALLOWED(esw)) in mlx5_eswitch_set_vport_rate()[all …]