Home
last modified time | relevance | path

Searched refs:icresp (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/nvme/target/
H A Dtcp.c882 struct nvme_tcp_icresp_pdu *icresp = &queue->pdu.icresp; in nvmet_tcp_handle_icreq() local
908 memset(icresp, 0, sizeof(*icresp)); in nvmet_tcp_handle_icreq()
909 icresp->hdr.type = nvme_tcp_icresp; in nvmet_tcp_handle_icreq()
910 icresp->hdr.hlen = sizeof(*icresp); in nvmet_tcp_handle_icreq()
911 icresp->hdr.pdo = 0; in nvmet_tcp_handle_icreq()
912 icresp->hdr.plen = cpu_to_le32(icresp->hdr.hlen); in nvmet_tcp_handle_icreq()
913 icresp->pfv = cpu_to_le16(NVME_TCP_PFV_1_0); in nvmet_tcp_handle_icreq()
914 icresp->maxdata = cpu_to_le32(NVMET_TCP_MAXH2CDATA); in nvmet_tcp_handle_icreq()
915 icresp->cpda = 0; in nvmet_tcp_handle_icreq()
917 icresp->digest |= NVME_TCP_HDR_DIGEST_ENABLE; in nvmet_tcp_handle_icreq()
[all …]
/linux/drivers/nvme/host/
H A Dtcp.c1462 struct nvme_tcp_icresp_pdu *icresp; in nvme_tcp_init_connection() local
1475 icresp = kzalloc_obj(*icresp); in nvme_tcp_init_connection()
1476 if (!icresp) { in nvme_tcp_init_connection()
1503 iov.iov_base = icresp; in nvme_tcp_init_connection()
1504 iov.iov_len = sizeof(*icresp); in nvme_tcp_init_connection()
1512 if (ret >= 0 && ret < sizeof(*icresp)) in nvme_tcp_init_connection()
1530 if (icresp->hdr.type != nvme_tcp_icresp) { in nvme_tcp_init_connection()
1532 nvme_tcp_queue_id(queue), icresp->hdr.type); in nvme_tcp_init_connection()
1536 if (le32_to_cpu(icresp->hdr.plen) != sizeof(*icresp)) { in nvme_tcp_init_connection()
1538 nvme_tcp_queue_id(queue), icresp->hdr.plen); in nvme_tcp_init_connection()
[all …]
/linux/include/linux/
H A Dnvme-tcp.h192 struct nvme_tcp_icresp_pdu icresp; member