Searched refs:stid (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 132 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid() argument 134 stid -= t->stid_base; in lookup_stid() 135 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid() 149 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family); 154 int cxgb4_create_server(const struct net_device *dev, unsigned int stid, 157 int cxgb4_create_server_filter(const struct net_device *dev, unsigned int stid, 161 int cxgb4_remove_server_filter(const struct net_device *dev, unsigned int stid,
|
D | cxgb4_main.c | 3029 int stid; in cxgb4_alloc_stid() local 3033 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid() 3034 if (stid < t->nstids) in cxgb4_alloc_stid() 3035 __set_bit(stid, t->stid_bmap); in cxgb4_alloc_stid() 3037 stid = -1; in cxgb4_alloc_stid() 3039 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2); in cxgb4_alloc_stid() 3040 if (stid < 0) in cxgb4_alloc_stid() 3041 stid = -1; in cxgb4_alloc_stid() 3043 if (stid >= 0) { in cxgb4_alloc_stid() 3044 t->stid_tab[stid].data = data; in cxgb4_alloc_stid() [all …]
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_defs.h | 57 unsigned int stid) in stid2entry() argument 59 return &t->stid_tab[stid - t->stid_base]; in stid2entry()
|
D | cxgb3_offload.c | 521 void cxgb3_free_stid(struct t3cdev *tdev, int stid) in cxgb3_free_stid() argument 524 union listen_entry *p = stid2entry(t, stid); in cxgb3_free_stid() 677 int stid = -1; in cxgb3_alloc_stid() local 684 stid = (p - t->stid_tab) + t->stid_base; in cxgb3_alloc_stid() 691 return stid; in cxgb3_alloc_stid() 762 unsigned int stid = G_TID(ntohl(p->opcode_tid)); in do_stid_rpl() local 765 t3c_tid = lookup_stid(&(T3C_DATA(dev))->tid_maps, stid); in do_stid_rpl() 798 unsigned int stid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); in do_cr() local 810 t3c_tid = lookup_stid(t, stid); in do_cr()
|
D | cxgb3_offload.h | 101 void cxgb3_free_stid(struct t3cdev *dev, int stid);
|
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 1754 unsigned int stid = GET_TID(rpl); in pass_open_rpl() local 1755 struct c4iw_listen_ep *ep = lookup_stid(t, stid); in pass_open_rpl() 1758 PDBG("%s stid %d lookup failure!\n", __func__, stid); in pass_open_rpl() 1783 ep->stid)); in listen_stop() 1794 unsigned int stid = GET_TID(rpl); in close_listsrv_rpl() local 1795 struct c4iw_listen_ep *ep = lookup_stid(t, stid); in close_listsrv_rpl() 1964 unsigned int stid = GET_POPEN_TID(ntohl(req->tos_stid)); in pass_accept_req() local 1974 parent_ep = lookup_stid(t, stid); in pass_accept_req() 1976 PDBG("%s connect request on invalid stid %d\n", __func__, stid); in pass_accept_req() 2642 ep->stid = cxgb4_alloc_sftid(dev->rdev.lldi.tids, PF_INET, ep); in c4iw_create_listen() [all …]
|
D | iw_cxgb4.h | 764 unsigned int stid; member
|
D | device.c | 382 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.h | 171 unsigned int stid; member
|
D | iwch_cm.c | 1209 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, ep->stid)); in listen_start() 1251 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid)); in listen_stop() 1998 ep->stid = cxgb3_alloc_stid(h->rdev.t3cdev_p, &t3c_client, ep); in iwch_create_listen() 1999 if (ep->stid == -1) { in iwch_create_listen() 2018 cxgb3_free_stid(ep->com.tdev, ep->stid); in iwch_create_listen() 2042 cxgb3_free_stid(ep->com.tdev, ep->stid); in iwch_destroy_listen()
|