Lines Matching defs:icreq
1351 struct nvme_tcp_icreq_pdu *icreq;
1359 icreq = kzalloc(sizeof(*icreq), GFP_KERNEL);
1360 if (!icreq)
1369 icreq->hdr.type = nvme_tcp_icreq;
1370 icreq->hdr.hlen = sizeof(*icreq);
1371 icreq->hdr.pdo = 0;
1372 icreq->hdr.plen = cpu_to_le32(icreq->hdr.hlen);
1373 icreq->pfv = cpu_to_le16(NVME_TCP_PFV_1_0);
1374 icreq->maxr2t = 0; /* single inflight r2t supported */
1375 icreq->hpda = 0; /* no alignment constraint */
1377 icreq->digest |= NVME_TCP_HDR_DIGEST_ENABLE;
1379 icreq->digest |= NVME_TCP_DATA_DIGEST_ENABLE;
1381 iov.iov_base = icreq;
1382 iov.iov_len = sizeof(*icreq);
1452 kfree(icreq);