Searched refs:mapped_obj (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | sample.h | 24 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
|
| H A D | int_port.c | 155 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()
|
| H A D | sample.c | 326 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/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | fs_chains.c | 794 struct mlx5_mapped_obj mapped_obj = {}; in mlx5_chains_get_chain_mapping() local 796 mapped_obj.type = MLX5_MAPPED_OBJ_CHAIN; in mlx5_chains_get_chain_mapping() 797 mapped_obj.chain = chain; in mlx5_chains_get_chain_mapping() 798 return mapping_add(ctx, &mapped_obj, chain_mapping); in mlx5_chains_get_chain_mapping()
|