Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c65 kfree(tc->tc_entries_bitmap); in otx2_tc_alloc_ent_bitmap()
67 tc->tc_entries_bitmap = in otx2_tc_alloc_ent_bitmap()
70 if (!tc->tc_entries_bitmap) { in otx2_tc_alloc_ent_bitmap()
666 clear_bit(flow_node->bitpos, tc_info->tc_entries_bitmap); in otx2_tc_del_flow()
685 if (bitmap_full(tc_info->tc_entries_bitmap, flow_cfg->max_flows)) { in otx2_tc_add_flow()
724 new_node->bitpos = find_first_zero_bit(tc_info->tc_entries_bitmap, in otx2_tc_add_flow()
751 set_bit(new_node->bitpos, tc_info->tc_entries_bitmap); in otx2_tc_add_flow()
1060 kfree(tc->tc_entries_bitmap); in otx2_shutdown_tc()
Dotx2_common.h304 unsigned long *tc_entries_bitmap; member