/freebsd/sys/dev/mlx5/mlx5_accel/ |
H A D | mlx5_ipsec_fs.c | 308 struct mlx5_flow_act flow_act = {}; in ipsec_miss_create() local 332 flow_act.action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in ipsec_miss_create() 334 flow_act.action = MLX5_FLOW_CONTEXT_ACTION_DROP; in ipsec_miss_create() 336 miss->rule = mlx5_add_flow_rules(ft, NULL, &flow_act, dest, 1); in ipsec_miss_create() 351 struct mlx5_flow_act *flow_act) in setup_modify_header() argument 384 flow_act->modify_hdr = modify_hdr; in setup_modify_header() 385 flow_act->action |= MLX5_FLOW_CONTEXT_ACTION_MOD_HDR; in setup_modify_header() 440 struct mlx5_flow_act *flow_act) in setup_pkt_reformat() argument 467 flow_act->pkt_reformat = pkt_reformat; in setup_pkt_reformat() 468 flow_act->action |= MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT; in setup_pkt_reformat() [all …]
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_cmd.c | 169 mlx5_cmd_fs_set_fte(struct mlx5_core_dev * dev,u16 vport,enum fs_fte_status * fte_status,u32 * match_val,enum fs_ft_type type,unsigned int table_id,unsigned int index,unsigned int group_id,struct mlx5_flow_act * flow_act,u32 sw_action,int dest_size,struct list_head * dests) mlx5_cmd_fs_set_fte() argument
|
H A D | mlx5_fs_core.c | 728 struct mlx5_flow_act *flow_act) in alloc_fte() argument 739 fte->action = *flow_act; in alloc_fte() 904 struct mlx5_flow_act *flow_act) in find_next_fwd_ft() argument 909 next_ns = flow_act->action & MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_NS; in find_next_fwd_ft() 1648 const struct mlx5_flow_act *flow_act) in check_conflicting_ftes() argument 1650 if (check_conflicting_actions(flow_act, &fte->action)) { in check_conflicting_ftes() 1670 struct mlx5_flow_act *flow_act, in add_rule_fg() argument 1680 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg() 1685 fte->action.action |= flow_act->action; in add_rule_fg() 1687 old_action != flow_act->action); in add_rule_fg() [all …]
|
H A D | mlx5_fs_tcp.c | 101 struct mlx5_flow_act flow_act = {}; in mlx5e_accel_fs_add_inpcb() local 162 flow_act.action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in mlx5e_accel_fs_add_inpcb() 164 flow = mlx5_add_flow_rules(ft->t, spec, &flow_act, &dest, 1); in mlx5e_accel_fs_add_inpcb() 177 struct mlx5_flow_act flow_act = { in accel_fs_tcp_add_default_rule() local 198 rule = mlx5_add_flow_rules(fs_tcp->tables[type].t, &spec, &flow_act, in accel_fs_tcp_add_default_rule()
|
H A D | mlx5_eswitch.c | 223 struct mlx5_flow_act flow_act = {}; in esw_fdb_set_vport_rule() local 249 flow_act.action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in esw_fdb_set_vport_rule() 252 &flow_act, &dest, 1); in esw_fdb_set_vport_rule() 788 struct mlx5_flow_act flow_act = {}; in esw_vport_ingress_config() local 818 flow_act.action = MLX5_FLOW_CONTEXT_ACTION_DROP; in esw_vport_ingress_config() 822 &flow_act, NULL, 0); in esw_vport_ingress_config() 836 struct mlx5_flow_act flow_act = {}; in esw_vport_egress_config() local 870 flow_act.action = MLX5_FLOW_CONTEXT_ACTION_ALLOW; in esw_vport_egress_config() 874 &flow_act, NULL, 0); in esw_vport_egress_config() 882 flow_act.action = MLX5_FLOW_CONTEXT_ACTION_DROP; in esw_vport_egress_config() [all …]
|
H A D | mlx5_fs_tree.c |
|
H A D | fs_core.h | 83 struct mlx5_flow_act flow_act; global() member
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_flow_table.c | 265 struct mlx5_flow_act flow_act = { in mlx5e_add_eth_addr_rule_sub() local 303 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub() 317 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub() 327 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub() 340 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub() 350 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub() 362 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub() 372 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub() 384 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub() 394 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub() [all …]
|
/freebsd/sys/dev/mlx5/ |
H A D | fs.h | 312 struct mlx5_flow_act *flow_act,
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 2186 struct mlx5_flow_act flow_act = {}; in create_flow_rule() local 2217 flow_act.action = action; in create_flow_rule() 2218 handler->rule = mlx5_add_flow_rules(ft, spec, &flow_act, dst, 1); in create_flow_rule()
|