Lines Matching refs:icreq
1457 struct nvme_tcp_icreq_pdu *icreq;
1467 icreq = kzalloc(sizeof(*icreq), GFP_KERNEL);
1468 if (!icreq)
1477 icreq->hdr.type = nvme_tcp_icreq;
1478 icreq->hdr.hlen = sizeof(*icreq);
1479 icreq->hdr.pdo = 0;
1480 icreq->hdr.plen = cpu_to_le32(icreq->hdr.hlen);
1481 icreq->pfv = cpu_to_le16(NVME_TCP_PFV_1_0);
1482 icreq->maxr2t = 0; /* single inflight r2t supported */
1483 icreq->hpda = 0; /* no alignment constraint */
1485 icreq->digest |= NVME_TCP_HDR_DIGEST_ENABLE;
1487 icreq->digest |= NVME_TCP_DATA_DIGEST_ENABLE;
1489 iov.iov_base = icreq;
1490 iov.iov_len = sizeof(*icreq);
1493 pr_warn("queue %d: failed to send icreq, error %d\n",
1582 kfree(icreq);