Lines Matching refs:RES_MAC
296 case RES_MAC: return "RES_MAC"; in resource_str()
534 if (i == RES_MAC || i == RES_VLAN) in mlx4_init_resource_tracker()
582 case RES_MAC: in mlx4_init_resource_tracker()
630 if (i == RES_MAC || i == RES_VLAN) { in mlx4_init_resource_tracker()
867 case RES_MAC: in mlx4_resource_type_to_str()
1210 case RES_MAC: in alloc_tr()
1450 case RES_MAC: in remove_ok()
2011 &tracker->slave_list[slave].res_list[RES_MAC]; in mac_find_smac_ix_in_slave()
2028 &tracker->slave_list[slave].res_list[RES_MAC]; in mac_add_to_slave()
2039 if (mlx4_grant_resource(dev, slave, RES_MAC, 1, port)) in mac_add_to_slave()
2043 mlx4_release_resource(dev, slave, RES_MAC, 1, port); in mac_add_to_slave()
2051 &tracker->slave_list[slave].res_list[RES_MAC]); in mac_add_to_slave()
2061 &tracker->slave_list[slave].res_list[RES_MAC]; in mac_del_from_slave()
2068 mlx4_release_resource(dev, slave, RES_MAC, 1, port); in mac_del_from_slave()
2081 &tracker->slave_list[slave].res_list[RES_MAC]; in rem_slave_macs()
2090 mlx4_release_resource(dev, slave, RES_MAC, 1, res->port); in rem_slave_macs()
2329 case RES_MAC: in mlx4_ALLOC_RES_wrapper()
2643 case RES_MAC: in mlx4_FREE_RES_wrapper()
4375 struct list_head *rlist = &tracker->slave_list[slave].res_list[RES_MAC]; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()