Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads_termtbl.c41 mlx5_eswitch_termtbl_cmp(struct mlx5_flow_act *flow_act1, in mlx5_eswitch_termtbl_cmp() argument
48 ret = flow_act1->action != flow_act2->action || in mlx5_eswitch_termtbl_cmp()
51 memcmp(&flow_act1->vlan, &flow_act2->vlan, in mlx5_eswitch_termtbl_cmp()
52 sizeof(flow_act1->vlan)); in mlx5_eswitch_termtbl_cmp()
56 if (flow_act1->pkt_reformat && flow_act2->pkt_reformat) in mlx5_eswitch_termtbl_cmp()
57 return memcmp(flow_act1->pkt_reformat, flow_act2->pkt_reformat, in mlx5_eswitch_termtbl_cmp()
58 sizeof(*flow_act1->pkt_reformat)); in mlx5_eswitch_termtbl_cmp()
60 return !(flow_act1->pkt_reformat == flow_act2->pkt_reformat); in mlx5_eswitch_termtbl_cmp()