Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads_termtbl.c252 struct mlx5_flow_act term_tbl_act = {}; in mlx5_eswitch_add_termtbl_rule() local
258 mlx5_eswitch_termtbl_actions_move(flow_act, &term_tbl_act); in mlx5_eswitch_add_termtbl_rule()
259 term_tbl_act.action |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in mlx5_eswitch_add_termtbl_rule()
269 term_tbl_act.action |= MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT; in mlx5_eswitch_add_termtbl_rule()
270 term_tbl_act.pkt_reformat = attr->dests[num_vport_dests].pkt_reformat; in mlx5_eswitch_add_termtbl_rule()
272 term_tbl_act.action &= ~MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT; in mlx5_eswitch_add_termtbl_rule()
273 term_tbl_act.pkt_reformat = NULL; in mlx5_eswitch_add_termtbl_rule()
277 tt = mlx5_eswitch_termtbl_get_create(esw, &term_tbl_act, in mlx5_eswitch_add_termtbl_rule()
310 mlx5_eswitch_termtbl_actions_move(&term_tbl_act, flow_act); in mlx5_eswitch_add_termtbl_rule()