Home
last modified time | relevance | path

Searched refs:natids (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_defs.h87 (void *)e->next < (void *)&t->atid_tab[t->natids]) in lookup_stid()
101 if (tid < t->atid_base || tid >= t->atid_base + t->natids) in lookup_atid()
106 (void *)e->next < (void *)&t->atid_tab[t->natids]) in lookup_atid()
Dcxgb3_offload.c1179 unsigned int natids, unsigned int nstids, in init_tid_tabs() argument
1183 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab); in init_tid_tabs()
1195 t->natids = natids; in init_tid_tabs()
1211 if (natids) { in init_tid_tabs()
1212 while (--natids) in init_tid_tabs()
1213 t->atid_tab[natids - 1].next = &t->atid_tab[natids]; in init_tid_tabs()
1241 int natids, err; in cxgb3_offload_activate() local
1266 natids = min(tid_range.num / 2, MAX_ATIDS); in cxgb3_offload_activate()
1267 err = init_tid_tabs(&t->tid_maps, tid_range.num, natids, in cxgb3_offload_activate()
Dcxgb3_offload.h167 unsigned int natids; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h103 unsigned int natids; member
136 return atid < t->natids ? t->atid_tab[atid].data : NULL; in lookup_atid()
Dcxgb4_main.c1695 unsigned int natids = t->natids; in tid_init() local
1700 natids * sizeof(*t->atid_tab) + in tid_init()
1712 t->stid_tab = (struct serv_entry *)&t->atid_tab[natids]; in tid_init()
1726 if (natids) { in tid_init()
1727 while (--natids) in tid_init()
1728 t->atid_tab[natids - 1].next = &t->atid_tab[natids]; in tid_init()
4013 adap->tids.natids = min(adap->tids.ntids / 2, MAX_ATIDS); in adap_init0()
Dcxgb4_debugfs.c2610 if (t->natids) in tid_info_show()
2612 t->natids - 1, t->atids_in_use); in tid_info_show()