Lines Matching refs:icp
540 struct icl_cxgbei_pdu *icp;
547 icp = ip_to_icp(ip);
548 bcopy(mtod(m, caddr_t) + sizeof(*cpl), icp->ip.ip_bhs, sizeof(struct
550 icp->pdu_seq = ntohl(cpl->seq);
551 icp->pdu_flags = SBUF_ULP_FLAG_HDR_RCVD;
555 toep->ulpcb2 = icp;
573 struct icl_cxgbei_pdu *icp = toep->ulpcb2;
578 MPASS(icp != NULL);
579 MPASS(icp->pdu_flags == SBUF_ULP_FLAG_HDR_RCVD);
580 MPASS(icp->ip.ip_data_mbuf == NULL);
581 MPASS(icp->ip.ip_data_len == 0);
585 icp->pdu_flags |= SBUF_ULP_FLAG_DATA_RCVD;
586 icp->ip.ip_data_mbuf = m;
587 icp->ip.ip_data_len = m->m_pkthdr.len;
610 struct icl_cxgbei_pdu *icp = toep->ulpcb2;
617 MPASS(icp != NULL);
618 MPASS(icp->pdu_flags & SBUF_ULP_FLAG_HDR_RCVD); /* Data is optional. */
619 ip = &icp->ip;
620 icp->pdu_flags |= SBUF_ULP_FLAG_STATUS_RCVD;
623 icp->pdu_flags |= SBUF_ULP_FLAG_PAD_ERROR;
625 icp->pdu_flags |= SBUF_ULP_FLAG_HCRC_ERROR;
627 icp->pdu_flags |= SBUF_ULP_FLAG_DCRC_ERROR;
630 icp->pdu_flags |= SBUF_ULP_FLAG_DATA_DDPED;
647 MPASS(icp->pdu_seq == tp->rcv_nxt);
693 * the PDU in icp/ip.
720 __func__, tid, pdu_len, icp->pdu_flags);