Lines Matching refs:icresp
828 struct nvme_tcp_icresp_pdu *icresp = &queue->pdu.icresp; in nvmet_tcp_handle_icreq() local
858 memset(icresp, 0, sizeof(*icresp)); in nvmet_tcp_handle_icreq()
859 icresp->hdr.type = nvme_tcp_icresp; in nvmet_tcp_handle_icreq()
860 icresp->hdr.hlen = sizeof(*icresp); in nvmet_tcp_handle_icreq()
861 icresp->hdr.pdo = 0; in nvmet_tcp_handle_icreq()
862 icresp->hdr.plen = cpu_to_le32(icresp->hdr.hlen); in nvmet_tcp_handle_icreq()
863 icresp->pfv = cpu_to_le16(NVME_TCP_PFV_1_0); in nvmet_tcp_handle_icreq()
864 icresp->maxdata = cpu_to_le32(0x400000); /* 16M arbitrary limit */ in nvmet_tcp_handle_icreq()
865 icresp->cpda = 0; in nvmet_tcp_handle_icreq()
867 icresp->digest |= NVME_TCP_HDR_DIGEST_ENABLE; in nvmet_tcp_handle_icreq()
869 icresp->digest |= NVME_TCP_DATA_DIGEST_ENABLE; in nvmet_tcp_handle_icreq()
871 iov.iov_base = icresp; in nvmet_tcp_handle_icreq()
872 iov.iov_len = sizeof(*icresp); in nvmet_tcp_handle_icreq()