Home
last modified time | relevance | path

Searched refs:ntids (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c631 BUG_ON(tid >= t->ntids); in cxgb3_remove_tid()
659 t->ntids) { in cxgb3_alloc_atid()
803 if (unlikely(tid >= t->ntids)) { in do_cr()
897 if (unlikely(tid >= t->ntids)) { in do_act_establish()
1138 for (tid = 0; tid < ti->ntids; tid++) { in cxgb_redirect()
1178 static int init_tid_tabs(struct tid_info *t, unsigned int ntids, in init_tid_tabs() argument
1182 unsigned long size = ntids * sizeof(*t->tid_tab) + in init_tid_tabs()
1189 t->stid_tab = (union listen_entry *)&t->tid_tab[ntids]; in init_tid_tabs()
1191 t->ntids = ntids; in init_tid_tabs()
Dcxgb3_defs.h68 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? in lookup_tid()
Dcxgb3_offload.h159 unsigned int ntids; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h96 unsigned int ntids; member
136 return tid < t->ntids ? t->tid_tab[tid] : NULL; in lookup_tid()
Dcxgb4_debugfs.c2693 t->ntids - 1); in tid_info_show()
2702 t->ntids - 1); in tid_info_show()
2709 t->ntids - 1); in tid_info_show()
2713 } else if (t->ntids) { in tid_info_show()
2714 seq_printf(seq, "TID range: 0..%u", t->ntids - 1); in tid_info_show()
2734 if (t->ntids) in tid_info_show()
Dcxgb4_main.c1299 WARN_ON(tid >= t->ntids); in cxgb4_remove_tid()
1332 size = t->ntids * sizeof(*t->tid_tab) + in tid_init()
1344 t->atid_tab = (union aopen_entry *)&t->tid_tab[t->ntids]; in tid_init()
3719 adap->tids.ntids = val[0]; in adap_init0()
3720 adap->tids.natids = min(adap->tids.ntids / 2, MAX_ATIDS); in adap_init0()
3788 adap->params.max_ird_adapter = 32 * adap->tids.ntids; in adap_init0()
/drivers/infiniband/hw/hfi1/
Duser_sdma.c725 u16 ntids = iovec[idx].iov_len / sizeof(*req->tids); in hfi1_user_sdma_process_request() local
727 if (!ntids || ntids > MAX_TID_PAIR_ENTRIES) { in hfi1_user_sdma_process_request()
731 req->tids = kcalloc(ntids, sizeof(*req->tids), GFP_KERNEL); in hfi1_user_sdma_process_request()
743 ntids * sizeof(*req->tids)); in hfi1_user_sdma_process_request()
746 ntids, ret); in hfi1_user_sdma_process_request()
750 req->n_tids = ntids; in hfi1_user_sdma_process_request()
/drivers/infiniband/hw/qib/
Dqib_file_ops.c287 int ret = 0, ntids; in qib_tid_update() local
339 ntids = tidcnt; in qib_tid_update()
367 for (; ntids--; tid++) { in qib_tid_update()
373 if (ntids < 0) { in qib_tid_update()