Searched refs:mapped_obj (Results 1 – 5 of 5) sorted by relevance
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_chains.c | 788 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 5577 chain = mapped_obj->type == MLX5_MAPPED_OBJ_CHAIN ? mapped_obj->chain : 0; in mlx5e_tc_restore_skb_tc_meta() 5579 mapped_obj->act_miss_cookie : 0; in mlx5e_tc_restore_skb_tc_meta() 5605 struct mlx5_mapped_obj *mapped_obj, in mlx5e_tc_restore_skb_sample() argument 5613 mlx5e_tc_sample_skb(skb, mapped_obj); in mlx5e_tc_restore_skb_sample() 5617 struct mlx5_mapped_obj *mapped_obj, in mlx5e_tc_restore_skb_int_port() argument 5652 struct mlx5_mapped_obj mapped_obj; in mlx5e_tc_update_skb() local 5663 switch (mapped_obj.type) { in mlx5e_tc_update_skb() 5723 struct mlx5_mapped_obj mapped_obj = {}; in mlx5e_tc_action_miss_mapping_get() local 5729 mapped_obj.type = MLX5_MAPPED_OBJ_ACT_MISS; in mlx5e_tc_action_miss_mapping_get() 5730 mapped_obj.act_miss_cookie = act_miss_cookie; in mlx5e_tc_action_miss_mapping_get() [all …]
|