Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmapping.h7 struct mapping_ctx;
9 int mapping_add(struct mapping_ctx *ctx, void *data, u32 *id);
10 int mapping_remove(struct mapping_ctx *ctx, u32 id);
11 int mapping_find(struct mapping_ctx *ctx, u32 id, void *data);
23 struct mapping_ctx *mapping_create(size_t data_size, u32 max_id,
25 void mapping_destroy(struct mapping_ctx *ctx);
29 struct mapping_ctx *
H A Dmapping.c17 struct mapping_ctx { struct
43 int mapping_add(struct mapping_ctx *ctx, void *data, u32 *id) in mapping_add() argument
92 static void mapping_free_item(struct mapping_ctx *ctx, in mapping_free_item()
109 int mapping_remove(struct mapping_ctx *ctx, u32 id) in mapping_remove()
165 struct mapping_ctx *ctx; in mapping_work_handler()
185 static void mapping_flush_work(struct mapping_ctx *ctx) in mapping_flush_work()
194 struct mapping_ctx *
197 struct mapping_ctx *ctx; in mapping_create()
222 struct mapping_ctx *
225 struct mapping_ctx *ctx; in mapping_create_for_id()
[all …]
H A Dtc_ct.c74 struct mapping_ctx *zone_mapping;
75 struct mapping_ctx *labels_mapping;
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h85 struct mapping_ctx *tunnel_mapping;
87 struct mapping_ctx *tunnel_enc_opts_mapping;
H A Den_tc.h390 struct mapping_ctx *mapping_ctx, u32 mapped_obj_id,
H A Den_tc.c98 struct mapping_ctx *mapping;
5137 struct mapping_ctx *chains_mapping; in mlx5e_tc_nic_init()
5292 struct mapping_ctx *mapping; in mlx5e_tc_esw_init()
5646 struct mapping_ctx *mapping_ctx, u32 mapped_obj_id, in mlx5e_tc_update_skb() argument
5655 err = mapping_find(mapping_ctx, mapped_obj_id, &mapped_obj); in mlx5e_tc_update_skb()
5687 struct mapping_ctx *mapping_ctx; in mlx5e_tc_update_skb_nic() local
5696 mapping_ctx = tc->mapping; in mlx5e_tc_update_skb_nic()
5702 static struct mapping_ctx *
5707 struct mapping_ctx *ctx; in mlx5e_get_priv_obj_mapping()
5725 struct mapping_ctx *ctx; in mlx5e_tc_action_miss_mapping_get()
[all …]
H A Deswitch.h276 struct mapping_ctx *reg_c0_obj_pool;
H A Deswitch_offloads.c3498 struct mapping_ctx *reg_c0_obj_pool; in esw_offloads_enable()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dint_port.c28 struct mapping_ctx *metadata_mapping; /* Metadata for source port rewrite and matching */
159 struct mapping_ctx *ctx; in mlx5e_int_port_add()
231 struct mapping_ctx *ctx; in mlx5e_int_port_remove()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.h25 struct mapping_ctx *mapping;
H A Dfs_chains.c31 struct mapping_ctx *chains_mapping;
787 struct mapping_ctx *ctx = chains->chains_mapping; in mlx5_chains_get_chain_mapping()
798 struct mapping_ctx *ctx = chains->chains_mapping; in mlx5_chains_put_chain_mapping()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.c694 struct mapping_ctx *mapping_ctx; in mlx5e_rep_tc_receive() local
709 mapping_ctx = esw->offloads.reg_c0_obj_pool; in mlx5e_rep_tc_receive()
730 if (!mlx5e_tc_update_skb(cqe, skb, mapping_ctx, reg_c0, ct_priv, in mlx5e_rep_tc_receive()