Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A Dtcp.c869 struct nvme_tcp_icresp_pdu *icresp = &queue->pdu.icresp; in nvmet_tcp_handle_icreq() local
900 memset(icresp, 0, sizeof(*icresp)); in nvmet_tcp_handle_icreq()
901 icresp->hdr.type = nvme_tcp_icresp; in nvmet_tcp_handle_icreq()
902 icresp->hdr.hlen = sizeof(*icresp); in nvmet_tcp_handle_icreq()
903 icresp->hdr.pdo = 0; in nvmet_tcp_handle_icreq()
904 icresp->hdr.plen = cpu_to_le32(icresp->hdr.hlen); in nvmet_tcp_handle_icreq()
905 icresp->pfv = cpu_to_le16(NVME_TCP_PFV_1_0); in nvmet_tcp_handle_icreq()
906 icresp->maxdata = cpu_to_le32(NVMET_TCP_MAXH2CDATA); in nvmet_tcp_handle_icreq()
907 icresp->cpda = 0; in nvmet_tcp_handle_icreq()
909 icresp->digest |= NVME_TCP_HDR_DIGEST_ENABLE; in nvmet_tcp_handle_icreq()
[all …]
/openbmc/linux/drivers/nvme/host/
H A Dtcp.c1352 struct nvme_tcp_icresp_pdu *icresp; in nvme_tcp_init_connection() local
1363 icresp = kzalloc(sizeof(*icresp), GFP_KERNEL); in nvme_tcp_init_connection()
1364 if (!icresp) { in nvme_tcp_init_connection()
1388 iov.iov_base = icresp; in nvme_tcp_init_connection()
1389 iov.iov_len = sizeof(*icresp); in nvme_tcp_init_connection()
1396 if (icresp->hdr.type != nvme_tcp_icresp) { in nvme_tcp_init_connection()
1398 nvme_tcp_queue_id(queue), icresp->hdr.type); in nvme_tcp_init_connection()
1402 if (le32_to_cpu(icresp->hdr.plen) != sizeof(*icresp)) { in nvme_tcp_init_connection()
1404 nvme_tcp_queue_id(queue), icresp->hdr.plen); in nvme_tcp_init_connection()
1408 if (icresp->pfv != NVME_TCP_PFV_1_0) { in nvme_tcp_init_connection()
[all …]
/openbmc/linux/include/linux/
H A Dnvme-tcp.h190 struct nvme_tcp_icresp_pdu icresp; member