Lines Matching refs:stid
80 unsigned int stid)
88 p->stid = stid;
101 int stid = -1, bucket = cxgbit_np_hashfn(cnp);
107 stid = p->stid;
113 return stid;
118 int stid = -1, bucket = cxgbit_np_hashfn(cnp);
124 stid = p->stid;
132 return stid;
144 cxgbit_create_server6(struct cxgbit_device *cdev, unsigned int stid,
152 pr_debug("%s: dev = %s; stid = %u; sin6_port = %u\n",
153 __func__, cdev->lldi.ports[0]->name, stid, sin6->sin6_port);
171 stid, &sin6->sin6_addr,
187 pr_err("create server6 err %d stid %d laddr %pI6 lport %d\n",
188 ret, stid, sin6->sin6_addr.s6_addr,
196 cxgbit_create_server4(struct cxgbit_device *cdev, unsigned int stid,
203 pr_debug("%s: dev = %s; stid = %u; sin_port = %u\n",
204 __func__, cdev->lldi.ports[0]->name, stid, sin->sin_port);
210 stid, sin->sin_addr.s_addr,
223 pr_err("create server failed err %d stid %d laddr %pI4 lport %d\n",
224 ret, stid, &sin->sin_addr, ntohs(sin->sin_port));
345 int stid, ret;
351 stid = cxgb4_alloc_stid(cdev->lldi.tids, ss_family, cnp);
352 if (stid < 0)
355 if (!cxgbit_np_hash_add(cdev, cnp, stid)) {
356 cxgb4_free_stid(cdev->lldi.tids, stid, ss_family);
361 ret = cxgbit_create_server4(cdev, stid, cnp);
363 ret = cxgbit_create_server6(cdev, stid, cnp);
367 cxgb4_free_stid(cdev->lldi.tids, stid,
520 int stid, ret;
523 stid = cxgbit_np_hash_del(cdev, cnp);
524 if (stid < 0)
534 ret = cxgb4_remove_server(cdev->lldi.ports[0], stid,
559 cxgb4_free_stid(cdev->lldi.tids, stid,
1221 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid));
1233 pr_debug("%s: cdev = %p; stid = %u; tid = %u\n",
1234 __func__, cdev, stid, tid);
1236 cnp = lookup_stid(t, stid);
1238 pr_err("%s connect request on invalid stid %d\n",
1239 __func__, stid);
1582 unsigned int stid = GET_TID(rpl);
1583 struct cxgbit_np *cnp = lookup_stid(t, stid);
1585 pr_debug("%s: cnp = %p; stid = %u; status = %d\n",
1586 __func__, cnp, stid, rpl->status);
1589 pr_info("%s stid %d lookup failure\n", __func__, stid);
1604 unsigned int stid = GET_TID(rpl);
1605 struct cxgbit_np *cnp = lookup_stid(t, stid);
1607 pr_debug("%s: cnp = %p; stid = %u; status = %d\n",
1608 __func__, cnp, stid, rpl->status);
1611 pr_info("%s stid %d lookup failure\n", __func__, stid);