Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
H A 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 …]
H A Dcudbg_entity.h181 u32 nhpftids; member
H A Dcxgb4_ethtool.c1633 if (ftid >= t->hpftid_base && ftid < t->hpftid_base + t->nhpftids) in cxgb4_get_filter_entry()
1849 filter_id -= (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_del_filter()
1913 tid += (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_set_filter()
2257 nentries = tids->nhpftids + tids->nftids; in cxgb4_init_ethtool_filters()
H A Dcxgb4_uld.h124 unsigned int nhpftids; member
H A Dcxgb4_tc_matchall.c326 if (fidx < adap->tids.nhpftids) in cxgb4_matchall_add_filter()
H A Dcxgb4_main.c1845 hpftid_bmap_size = BITS_TO_LONGS(t->nhpftids); in tid_init()
1852 t->nhpftids * sizeof(*t->hpftid_tab) + in tid_init()
1867 t->hpftid_bmap = (unsigned long *)&t->hpftid_tab[t->nhpftids]; in tid_init()
1904 if (t->nhpftids) in tid_init()
1905 bitmap_zero(t->hpftid_bmap, t->nhpftids); in tid_init()
5000 adap->tids.nhpftids = val[1] - val[0] + 1; in adap_init0()
H A Dcxgb4_tc_flower.c888 if (fidx < adap->tids.nhpftids) { in cxgb4_flow_rule_replace()
H A Dcxgb4_debugfs.c3381 if (t->nhpftids) in tid_info_show()
3383 t->hpftid_base + t->nhpftids - 1); in tid_info_show()
H A Dcudbg_lib.c2184 tid->nhpftids = val[1] - val[0] + 1; in cudbg_collect_tid()