Lines Matching refs:prio

628 			   struct mlx5_ib_flow_prio *prio, bool ft_added)
630 prio->refcount -= !!ft_added;
631 if (!prio->refcount) {
632 mlx5_destroy_flow_table(prio->flow_table);
633 prio->flow_table = NULL;
649 put_flow_table(dev, iter->prio, true);
655 put_flow_table(dev, handler->prio, true);
690 struct mlx5_ib_flow_prio *prio,
698 ft_attr.prio = priority;
706 prio->flow_table = ft;
707 prio->refcount = 0;
708 return prio;
718 struct mlx5_ib_flow_prio *prio;
740 prio = &dev->flow_db->prios[priority];
752 prio = &dev->flow_db->egress_prios[priority];
766 prio = &dev->flow_db->prios[MLX5_IB_FLOW_LEFTOVERS_PRIO];
778 prio = &dev->flow_db->sniffer[ft_type];
792 ft = prio->flow_table;
794 return _get_prio(dev, ns, prio, priority, max_table_size,
797 return prio;
879 struct mlx5_ib_flow_prio *prio;
935 prio = &dev->flow_db->opfcs[type];
936 if (!prio->flow_table) {
937 prio = _get_prio(dev, ns, prio, priority,
939 if (IS_ERR(prio)) {
940 err = PTR_ERR(prio);
952 opfc->rule[i] = mlx5_add_flow_rules(prio->flow_table, &spec[i],
959 prio->refcount += spec_num;
967 put_flow_table(dev, prio, false);
1152 handler->prio = ft_prio;
1422 struct mlx5_ib_flow_prio *prio = NULL;
1486 prio = &dev->flow_db->prios[priority];
1489 prio = &dev->flow_db->egress_prios[priority];
1492 prio = &dev->flow_db->fdb[priority];
1495 prio = &dev->flow_db->rdma_rx[priority];
1498 prio = &dev->flow_db->rdma_tx[priority];
1503 if (!prio)
1506 if (prio->flow_table)
1507 return prio;
1509 return _get_prio(dev, ns, prio, priority, max_table_size,
1552 handler->prio = ft_prio;
2043 ft_attr.prio = 0;
2277 static void fs_cleanup_anchor(struct mlx5_ib_flow_prio *prio,
2281 mlx5_steering_anchor_destroy_res(&prio[count]);