Lines Matching defs:icreq
1280 struct nvme_tcp_icreq_pdu *icreq;
1287 icreq = kzalloc(sizeof(*icreq), GFP_KERNEL);
1288 if (!icreq)
1297 icreq->hdr.type = nvme_tcp_icreq;
1298 icreq->hdr.hlen = sizeof(*icreq);
1299 icreq->hdr.pdo = 0;
1300 icreq->hdr.plen = cpu_to_le32(icreq->hdr.hlen);
1301 icreq->pfv = cpu_to_le16(NVME_TCP_PFV_1_0);
1302 icreq->maxr2t = 0; /* single inflight r2t supported */
1303 icreq->hpda = 0; /* no alignment constraint */
1305 icreq->digest |= NVME_TCP_HDR_DIGEST_ENABLE;
1307 icreq->digest |= NVME_TCP_DATA_DIGEST_ENABLE;
1309 iov.iov_base = icreq;
1310 iov.iov_len = sizeof(*icreq);
1372 kfree(icreq);