Lines Matching refs:stid
370 * Atomically lookup the ep ptr given the stid and grab a reference on the ep.
373 unsigned int stid)
379 ep = xa_load(&dev->stids, stid);
2383 unsigned int stid = GET_TID(rpl);
2384 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid);
2387 pr_warn("%s stid %d lookup failure!\n", __func__, stid);
2401 unsigned int stid = GET_TID(rpl);
2402 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid);
2405 pr_warn("%s stid %d lookup failure!\n", __func__, stid);
2514 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid));
2527 parent_ep = (struct c4iw_ep *)get_ep_from_stid(dev, stid);
2529 pr_err("%s connect request on invalid stid %d\n",
2530 __func__, stid);
3477 ep->stid, &sin6->sin6_addr,
3489 pr_err("cxgb4_create_server6/filter failed err %d stid %d laddr %pI6 lport %d\n",
3490 err, ep->stid,
3505 ep->com.dev->rdev.lldi.ports[0], ep->stid,
3520 ep->stid, sin->sin_addr.s_addr, sin->sin_port,
3530 pr_err("cxgb4_create_server/filter failed err %d stid %d laddr %pI4 lport %d\n"
3531 , err, ep->stid,
3564 ep->stid = cxgb4_alloc_sftid(dev->rdev.lldi.tids,
3567 ep->stid = cxgb4_alloc_stid(dev->rdev.lldi.tids,
3570 if (ep->stid == -1) {
3571 pr_err("%s - cannot alloc stid\n", __func__);
3575 err = xa_insert_irq(&dev->stids, ep->stid, ep, GFP_KERNEL);
3588 xa_erase_irq(&ep->com.dev->stids, ep->stid);
3590 cxgb4_free_stid(ep->com.dev->rdev.lldi.tids, ep->stid,
3612 ep->com.dev->rdev.lldi.ports[0], ep->stid,
3618 ep->com.dev->rdev.lldi.ports[0], ep->stid,
3629 xa_erase_irq(&ep->com.dev->stids, ep->stid);
3630 cxgb4_free_stid(ep->com.dev->rdev.lldi.tids, ep->stid,
3924 static void build_cpl_pass_accept_req(struct sk_buff *skb, int stid , u8 tos)
3981 req->tos_stid = cpu_to_be32(PASS_OPEN_TID_V(stid) |
4058 int stid;
4091 stid = (__force int) cpu_to_be32((__force u32) rss->hash_val);
4093 lep = (struct c4iw_ep *)get_ep_from_stid(dev, stid);
4095 pr_warn("%s connect request on invalid stid %d\n",
4096 __func__, stid);
4188 build_cpl_pass_accept_req(skb, stid, iph->tos);