Searched refs:LEGAL_VPORT (Results 1 – 1 of 1) sorted by relevance
1183 #define LEGAL_VPORT(esw, vport) (vport >= 0 && vport < esw->total_vports) macro1205 if (!LEGAL_VPORT(esw, vport)) in mlx5_eswitch_set_vport_mac()1233 if (!LEGAL_VPORT(esw, vport)) in mlx5_eswitch_set_vport_state()1249 if (!LEGAL_VPORT(esw, vport)) in mlx5_eswitch_get_vport_config()1276 if (!LEGAL_VPORT(esw, vport) || (vlan > 4095) || (qos > 7)) in mlx5_eswitch_set_vport_vlan()