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.c876 struct nvme_tcp_icresp_pdu *icresp = &queue->pdu.icresp; in nvmet_tcp_handle_icreq() local
907 memset(icresp, 0, sizeof(*icresp)); in nvmet_tcp_handle_icreq()
908 icresp->hdr.type = nvme_tcp_icresp; in nvmet_tcp_handle_icreq()
909 icresp->hdr.hlen = sizeof(*icresp); in nvmet_tcp_handle_icreq()
910 icresp->hdr.pdo = 0; in nvmet_tcp_handle_icreq()
911 icresp->hdr.plen = cpu_to_le32(icresp->hdr.hlen); in nvmet_tcp_handle_icreq()
912 icresp->pfv = cpu_to_le16(NVME_TCP_PFV_1_0); in nvmet_tcp_handle_icreq()
913 icresp->maxdata = cpu_to_le32(NVMET_TCP_MAXH2CDATA); in nvmet_tcp_handle_icreq()
914 icresp->cpda = 0; in nvmet_tcp_handle_icreq()
916 icresp->digest |= NVME_TCP_HDR_DIGEST_ENABLE; in nvmet_tcp_handle_icreq()
[all …]
/openbmc/linux/drivers/nvme/host/
H A Dtcp.c1395 struct nvme_tcp_icresp_pdu *icresp; in nvme_tcp_init_connection()
1406 icresp = kzalloc(sizeof(*icresp), GFP_KERNEL); in nvme_tcp_init_connection()
1407 if (!icresp) { in nvme_tcp_init_connection()
1431 iov.iov_base = icresp; in nvme_tcp_init_connection()
1432 iov.iov_len = sizeof(*icresp); in nvme_tcp_init_connection()
1439 if (icresp->hdr.type != nvme_tcp_icresp) { in nvme_tcp_init_connection()
1441 nvme_tcp_queue_id(queue), icresp->hdr.type); in nvme_tcp_init_connection()
1445 if (le32_to_cpu(icresp->hdr.plen) != sizeof(*icresp)) { in nvme_tcp_init_connection()
1352 struct nvme_tcp_icresp_pdu *icresp; nvme_tcp_init_connection() local
[all...]
/openbmc/linux/include/linux/
H A Dnvme-tcp.h192 struct nvme_tcp_icresp_pdu icresp;
190 struct nvme_tcp_icresp_pdu icresp; global() member