Lines Matching refs:RES_VLAN
297 case RES_VLAN: return "RES_VLAN"; in resource_str()
534 if (i == RES_MAC || i == RES_VLAN) in mlx4_init_resource_tracker()
610 case RES_VLAN: in mlx4_init_resource_tracker()
630 if (i == RES_MAC || i == RES_VLAN) { in mlx4_init_resource_tracker()
869 case RES_VLAN: in mlx4_resource_type_to_str()
2135 &tracker->slave_list[slave].res_list[RES_VLAN]; in vlan_add_to_slave()
2146 if (mlx4_grant_resource(dev, slave, RES_VLAN, 1, port)) in vlan_add_to_slave()
2150 mlx4_release_resource(dev, slave, RES_VLAN, 1, port); in vlan_add_to_slave()
2158 &tracker->slave_list[slave].res_list[RES_VLAN]); in vlan_add_to_slave()
2169 &tracker->slave_list[slave].res_list[RES_VLAN]; in vlan_del_from_slave()
2176 mlx4_release_resource(dev, slave, RES_VLAN, in vlan_del_from_slave()
2190 &tracker->slave_list[slave].res_list[RES_VLAN]; in rem_slave_vlans()
2199 mlx4_release_resource(dev, slave, RES_VLAN, 1, res->port); in rem_slave_vlans()
2335 case RES_VLAN: in mlx4_ALLOC_RES_wrapper()
2649 case RES_VLAN: in mlx4_FREE_RES_wrapper()