Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.h24 void mlx5e_tc_sample_skb(struct sk_buff *skb, struct mlx5_mapped_obj *mapped_obj);
63 mlx5e_tc_sample_skb(struct sk_buff *skb, struct mlx5_mapped_obj *mapped_obj) {} in mlx5e_tc_sample_skb() argument
Dint_port.c155 struct mlx5_mapped_obj mapped_obj = {}; in mlx5e_int_port_add() local
183 mapped_obj.type = MLX5_MAPPED_OBJ_INT_PORT_METADATA; in mlx5e_int_port_add()
184 mapped_obj.int_port_metadata = match_metadata; in mlx5e_int_port_add()
185 err = mapping_add(ctx, &mapped_obj, &mapping); in mlx5e_int_port_add()
Dsample.c326 void mlx5e_tc_sample_skb(struct sk_buff *skb, struct mlx5_mapped_obj *mapped_obj) in mlx5e_tc_sample_skb() argument
328 u32 trunc_size = mapped_obj->sample.trunc_size; in mlx5e_tc_sample_skb()
334 psample_group.group_num = mapped_obj->sample.group_id; in mlx5e_tc_sample_skb()
338 psample_sample_packet(&psample_group, skb, mapped_obj->sample.rate, &md); in mlx5e_tc_sample_skb()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c788 struct mlx5_mapped_obj mapped_obj = {}; in mlx5_chains_get_chain_mapping() local
790 mapped_obj.type = MLX5_MAPPED_OBJ_CHAIN; in mlx5_chains_get_chain_mapping()
791 mapped_obj.chain = chain; in mlx5_chains_get_chain_mapping()
792 return mapping_add(ctx, &mapped_obj, chain_mapping); in mlx5_chains_get_chain_mapping()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c5680 struct mlx5_mapped_obj *mapped_obj, u32 zone_restore_id, in mlx5e_tc_restore_skb_tc_meta() argument
5688 chain = mapped_obj->type == MLX5_MAPPED_OBJ_CHAIN ? mapped_obj->chain : 0; in mlx5e_tc_restore_skb_tc_meta()
5689 act_miss_cookie = mapped_obj->type == MLX5_MAPPED_OBJ_ACT_MISS ? in mlx5e_tc_restore_skb_tc_meta()
5690 mapped_obj->act_miss_cookie : 0; in mlx5e_tc_restore_skb_tc_meta()
5716 struct mlx5_mapped_obj *mapped_obj, in mlx5e_tc_restore_skb_sample() argument
5719 if (!mlx5e_tc_restore_tunnel(priv, skb, tc_priv, mapped_obj->sample.tunnel_id)) { in mlx5e_tc_restore_skb_sample()
5724 mlx5e_tc_sample_skb(skb, mapped_obj); in mlx5e_tc_restore_skb_sample()
5728 struct mlx5_mapped_obj *mapped_obj, in mlx5e_tc_restore_skb_int_port() argument
5745 mapped_obj->int_port_metadata, &forward_tx)) { in mlx5e_tc_restore_skb_int_port()
5763 struct mlx5_mapped_obj mapped_obj; in mlx5e_tc_update_skb() local
[all …]