Home
last modified time | relevance | path

Searched refs:flow_source (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dbwc.c461 u32 flow_source, in mlx5hws_bwc_rule_fill_attr() argument
476 rule_attr->flow_source = flow_source; in mlx5hws_bwc_rule_fill_attr()
1027 u32 flow_source, in mlx5hws_bwc_rule_create_simple() argument
1037 mlx5hws_bwc_rule_fill_attr(bwc_matcher, bwc_queue_idx, flow_source, &rule_attr); in mlx5hws_bwc_rule_create_simple()
1129 u32 flow_source, in mlx5hws_bwc_rule_create() argument
1146 bwc_rule->flow_source = flow_source; in mlx5hws_bwc_rule_create()
1147 mlx5hws_rule_skip(bwc_matcher->matcher, flow_source, in mlx5hws_bwc_rule_create()
1155 flow_source, in mlx5hws_bwc_rule_create()
1162 flow_source, in mlx5hws_bwc_rule_create()
1185 mlx5hws_bwc_rule_fill_attr(bwc_matcher, idx, bwc_rule->flow_source, in hws_bwc_rule_action_update()
H A Drule.h72 void mlx5hws_rule_skip(struct mlx5hws_matcher *matcher, u32 flow_source,
H A Dmlx5hws.h141 u32 flow_source; member
918 u32 flow_source,
H A Drule.c6 void mlx5hws_rule_skip(struct mlx5hws_matcher *matcher, u32 flow_source, in mlx5hws_rule_skip() argument
13 if (flow_source == MLX5_FLOW_CONTEXT_FLOW_SOURCE_LOCAL_VPORT) { in mlx5hws_rule_skip()
18 if (flow_source == MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK) { in mlx5hws_rule_skip()
68 mlx5hws_rule_skip(matcher, attr->flow_source, in hws_rule_init_dep_wqe()
H A Dcmd.h27 u8 flow_source; member
H A Dcmd.c207 MLX5_SET(flow_context, in_flow_context, flow_source, fte_attr->flow_source); in mlx5hws_cmd_set_fte()
H A Dfs_hws.c1088 fte->act_dests.flow_context.flow_source, in mlx5_cmd_hws_create_fte()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dsmfs.c53 u32 flow_source) in mlx5_smfs_rule_create() argument
60 return mlx5dr_rule_create(matcher, &value, num_actions, actions, flow_source); in mlx5_smfs_rule_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_fw.c108 u32 flow_source) in mlx5dr_fw_create_md_tbl() argument
143 fte_info.flow_context.flow_source = flow_source; in mlx5dr_fw_create_md_tbl()
H A Ddr_rule.c1088 u32 flow_source) in dr_rule_skip() argument
1103 if (rx && flow_source == MLX5_FLOW_CONTEXT_FLOW_SOURCE_LOCAL_VPORT) in dr_rule_skip()
1106 if (!rx && flow_source == MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK) in dr_rule_skip()
1138 rule->flow_source)) in dr_rule_create_rule_nic()
1291 u32 flow_source) in dr_rule_create_rule() argument
1306 rule->flow_source = flow_source; in dr_rule_create_rule()
1354 u32 flow_source) in mlx5dr_rule_create() argument
1360 rule = dr_rule_create_rule(matcher, value, num_actions, actions, flow_source); in mlx5dr_rule_create()
H A Dmlx5dr.h76 u32 flow_source);
103 u32 flow_source);
H A Dfs_dr.c577 u32 flow_source = fte->act_dests.flow_context.flow_source; in mlx5_cmd_dr_create_fte() local
588 flow_source); in mlx5_cmd_dr_create_fte()
601 fte->act_dests.flow_context.flow_source); in mlx5_cmd_dr_create_fte()
H A Ddr_types.h1162 u32 flow_source; member
1565 u32 flow_source);
H A Ddr_action.c1178 u32 flow_source) in mlx5dr_action_create_mult_dest_tbl() argument
1272 flow_source); in mlx5dr_action_create_mult_dest_tbl()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads_termtbl.c202 if (MLX5_CAP_ESW_FLOWTABLE(esw->dev, flow_source)) in mlx5_eswitch_offload_is_uplink_port()
203 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
H A Dfs_cmd.c595 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte()
596 fte->act_dests.flow_context.flow_source); in mlx5_cmd_set_fte()
H A Deswitch_offloads.c88 if (!MLX5_CAP_ESW_FLOWTABLE(esw->dev, flow_source) || !attr || !attr->in_rep) in mlx5_eswitch_set_rule_flow_source()
92 spec->flow_context.flow_source = mlx5e_tc_int_port_get_flow_source(attr->int_port); in mlx5_eswitch_set_rule_flow_source()
97 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source()
1013 if (MLX5_CAP_ESW_FLOWTABLE(on_esw->dev, flow_source) && in mlx5_eswitch_add_send_to_vport_rule()
1015 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_LOCAL_VPORT; in mlx5_eswitch_add_send_to_vport_rule()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_smfs.c265 spec->flow_context.flow_source); in mlx5_ct_fs_smfs_ct_rule_add()
313 ARRAY_SIZE(actions), actions, spec->flow_context.flow_source); in mlx5_ct_fs_smfs_ct_rule_update()
H A Dct_fs_hmfs.c229 spec->flow_context.flow_source, rule_actions); in mlx5_ct_fs_hmfs_ct_rule_add()
/linux/include/linux/mlx5/
H A Dfs.h166 u32 flow_source; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c229 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in rx_add_rule_drop_auth_trailer()
307 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in rx_add_rule_drop_replay()
378 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in ipsec_rx_status_drop_all_create()
470 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in ipsec_rx_status_pass_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge.c760 if (MLX5_CAP_ESW_FLOWTABLE(bridge->br_offloads->esw->dev, flow_source) && in mlx5_esw_bridge_egress_flow_create()
762 rule_spec->flow_context.flow_source = in mlx5_esw_bridge_egress_flow_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c497 if (dev && MLX5_CAP_ESW_FLOWTABLE(ct_priv->dev, flow_source)) in mlx5_tc_ct_set_tuple_match()
498 spec->flow_context.flow_source = in mlx5_tc_ct_set_tuple_match()