Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c465 if (test_bit(idx, t->hpftid_bmap)) in cxgb4_filter_prio_in_range()
469 next_ftid = find_next_bit(t->hpftid_bmap, t->nhpftids, idx); in cxgb4_filter_prio_in_range()
487 prev_ftid = find_last_bit(t->hpftid_bmap, idx); in cxgb4_filter_prio_in_range()
508 prev_ftid = find_last_bit(t->hpftid_bmap, t->nhpftids); in cxgb4_filter_prio_in_range()
619 bmap = t->hpftid_bmap; in cxgb4_get_free_ftid()
625 ftid = find_last_bit(t->hpftid_bmap, t->nhpftids); in cxgb4_get_free_ftid()
716 if (test_bit(fidx, t->hpftid_bmap)) { in cxgb4_set_hpftid()
722 __set_bit(fidx, t->hpftid_bmap); in cxgb4_set_hpftid()
724 bitmap_allocate_region(t->hpftid_bmap, fidx, 1); in cxgb4_set_hpftid()
750 __clear_bit(fidx, t->hpftid_bmap); in cxgb4_clear_hpftid()
[all …]
H A Dcxgb4_tc_u32.c381 i = find_next_bit(adapter->tids.hpftid_bmap, in cxgb4_delete_knode()
H A Dcxgb4_uld.h123 unsigned long *hpftid_bmap; member
H A Dcxgb4_main.c1867 t->hpftid_bmap = (unsigned long *)&t->hpftid_tab[t->nhpftids]; in tid_init()
1868 t->ftid_tab = (struct filter_entry *)&t->hpftid_bmap[hpftid_bmap_size]; in tid_init()
1905 bitmap_zero(t->hpftid_bmap, t->nhpftids); in tid_init()