Home
last modified time | relevance | path

Searched refs:tcam_region (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_mr_tcam.c95 struct mlxsw_sp1_mr_tcam_region *tcam_region; in mlxsw_sp1_mr_tcam_route_parman_item_add() local
98 tcam_region = mlxsw_sp1_mr_tcam_protocol_region(mr_tcam, key->proto); in mlxsw_sp1_mr_tcam_route_parman_item_add()
99 err = parman_item_add(tcam_region->parman, in mlxsw_sp1_mr_tcam_route_parman_item_add()
100 &tcam_region->parman_prios[prio], in mlxsw_sp1_mr_tcam_route_parman_item_add()
105 route->parman_prio = &tcam_region->parman_prios[prio]; in mlxsw_sp1_mr_tcam_route_parman_item_add()
114 struct mlxsw_sp1_mr_tcam_region *tcam_region; in mlxsw_sp1_mr_tcam_route_parman_item_remove() local
116 tcam_region = mlxsw_sp1_mr_tcam_protocol_region(mr_tcam, key->proto); in mlxsw_sp1_mr_tcam_route_parman_item_remove()
117 parman_item_remove(tcam_region->parman, in mlxsw_sp1_mr_tcam_route_parman_item_remove()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c183 struct cudbg_tcam tcam_region = { 0 }; in cudbg_get_entity_length() local
363 cudbg_fill_le_tcam_info(adap, &tcam_region); in cudbg_get_entity_length()
365 sizeof(struct cudbg_tid_data) * tcam_region.max_tid; in cudbg_get_entity_length()
2810 static int cudbg_get_le_type(u32 tid, struct cudbg_tcam tcam_region) in cudbg_get_le_type() argument
2814 if (tid < tcam_region.server_start) in cudbg_get_le_type()
2816 else if (tid < tcam_region.filter_start) in cudbg_get_le_type()
2818 else if (tid < tcam_region.clip_start) in cudbg_get_le_type()
2820 else if (tid < tcam_region.routing_start) in cudbg_get_le_type()
2822 else if (tid < tcam_region.tid_hash_base) in cudbg_get_le_type()
2824 else if (tid < tcam_region.max_tid) in cudbg_get_le_type()
[all …]
Dcudbg_lib.h179 struct cudbg_tcam *tcam_region);