Lines Matching refs:RES_MAC
296 case RES_MAC: return "RES_MAC"; in resource_str()
532 if (i == RES_MAC || i == RES_VLAN) in mlx4_init_resource_tracker()
580 case RES_MAC: in mlx4_init_resource_tracker()
628 if (i == RES_MAC || i == RES_VLAN) { in mlx4_init_resource_tracker()
865 case RES_MAC: in mlx4_resource_type_to_str()
1208 case RES_MAC: in alloc_tr()
1448 case RES_MAC: in remove_ok()
2009 &tracker->slave_list[slave].res_list[RES_MAC]; in mac_find_smac_ix_in_slave()
2026 &tracker->slave_list[slave].res_list[RES_MAC]; in mac_add_to_slave()
2037 if (mlx4_grant_resource(dev, slave, RES_MAC, 1, port)) in mac_add_to_slave()
2041 mlx4_release_resource(dev, slave, RES_MAC, 1, port); in mac_add_to_slave()
2049 &tracker->slave_list[slave].res_list[RES_MAC]); in mac_add_to_slave()
2059 &tracker->slave_list[slave].res_list[RES_MAC]; in mac_del_from_slave()
2066 mlx4_release_resource(dev, slave, RES_MAC, 1, port); in mac_del_from_slave()
2079 &tracker->slave_list[slave].res_list[RES_MAC]; in rem_slave_macs()
2088 mlx4_release_resource(dev, slave, RES_MAC, 1, res->port); in rem_slave_macs()
2327 case RES_MAC: in mlx4_ALLOC_RES_wrapper()
2641 case RES_MAC: in mlx4_FREE_RES_wrapper()
4372 struct list_head *rlist = &tracker->slave_list[slave].res_list[RES_MAC]; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()