Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/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.c1188 unsigned int natids, unsigned int nstids, in init_tid_tabs() argument
1192 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab); in init_tid_tabs()
1204 t->natids = natids; in init_tid_tabs()
1220 if (natids) { in init_tid_tabs()
1221 while (--natids) in init_tid_tabs()
1222 t->atid_tab[natids - 1].next = &t->atid_tab[natids]; in init_tid_tabs()
1250 int natids, err; in cxgb3_offload_activate() local
1274 natids = min(tid_range.num / 2, MAX_ATIDS); in cxgb3_offload_activate()
1275 err = init_tid_tabs(&t->tid_maps, tid_range.num, natids, in cxgb3_offload_activate()
Dcxgb3_offload.h167 unsigned int natids; member
/linux-2.6.39/drivers/net/cxgb4/
Dcxgb4_uld.h99 unsigned int natids; member
121 return atid < t->natids ? t->atid_tab[atid].data : NULL; in lookup_atid()
Dcxgb4_main.c2302 unsigned int natids = t->natids; in tid_init() local
2304 size = t->ntids * sizeof(*t->tid_tab) + natids * sizeof(*t->atid_tab) + in tid_init()
2312 t->stid_tab = (struct serv_entry *)&t->atid_tab[natids]; in tid_init()
2323 if (natids) { in tid_init()
2324 while (--natids) in tid_init()
2325 t->atid_tab[natids - 1].next = &t->atid_tab[natids]; in tid_init()
3073 adap->tids.natids = min(adap->tids.ntids / 2, MAX_ATIDS); in adap_init0()