Home
last modified time | relevance | path

Searched refs:fs_matcher (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dflow.c73 struct mlx5_ib_flow_matcher *fs_matcher; in UVERBS_HANDLER() local
97 fs_matcher = uverbs_attr_get_obj(attrs, in UVERBS_HANDLER()
99 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS && in UVERBS_HANDLER()
104 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB && !dest_devx) in UVERBS_HANDLER()
108 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in UVERBS_HANDLER()
124 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB || in UVERBS_HANDLER()
125 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in UVERBS_HANDLER()
160 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS) in UVERBS_HANDLER()
195 flow_handler = mlx5_ib_raw_fs_rule_add(dev, fs_matcher, in UVERBS_HANDLER()
Dmain.c3934 struct mlx5_ib_flow_matcher *fs_matcher, in _get_flow_table() argument
3947 priority = ib_prio_to_core_prio(fs_matcher->priority, false); in _get_flow_table()
3951 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS) { in _get_flow_table()
3960 } else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS) { in _get_flow_table()
3965 } else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB) { in _get_flow_table()
3974 } else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) { in _get_flow_table()
3978 priority = fs_matcher->priority; in _get_flow_table()
3983 ns = mlx5_get_flow_namespace(dev->mdev, fs_matcher->ns_type); in _get_flow_table()
3987 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS) in _get_flow_table()
3989 else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS) in _get_flow_table()
[all …]
Dmlx5_ib.h1347 struct mlx5_ib_dev *dev, struct mlx5_ib_flow_matcher *fs_matcher,