Home
last modified time | relevance | path

Searched refs:nhpftids (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c375 adapter->tids.nhpftids - 1)) && in get_filter_count()
376 fidx >= (adapter->tids.nftids + adapter->tids.nhpftids)) in get_filter_count()
379 if (fidx < adapter->tids.nhpftids) in get_filter_count()
383 adapter->tids.nhpftids]; in get_filter_count()
461 if (idx < t->nhpftids) { in cxgb4_filter_prio_in_range()
469 next_ftid = find_next_bit(t->hpftid_bmap, t->nhpftids, idx); in cxgb4_filter_prio_in_range()
470 if (next_ftid >= t->nhpftids) { in cxgb4_filter_prio_in_range()
493 idx -= t->nhpftids; in cxgb4_filter_prio_in_range()
508 prev_ftid = find_last_bit(t->hpftid_bmap, t->nhpftids); in cxgb4_filter_prio_in_range()
509 if (prev_ftid >= t->nhpftids) in cxgb4_filter_prio_in_range()
[all …]
Dcxgb4_tc_u32.c200 if (filter_id < adapter->tids.nhpftids) in cxgb4_config_knode()
368 max_tids = adapter->tids.nhpftids + adapter->tids.nftids; in cxgb4_delete_knode()
373 if (filter_id < adapter->tids.nhpftids) { in cxgb4_delete_knode()
382 adapter->tids.nhpftids, i + 1); in cxgb4_delete_knode()
383 if (i >= adapter->tids.nhpftids) { in cxgb4_delete_knode()
384 filter_id = adapter->tids.nhpftids; in cxgb4_delete_knode()
390 i = filter_id - adapter->tids.nhpftids; in cxgb4_delete_knode()
402 filter_id = i + adapter->tids.nhpftids; in cxgb4_delete_knode()
497 unsigned int max_tids = adap->tids.nftids + adap->tids.nhpftids; in cxgb4_init_tc_u32()
Dcudbg_entity.h181 u32 nhpftids; member
Dcxgb4_ethtool.c1628 if (ftid >= t->hpftid_base && ftid < t->hpftid_base + t->nhpftids) in cxgb4_get_filter_entry()
1844 filter_id -= (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_del_filter()
1908 tid += (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_set_filter()
2243 nentries = tids->nhpftids + tids->nftids; in cxgb4_init_ethtool_filters()
Dcxgb4_uld.h124 unsigned int nhpftids; member
Dcxgb4_tc_matchall.c278 if (fidx < adap->tids.nhpftids) in cxgb4_matchall_add_filter()
Dcxgb4_main.c1846 hpftid_bmap_size = BITS_TO_LONGS(t->nhpftids); in tid_init()
1853 t->nhpftids * sizeof(*t->hpftid_tab) + in tid_init()
1868 t->hpftid_bmap = (unsigned long *)&t->hpftid_tab[t->nhpftids]; in tid_init()
1905 if (t->nhpftids) in tid_init()
1906 bitmap_zero(t->hpftid_bmap, t->nhpftids); in tid_init()
5005 adap->tids.nhpftids = val[1] - val[0] + 1; in adap_init0()
Dcxgb4_tc_flower.c888 if (fidx < adap->tids.nhpftids) { in cxgb4_flow_rule_replace()
Dcxgb4_debugfs.c3381 if (t->nhpftids) in tid_info_show()
3383 t->hpftid_base + t->nhpftids - 1); in tid_info_show()
Dcudbg_lib.c2184 tid->nhpftids = val[1] - val[0] + 1; in cudbg_collect_tid()