Lines Matching refs:cpl

1512 	struct cpl_tx_pkt_core *cpl;
1616 len += sizeof(*cpl);
1632 cpl = (void *)(tnl_lso + 1);
1644 cpl = write_tso_wr(adap, skb, lso);
1647 sgl = (u64 *)(cpl + 1); /* sgl start here */
1658 cpl = write_eo_udp_wr(skb, eowr, hdrlen);
1661 start = (u64 *)(cpl + 1);
1678 cpl = (void *)(wr + 1);
1679 sgl = (u64 *)(cpl + 1);
1717 cpl->ctrl0 = htonl(ctrl0);
1718 cpl->pack = htons(0);
1719 cpl->len = htons(skb->len);
1720 cpl->ctrl1 = cpu_to_be64(cntrl);
1829 struct cpl_tx_pkt_core *cpl;
1940 sizeof(*cpl)));
1961 cpl = (void *)(lso + 1);
1977 ? skb->len + sizeof(*cpl)
1978 : sizeof(*cpl));
1986 cpl = (void *)(wr + 1);
2005 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) |
2008 cpl->pack = cpu_to_be16(0);
2009 cpl->len = cpu_to_be16(skb->len);
2010 cpl->ctrl1 = cpu_to_be64(cntrl);
2019 cxgb4_inline_tx_skb(skb, &txq->q, cpl + 1);
2058 struct ulptx_sgl *sgl = (struct ulptx_sgl *)(cpl + 1);
2199 struct cpl_tx_pkt_core *cpl;
2229 cpl = write_eo_udp_wr(skb, wr, hdr_len);
2244 cpl = write_tso_wr(adap, skb, lso);
2247 cpl = (void *)(wr + 1);
2253 return cpl;
2265 struct cpl_tx_pkt_core *cpl;
2324 cpl = write_eo_wr(adap, eosw_txq, skb, wr, hdr_len, wrlen);
2329 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) |
2332 cpl->pack = 0;
2333 cpl->len = cpu_to_be16(skb->len);
2334 cpl->ctrl1 = cpu_to_be64(cntrl);
2336 start = (u64 *)(cpl + 1);
2666 struct cpl_tx_pkt_core *cpl;
2673 flits = DIV_ROUND_UP(pkt_len + sizeof(*cpl) + sizeof(*wr),
2695 sizeof(*cpl)));
2699 cpl = (void *)(wr + 1);
2700 sgl = (u8 *)(cpl + 1);
2705 cpl->ctrl0 = htonl(ctrl0);
2706 cpl->pack = htons(0);
2707 cpl->len = htons(pkt_len);
2708 cpl->ctrl1 = cpu_to_be64(TXPKT_L4CSUM_DIS_F | TXPKT_IPCSUM_DIS_F);
3500 struct cpl_rx_mps_pkt *cpl = NULL;
3504 cpl = (struct cpl_rx_mps_pkt *)skb->data;
3505 if (!(CPL_RX_MPS_PKT_TYPE_G(ntohl(cpl->op_to_r1_hi)) &
3509 data = skb->data + sizeof(*cpl);
4053 const struct cpl_fw4_ack *cpl;
4061 cpl = (const struct cpl_fw4_ack *)rsp;
4062 eotid = CPL_FW4_ACK_FLOWID_G(ntohl(OPCODE_TID(cpl))) -
4073 credits = cpl->credits;
4104 eosw_txq->cred += cpl->credits;