Lines Matching refs:tid

376 	struct tid_range *tid;  in cxgb_offload_ctl()  local
396 tid = data; in cxgb_offload_ctl()
397 tid->num = t3_mc5_size(&adapter->mc5) - in cxgb_offload_ctl()
400 tid->base = 0; in cxgb_offload_ctl()
403 tid = data; in cxgb_offload_ctl()
404 tid->num = adapter->params.mc5.nservers; in cxgb_offload_ctl()
405 tid->base = t3_mc5_size(&adapter->mc5) - tid->num - in cxgb_offload_ctl()
536 void *ctx, unsigned int tid) in cxgb3_insert_tid() argument
540 t->tid_tab[tid].client = client; in cxgb3_insert_tid()
541 t->tid_tab[tid].ctx = ctx; in cxgb3_insert_tid()
550 static inline void mk_tid_release(struct sk_buff *skb, unsigned int tid) in mk_tid_release() argument
557 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_TID_RELEASE, tid)); in mk_tid_release()
604 void cxgb3_queue_tid_release(struct t3cdev *tdev, unsigned int tid) in cxgb3_queue_tid_release() argument
607 struct t3c_tid_entry *p = &td->tid_maps.tid_tab[tid]; in cxgb3_queue_tid_release()
627 void cxgb3_remove_tid(struct t3cdev *tdev, void *ctx, unsigned int tid) in cxgb3_remove_tid() argument
631 BUG_ON(tid >= t->ntids); in cxgb3_remove_tid()
633 (void)cmpxchg(&t->tid_tab[tid].ctx, ctx, NULL); in cxgb3_remove_tid()
639 mk_tid_release(skb, tid); in cxgb3_remove_tid()
641 t->tid_tab[tid].ctx = NULL; in cxgb3_remove_tid()
643 cxgb3_queue_tid_release(tdev, tid); in cxgb3_remove_tid()
801 unsigned int tid = GET_TID(req); in do_cr() local
803 if (unlikely(tid >= t->ntids)) { in do_cr()
805 dev->name, tid); in do_cr()
859 unsigned int tid = GET_TID(req); in do_abort_req_rss() local
880 rpl->wr.wr_lo = htonl(V_WR_TID(tid)); in do_abort_req_rss()
881 OPCODE_TID(rpl) = htonl(MK_OPCODE_TID(CPL_ABORT_RPL, tid)); in do_abort_req_rss()
895 unsigned int tid = GET_TID(req); in do_act_establish() local
897 if (unlikely(tid >= t->ntids)) { in do_act_establish()
899 dev->name, tid); in do_act_establish()
1088 static void set_l2t_ix(struct t3cdev *tdev, u32 tid, struct l2t_entry *e) in set_l2t_ix() argument
1101 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SET_TCB_FIELD, tid)); in set_l2t_ix()
1117 u32 tid; in cxgb_redirect() local
1138 for (tid = 0; tid < ti->ntids; tid++) { in cxgb_redirect()
1139 te = lookup_tid(ti, tid); in cxgb_redirect()
1147 set_l2t_ix(tdev, tid, e); in cxgb_redirect()