Searched refs:mapping_ctx (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | mapping.h | 7 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 D | mapping.c | 17 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 …]
|
H A D | tc_ct.c | 76 struct mapping_ctx *zone_mapping; 77 struct mapping_ctx *labels_mapping;
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.h | 85 struct mapping_ctx *tunnel_mapping; 87 struct mapping_ctx *tunnel_enc_opts_mapping;
|
H A D | en_tc.h | 389 struct mapping_ctx *mapping_ctx, u32 mapped_obj_id,
|
H A D | en_tc.c | 98 struct mapping_ctx *mapping; 5240 struct mapping_ctx *chains_mapping; in mlx5e_tc_nic_init() 5395 struct mapping_ctx *mapping; in mlx5e_tc_esw_init() 5757 struct mapping_ctx *mapping_ctx, u32 mapped_obj_id, in mlx5e_tc_update_skb() argument 5766 err = mapping_find(mapping_ctx, mapped_obj_id, &mapped_obj); in mlx5e_tc_update_skb() 5798 struct mapping_ctx *mapping_ctx; in mlx5e_tc_update_skb_nic() local 5807 mapping_ctx = tc->mapping; in mlx5e_tc_update_skb_nic() 5809 return mlx5e_tc_update_skb(cqe, skb, mapping_ctx, mapped_obj_id, ct_priv, zone_restore_id, in mlx5e_tc_update_skb_nic() 5813 static struct mapping_ctx * 5818 struct mapping_ctx *ctx; in mlx5e_get_priv_obj_mapping() [all …]
|
H A D | eswitch.h | 274 struct mapping_ctx *reg_c0_obj_pool;
|
H A D | eswitch_offloads.c | 3531 struct mapping_ctx *reg_c0_obj_pool; in esw_offloads_enable()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | int_port.c | 28 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/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | tc.c | 708 struct mapping_ctx *mapping_ctx; in mlx5e_rep_tc_receive() local 723 mapping_ctx = esw->offloads.reg_c0_obj_pool; in mlx5e_rep_tc_receive() 744 if (!mlx5e_tc_update_skb(cqe, skb, mapping_ctx, reg_c0, ct_priv, in mlx5e_rep_tc_receive()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_chains.h | 25 struct mapping_ctx *mapping;
|
H A D | fs_chains.c | 31 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()
|