Lines Matching refs:icresp
838 struct nvme_tcp_icresp_pdu *icresp = &queue->pdu.icresp; in nvmet_tcp_handle_icreq() local
868 memset(icresp, 0, sizeof(*icresp)); in nvmet_tcp_handle_icreq()
869 icresp->hdr.type = nvme_tcp_icresp; in nvmet_tcp_handle_icreq()
870 icresp->hdr.hlen = sizeof(*icresp); in nvmet_tcp_handle_icreq()
871 icresp->hdr.pdo = 0; in nvmet_tcp_handle_icreq()
872 icresp->hdr.plen = cpu_to_le32(icresp->hdr.hlen); in nvmet_tcp_handle_icreq()
873 icresp->pfv = cpu_to_le16(NVME_TCP_PFV_1_0); in nvmet_tcp_handle_icreq()
874 icresp->maxdata = cpu_to_le32(0x400000); /* 16M arbitrary limit */ in nvmet_tcp_handle_icreq()
875 icresp->cpda = 0; in nvmet_tcp_handle_icreq()
877 icresp->digest |= NVME_TCP_HDR_DIGEST_ENABLE; in nvmet_tcp_handle_icreq()
879 icresp->digest |= NVME_TCP_DATA_DIGEST_ENABLE; in nvmet_tcp_handle_icreq()
881 iov.iov_base = icresp; in nvmet_tcp_handle_icreq()
882 iov.iov_len = sizeof(*icresp); in nvmet_tcp_handle_icreq()