Lines Matching refs:fs_matcher

1517 		      struct mlx5_ib_flow_matcher  *fs_matcher,  in _create_raw_flow_rule()  argument
1538 memcpy(spec->match_criteria, fs_matcher->matcher_mask.match_params, in _create_raw_flow_rule()
1539 fs_matcher->mask_len); in _create_raw_flow_rule()
1540 spec->match_criteria_enable = fs_matcher->match_criteria_enable; in _create_raw_flow_rule()
1563 static bool raw_fs_is_multicast(struct mlx5_ib_flow_matcher *fs_matcher, in raw_fs_is_multicast() argument
1571 if (!(fs_matcher->match_criteria_enable & in raw_fs_is_multicast()
1575 match_c = fs_matcher->matcher_mask.match_params; in raw_fs_is_multicast()
1604 struct mlx5_ib_dev *dev, struct mlx5_ib_flow_matcher *fs_matcher, in raw_fs_rule_add() argument
1615 if (fs_matcher->flow_type != MLX5_IB_FLOW_TYPE_NORMAL) in raw_fs_rule_add()
1618 if (fs_matcher->priority > MLX5_IB_FLOW_LAST_PRIO) in raw_fs_rule_add()
1625 mcast = raw_fs_is_multicast(fs_matcher, cmd_in); in raw_fs_rule_add()
1628 ft_prio = _get_flow_table(dev, fs_matcher->priority, in raw_fs_rule_add()
1629 fs_matcher->ns_type, mcast); in raw_fs_rule_add()
1661 fs_matcher, flow_context, flow_act, in raw_fs_rule_add()
1670 atomic_inc(&fs_matcher->usecnt); in raw_fs_rule_add()
1671 handler->flow_matcher = fs_matcher; in raw_fs_rule_add()
1793 struct mlx5_ib_flow_matcher *fs_matcher, int *dest_id, in get_dests() argument
1817 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS) { in get_dests()
1825 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB_BYPASS && in get_dests()
1830 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in get_dests()
1846 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB_BYPASS || in get_dests()
1847 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in get_dests()
1867 } else if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS || in get_dests()
1868 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_TX) && in get_dests()
1874 (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS || in get_dests()
1875 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_TX)) in get_dests()
1910 struct mlx5_ib_flow_matcher *fs_matcher; in UVERBS_HANDLER() local
1923 fs_matcher = uverbs_attr_get_obj(attrs, in UVERBS_HANDLER()
1928 if (get_dests(attrs, fs_matcher, &dest_id, &dest_type, &qp, &flags)) in UVERBS_HANDLER()
1998 raw_fs_rule_add(dev, fs_matcher, &flow_context, &flow_act, in UVERBS_HANDLER()