Searched refs:icresp (Results 1 – 3 of 3) sorted by relevance
899 struct nvme_tcp_icresp_pdu *icresp = &queue->pdu.icresp; in nvmet_tcp_handle_icreq() local924 memset(icresp, 0, sizeof(*icresp)); in nvmet_tcp_handle_icreq()925 icresp->hdr.type = nvme_tcp_icresp; in nvmet_tcp_handle_icreq()926 icresp->hdr.hlen = sizeof(*icresp); in nvmet_tcp_handle_icreq()927 icresp->hdr.pdo = 0; in nvmet_tcp_handle_icreq()928 icresp->hdr.plen = cpu_to_le32(icresp->hdr.hlen); in nvmet_tcp_handle_icreq()929 icresp->pfv = cpu_to_le16(NVME_TCP_PFV_1_0); in nvmet_tcp_handle_icreq()930 icresp->maxdata = cpu_to_le32(NVMET_TCP_MAXH2CDATA); in nvmet_tcp_handle_icreq()931 icresp->cpda = 0; in nvmet_tcp_handle_icreq()933 icresp->digest |= NVME_TCP_HDR_DIGEST_ENABLE; in nvmet_tcp_handle_icreq()[all …]
1531 struct nvme_tcp_icresp_pdu *icresp; in nvme_tcp_free_queue() 1544 icresp = kzalloc_obj(*icresp); in nvme_tcp_init_connection() 1545 if (!icresp) { in nvme_tcp_init_connection() 1572 iov.iov_base = icresp; in nvme_tcp_init_connection() 1573 iov.iov_len = sizeof(*icresp); in nvme_tcp_init_connection() 1581 if (ret >= 0 && ret < sizeof(*icresp)) in nvme_tcp_init_connection() 1584 pr_warn("queue %d: failed to receive icresp, error %d\n", in nvme_tcp_init_connection() 1599 if (icresp->hdr.type != nvme_tcp_icresp) { in nvme_tcp_init_connection() 1601 nvme_tcp_queue_id(queue), icresp in nvme_tcp_init_connection() 1536 struct nvme_tcp_icresp_pdu *icresp; nvme_tcp_init_connection() local [all...]
192 struct nvme_tcp_icresp_pdu icresp; member