Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
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 *
Dmapping.c17 struct mapping_ctx { struct
43 int mapping_add(struct mapping_ctx *ctx, void *data, u32 *id) in mapping_add() argument
85 static void mapping_remove_and_free(struct mapping_ctx *ctx, in mapping_remove_and_free()
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()
132 int mapping_find(struct mapping_ctx *ctx, u32 id, void *data) in mapping_find()
152 mapping_remove_and_free_list(struct mapping_ctx *ctx, struct list_head *list) in mapping_remove_and_free_list()
165 struct mapping_ctx *ctx; in mapping_work_handler()
167 ctx = container_of(work, struct mapping_ctx, dwork.work); in mapping_work_handler()
185 static void mapping_flush_work(struct mapping_ctx *ctx) in mapping_flush_work()
[all …]
Dtc_ct.c72 struct mapping_ctx *zone_mapping;
73 struct mapping_ctx *labels_mapping;
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h85 struct mapping_ctx *tunnel_mapping;
87 struct mapping_ctx *tunnel_enc_opts_mapping;
Deswitch.h243 struct mapping_ctx *reg_c0_obj_pool;
Den_tc.c95 struct mapping_ctx *mapping;
4959 struct mapping_ctx *chains_mapping; in mlx5e_tc_nic_init()
5096 struct mapping_ctx *mapping; in mlx5e_tc_esw_init()
Deswitch_offloads.c3313 struct mapping_ctx *reg_c0_obj_pool; in esw_offloads_enable()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.h24 struct mapping_ctx *mapping;
Dfs_chains.c33 struct mapping_ctx *chains_mapping;
796 struct mapping_ctx *ctx = chains->chains_mapping; in mlx5_chains_get_chain_mapping()
807 struct mapping_ctx *ctx = chains->chains_mapping; in mlx5_chains_put_chain_mapping()