Lines Matching refs:ft_prio

3518 						      struct mlx5_ib_flow_prio *ft_prio,  in _create_flow_rule()  argument
3524 struct mlx5_flow_table *ft = ft_prio->flow_table; in _create_flow_rule()
3637 ft_prio->refcount++; in _create_flow_rule()
3638 handler->prio = ft_prio; in _create_flow_rule()
3641 ft_prio->flow_table = ft; in _create_flow_rule()
3654 struct mlx5_ib_flow_prio *ft_prio, in create_flow_rule() argument
3658 return _create_flow_rule(dev, ft_prio, flow_attr, dst, 0, NULL); in create_flow_rule()
3662 struct mlx5_ib_flow_prio *ft_prio, in create_dont_trap_rule() argument
3669 handler = create_flow_rule(dev, ft_prio, flow_attr, NULL); in create_dont_trap_rule()
3671 handler_dst = create_flow_rule(dev, ft_prio, in create_dont_trap_rule()
3675 ft_prio->refcount--; in create_dont_trap_rule()
3691 struct mlx5_ib_flow_prio *ft_prio, in create_leftovers_rule() argument
3728 handler = create_flow_rule(dev, ft_prio, in create_leftovers_rule()
3733 handler_ucast = create_flow_rule(dev, ft_prio, in create_leftovers_rule()
3738 ft_prio->refcount--; in create_leftovers_rule()
3796 struct mlx5_ib_flow_prio *ft_prio; in mlx5_ib_create_flow() local
3862 ft_prio = get_flow_table(dev, flow_attr, in mlx5_ib_create_flow()
3864 if (IS_ERR(ft_prio)) { in mlx5_ib_create_flow()
3865 err = PTR_ERR(ft_prio); in mlx5_ib_create_flow()
3889 handler = create_dont_trap_rule(dev, ft_prio, in mlx5_ib_create_flow()
3894 handler = _create_flow_rule(dev, ft_prio, flow_attr, in mlx5_ib_create_flow()
3899 handler = create_leftovers_rule(dev, ft_prio, flow_attr, in mlx5_ib_create_flow()
3902 handler = create_sniffer_rule(dev, ft_prio, ft_prio_tx, dst); in mlx5_ib_create_flow()
3921 put_flow_table(dev, ft_prio, false); in mlx5_ib_create_flow()
4008 struct mlx5_ib_flow_prio *ft_prio, in _create_raw_flow_rule() argument
4018 struct mlx5_flow_table *ft = ft_prio->flow_table; in _create_raw_flow_rule()
4044 ft_prio->refcount++; in _create_raw_flow_rule()
4045 handler->prio = ft_prio; in _create_raw_flow_rule()
4047 ft_prio->flow_table = ft; in _create_raw_flow_rule()
4106 struct mlx5_ib_flow_prio *ft_prio; in mlx5_ib_raw_fs_rule_add() local
4125 ft_prio = _get_flow_table(dev, fs_matcher, mcast); in mlx5_ib_raw_fs_rule_add()
4126 if (IS_ERR(ft_prio)) { in mlx5_ib_raw_fs_rule_add()
4127 err = PTR_ERR(ft_prio); in mlx5_ib_raw_fs_rule_add()
4152 handler = _create_raw_flow_rule(dev, ft_prio, dst, fs_matcher, in mlx5_ib_raw_fs_rule_add()
4170 put_flow_table(dev, ft_prio, false); in mlx5_ib_raw_fs_rule_add()