Searched refs:tcam_region (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_mr_tcam.c | 95 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-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_mr_tcam.c | 95 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/ |
H A D | cudbg_lib.c | 183 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 in cudbg_get_le_type() 2832 cudbg_is_ipv6_entry(struct cudbg_tid_data *tid_data, struct cudbg_tcam tcam_region) cudbg_is_ipv6_entry() argument 2854 cudbg_fill_le_tcam_info(struct adapter *padap, struct cudbg_tcam *tcam_region) cudbg_fill_le_tcam_info() argument 2914 struct cudbg_tcam tcam_region = { 0 }; cudbg_collect_le_tcam() local [all...] |
H A D | cudbg_lib.h | 179 struct cudbg_tcam *tcam_region);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_lib.c | 183 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() 2792 static int cudbg_get_le_type(u32 tid, struct cudbg_tcam tcam_region) in cudbg_get_le_type() argument 2796 if (tid < tcam_region.server_start) in cudbg_get_le_type() 2798 else if (tid < tcam_region.filter_start) in cudbg_get_le_type() 2800 else if (tid < tcam_region.clip_start) in cudbg_get_le_type() 2802 else if (tid < tcam_region.routing_start) in cudbg_get_le_type() 2804 else if (tid < tcam_region.tid_hash_base) in cudbg_get_le_type() 2806 else if (tid < tcam_region in cudbg_get_le_type() 2814 cudbg_is_ipv6_entry(struct cudbg_tid_data *tid_data, struct cudbg_tcam tcam_region) cudbg_is_ipv6_entry() argument 2836 cudbg_fill_le_tcam_info(struct adapter *padap, struct cudbg_tcam *tcam_region) cudbg_fill_le_tcam_info() argument 2896 struct cudbg_tcam tcam_region = { 0 }; cudbg_collect_le_tcam() local [all...] |
H A D | cudbg_lib.h | 179 struct cudbg_tcam *tcam_region);
|
Completed in 11 milliseconds