Home
last modified time | relevance | path

Searched refs:tc_entries_bitmap (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c71 kfree(tc->tc_entries_bitmap); in otx2_tc_alloc_ent_bitmap()
73 tc->tc_entries_bitmap = in otx2_tc_alloc_ent_bitmap()
76 if (!tc->tc_entries_bitmap) { in otx2_tc_alloc_ent_bitmap()
749 clear_bit(flow_node->bitpos, tc_info->tc_entries_bitmap); in otx2_tc_del_flow()
768 if (bitmap_full(tc_info->tc_entries_bitmap, flow_cfg->max_flows)) { in otx2_tc_add_flow()
807 new_node->bitpos = find_first_zero_bit(tc_info->tc_entries_bitmap, in otx2_tc_add_flow()
834 set_bit(new_node->bitpos, tc_info->tc_entries_bitmap); in otx2_tc_add_flow()
1139 kfree(tc->tc_entries_bitmap); in otx2_init_tc()
1140 tc->tc_entries_bitmap = NULL; in otx2_init_tc()
1150 kfree(tc->tc_entries_bitmap); in otx2_shutdown_tc()
Dotx2_common.h346 unsigned long *tc_entries_bitmap; member