Searched refs:nhpftids (Results 1 - 20 of 20) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32.c | 200 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 D | cxgb4_filter.c | 375 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 D | cudbg_entity.h | 181 u32 nhpftids; member
|
H A D | cxgb4_ethtool.c | 1628 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()
|
H A D | cxgb4_tc_matchall.c | 278 if (fidx < adap->tids.nhpftids) in cxgb4_matchall_add_filter()
|
H A D | cxgb4_uld.h | 124 unsigned int nhpftids; member
|
H A D | cxgb4_main.c | 1846 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()
|
H A D | cxgb4_tc_flower.c | 888 if (fidx < adap->tids.nhpftids) { in cxgb4_flow_rule_replace()
|
H A D | cxgb4_debugfs.c | 3381 if (t->nhpftids) in tid_info_show() 3383 t->hpftid_base + t->nhpftids - 1); in tid_info_show()
|
H A D | cudbg_lib.c | 2184 tid->nhpftids = val[1] - val[0] + 1; in cudbg_collect_tid()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32.c | 200 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 D | cxgb4_filter.c | 375 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 D | cudbg_entity.h | 181 u32 nhpftids; member
|
H A D | cxgb4_ethtool.c | 1636 if (ftid >= t->hpftid_base && ftid < t->hpftid_base + t->nhpftids) in cxgb4_get_filter_entry() 1852 filter_id -= (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_del_filter() 1916 tid += (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_set_filter() 2260 nentries = tids->nhpftids + tids->nftids; in cxgb4_init_ethtool_filters()
|
H A D | cxgb4_tc_matchall.c | 326 if (fidx < adap->tids.nhpftids) in cxgb4_matchall_add_filter()
|
H A D | cxgb4_uld.h | 124 unsigned int nhpftids; member
|
H A D | cxgb4_main.c | 1845 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 D | cxgb4_tc_flower.c | 888 if (fidx < adap->tids.nhpftids) { in cxgb4_flow_rule_replace()
|
H A D | cxgb4_debugfs.c | 3381 if (t->nhpftids) in tid_info_show() 3383 t->hpftid_base + t->nhpftids - 1); in tid_info_show()
|
H A D | cudbg_lib.c | 2184 tid->nhpftids = val[1] - val[0] + 1; in cudbg_collect_tid()
|
Completed in 55 milliseconds