Home
last modified time | relevance | path

Searched refs:cpda (Results 1 – 5 of 5) sorted by relevance

/spdk/include/spdk/
H A Dnvmf_spec.h735 uint8_t cpda; member
750 SPDK_STATIC_ASSERT(offsetof(struct spdk_nvme_tcp_ic_resp, cpda) == 10, "Incorrect offset");
/spdk/lib/nvme/
H A Dnvme_tcp.c107 uint8_t cpda;
933 if (tqpair->cpda) { in nvme_tcp_req_complete_safe()
934 alignment = (tqpair->cpda + 1) << 2; in nvme_tcp_req_complete_safe()
1491 if (ic_resp->cpda > SPDK_NVME_TCP_CPDA_MAX) { in nvme_tcp_accel_recv_compute_crc32()
1492 SPDK_ERRLOG("Expected ICResp cpda <=%u, got %u\n", SPDK_NVME_TCP_CPDA_MAX, ic_resp->cpda); in nvme_tcp_accel_recv_compute_crc32()
1494 error_offset = offsetof(struct spdk_nvme_tcp_ic_resp, cpda); in nvme_tcp_accel_recv_compute_crc32()
1497 tqpair->cpda = ic_resp->cpda; in nvme_tcp_accel_recv_compute_crc32()
1760 if (tqpair->cpda) { in nvme_tcp_c2h_data_hdr_handle()
97 uint8_t cpda; global() member
[all...]
/spdk/lib/nvmf/
H A Dtcp.c288 uint8_t cpda;
2332 tqpair->cpda = spdk_min(ic_req->hpda, SPDK_NVME_TCP_CPDA_MAX); in nvmf_tcp_pdu_ch_handle()
2333 SPDK_DEBUGLOG(nvmf_tcp, "cpda of tqpair=(%p) is : %u\n", tqpair, tqpair->cpda); in nvmf_tcp_pdu_ch_handle()
2341 ic_resp->cpda = tqpair->cpda; in nvmf_tcp_pdu_ch_handle()
2442 if ((tqpair->cpda != 0) && (pdo % ((tqpair->cpda + 1) << 2) != 0)) { in nvmf_tcp_sock_process()
2454 if ((tqpair->cpda != 0) && (pdo % ((tqpair->cpda in nvmf_tcp_sock_process()
271 uint8_t cpda; global() member
[all...]
/spdk/test/unit/lib/nvme/nvme_tcp.c/
H A Dnvme_tcp_ut.c654 tqpair.cpda = NVME_TCP_HPDA_DEFAULT; in test_nvme_tcp_qpair_capsule_cmd_send()
703 tqpair.cpda = SPDK_NVME_TCP_CPDA_MAX; in test_nvme_tcp_qpair_capsule_cmd_send()
1244 /* case 3: Expected ICResp cpda and got are different. */ in test_nvme_tcp_icresp_handle()
1246 pdu.hdr.ic_resp.cpda = 64; in test_nvme_tcp_icresp_handle()
1254 pdu.hdr.ic_resp.cpda = 30; in test_nvme_tcp_icresp_handle()
1264 CU_ASSERT(tqpair.cpda == pdu.hdr.ic_resp.cpda); in test_nvme_tcp_icresp_handle()
1276 CU_ASSERT(tqpair.cpda == pdu.hdr.ic_resp.cpda); in test_nvme_tcp_icresp_handle()
1419 tqpair->recv_pdu->hdr.ic_resp.cpda in test_nvme_tcp_ctrlr_connect_qpair()
[all...]
/spdk/test/unit/lib/nvmf/tcp.c/
H A Dtcp_ut.c1010 CU_ASSERT(tqpair.cpda == pdu.hdr.ic_req.hpda); in test_nvmf_tcp_check_xfer_type()
1015 CU_ASSERT(ic_resp->cpda == tqpair.cpda); in test_nvmf_tcp_check_xfer_type()
1178 tqpair.cpda = 0; in test_nvmf_tcp_pdu_ch_handle()
1289 tqpair.cpda = 1; in test_nvmf_tcp_pdu_ch_handle()
1306 tqpair.cpda = 1; in test_nvmf_tcp_tls_add_remove_credentials()