Searched refs:stid (Results 1 - 9 of 9) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_defs.h57 unsigned int stid)
59 return &t->stid_tab[stid - t->stid_base];
56 stid2entry(const struct tid_info *t, unsigned int stid) argument
H A Dcxgb3_offload.h101 void cxgb3_free_stid(struct t3cdev *dev, int stid);
H A Dcxgb3_offload.c517 void cxgb3_free_stid(struct t3cdev *tdev, int stid) argument
520 union listen_entry *p = stid2entry(t, stid);
673 int stid = -1; local
680 stid = (p - t->stid_tab) + t->stid_base;
687 return stid;
761 unsigned int stid = G_TID(ntohl(p->opcode_tid)); local
764 t3c_tid = lookup_stid(&(T3C_DATA(dev))->tid_maps, stid);
797 unsigned int stid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); local
809 t3c_tid = lookup_stid(t, stid);
/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h124 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) argument
126 stid -= t->stid_base;
127 return stid < t->nstids ? t->stid_tab[stid].data : NULL;
140 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family);
145 int cxgb4_create_server(const struct net_device *dev, unsigned int stid,
H A Dcxgb4_main.c2128 int stid; local
2132 stid = find_first_zero_bit(t->stid_bmap, t->nstids);
2133 if (stid < t->nstids)
2134 __set_bit(stid, t->stid_bmap);
2136 stid = -1;
2138 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2);
2139 if (stid < 0)
2140 stid = -1;
2142 if (stid >= 0) {
2143 t->stid_tab[stid]
2155 cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family) argument
2306 cxgb4_create_server(const struct net_device *dev, unsigned int stid, __be32 sip, __be16 sport, unsigned int queue) argument
[all...]
/drivers/infiniband/hw/cxgb3/
H A Diwch_cm.h171 unsigned int stid; member in struct:iwch_listen_ep
H A Diwch_cm.c1210 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, ep->stid));
1252 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid));
1999 ep->stid = cxgb3_alloc_stid(h->rdev.t3cdev_p, &t3c_client, ep);
2000 if (ep->stid == -1) {
2019 cxgb3_free_stid(ep->com.tdev, ep->stid);
2043 cxgb3_free_stid(ep->com.tdev, ep->stid);
/drivers/infiniband/hw/cxgb4/
H A Dcm.c1431 unsigned int stid = GET_TID(rpl); local
1432 struct c4iw_listen_ep *ep = lookup_stid(t, stid);
1435 printk(KERN_ERR MOD "stid %d lookup failure!\n", stid);
1459 ep->stid));
1470 unsigned int stid = GET_TID(rpl); local
1471 struct c4iw_listen_ep *ep = lookup_stid(t, stid);
1626 unsigned int stid = GET_POPEN_TID(ntohl(req->tos_stid)); local
1635 parent_ep = lookup_stid(t, stid);
2349 ep->stid
[all...]
H A Diw_cxgb4.h642 unsigned int stid; member in struct:c4iw_listen_ep

Completed in 159 milliseconds