Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c2378 static int cudbg_get_le_type(u32 tid, struct cudbg_tcam tcam_region) in cudbg_get_le_type() argument
2382 if (tid < tcam_region.server_start) in cudbg_get_le_type()
2384 else if (tid < tcam_region.filter_start) in cudbg_get_le_type()
2386 else if (tid < tcam_region.clip_start) in cudbg_get_le_type()
2388 else if (tid < tcam_region.routing_start) in cudbg_get_le_type()
2390 else if (tid < tcam_region.tid_hash_base) in cudbg_get_le_type()
2392 else if (tid < tcam_region.max_tid) in cudbg_get_le_type()
2401 struct cudbg_tcam tcam_region) in cudbg_is_ipv6_entry() argument
2406 le_type = cudbg_get_le_type(tid_data->tid, tcam_region); in cudbg_is_ipv6_entry()
2423 struct cudbg_tcam *tcam_region) in cudbg_fill_le_tcam_info() argument
[all …]
Dcxgb4_cudbg.c71 struct cudbg_tcam tcam_region = { 0 }; in cxgb4_get_entity_length() local
251 cudbg_fill_le_tcam_info(adap, &tcam_region); in cxgb4_get_entity_length()
253 sizeof(struct cudbg_tid_data) * tcam_region.max_tid; in cxgb4_get_entity_length()
Dcudbg_lib.h175 struct cudbg_tcam *tcam_region);