Home
last modified time | relevance | path

Searched refs:reg_c0_obj_pool (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c562 err = mapping_add(esw->offloads.reg_c0_obj_pool, &restore_obj, &obj_id); in mlx5e_tc_sample_offload()
613 mapping_remove(esw->offloads.reg_c0_obj_pool, obj_id); in mlx5e_tc_sample_offload()
659 mapping_remove(esw->offloads.reg_c0_obj_pool, attr->sample_attr->restore_obj_id); in mlx5e_tc_sample_unoffload()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c1514 attr.mapping = esw->offloads.reg_c0_obj_pool; in esw_chains_create()
3134 struct mapping_ctx *reg_c0_obj_pool; in esw_offloads_enable() local
3157 reg_c0_obj_pool = mapping_create_for_id(mapping_id, MAPPING_TYPE_CHAIN, in esw_offloads_enable()
3162 if (IS_ERR(reg_c0_obj_pool)) { in esw_offloads_enable()
3163 err = PTR_ERR(reg_c0_obj_pool); in esw_offloads_enable()
3166 esw->offloads.reg_c0_obj_pool = reg_c0_obj_pool; in esw_offloads_enable()
3194 mapping_destroy(reg_c0_obj_pool); in esw_offloads_enable()
3233 mapping_destroy(esw->offloads.reg_c0_obj_pool); in esw_offloads_disable()
Deswitch.h236 struct mapping_ctx *reg_c0_obj_pool; member
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c675 err = mapping_find(esw->offloads.reg_c0_obj_pool, reg_c0, &mapped_obj); in mlx5e_rep_tc_update_skb()