Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 25 of 30) sorted by relevance

12

/spdk/test/nvmf/target/
H A Dreferrals.sh31 local subtype="$1"
34 | jq ".records[] | select(.subtype == \"$subtype\")"
/spdk/lib/nvmf/
H A Dctrlr_discovery.c156 entry->subtype = subsystem->subtype; in nvmf_generate_discovery_log()
159 if (subsystem->subtype == SPDK_NVMF_SUBTYPE_DISCOVERY_CURRENT) { in nvmf_generate_discovery_log()
H A Drdma.c1743 assert(inline_segment->unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET); in nvmf_rdma_request_fill_iovs_multi_sgl()
1800 desc->keyed.subtype != SPDK_NVME_SGL_SUBTYPE_ADDRESS)) { in nvmf_rdma_request_fill_iovs_multi_sgl()
1827 if (desc->keyed.subtype == SPDK_NVME_SGL_SUBTYPE_INVALIDATE_KEY) { in nvmf_rdma_request_fill_iovs_multi_sgl()
1859 (sgl->keyed.subtype == SPDK_NVME_SGL_SUBTYPE_ADDRESS || in nvmf_rdma_request_parse_sgl()
1860 sgl->keyed.subtype == SPDK_NVME_SGL_SUBTYPE_INVALIDATE_KEY)) { in nvmf_rdma_request_parse_sgl()
1871 if (sgl->keyed.subtype == SPDK_NVME_SGL_SUBTYPE_INVALIDATE_KEY) { in nvmf_rdma_request_parse_sgl()
1898 sgl->unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET) { in nvmf_rdma_request_parse_sgl()
1930 sgl->unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET) { in nvmf_rdma_request_parse_sgl()
1949 sgl->generic.type, sgl->generic.subtype); in nvmf_rdma_request_parse_sgl()
H A Dnvmf_internal.h290 enum spdk_nvmf_subtype subtype;
285 enum spdk_nvmf_subtype subtype; global() member
H A Dsubsystem.c263 subsystem->subtype = type; in spdk_nvmf_subsystem_create()
2491 return subsystem->subtype;
3916 return subsystem->subtype == SPDK_NVMF_SUBTYPE_DISCOVERY_CURRENT ||
3917 subsystem->subtype == SPDK_NVMF_SUBTYPE_DISCOVERY;
H A Dtcp.c2701 sgl->unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_TRANSPORT) { in nvmf_tcp_dif_error_to_compl_status()
2742 sgl->unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET) { in _nvmf_tcp_send_c2h_data()
2819 sgl->generic.type, sgl->generic.subtype); in _nvmf_tcp_send_c2h_data()
/spdk/test/unit/lib/nvme/nvme_rdma.c/
H A Dnvme_rdma_ut.c222 CU_ASSERT(req.cmd.dptr.sgl1.keyed.subtype == SPDK_NVME_SGL_SUBTYPE_ADDRESS); in test_nvme_rdma_build_sgl_request()
239 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET); in test_nvme_rdma_build_sgl_request()
246 CU_ASSERT(cmd.sgl[i].keyed.subtype == SPDK_NVME_SGL_SUBTYPE_ADDRESS); in test_nvme_rdma_build_sgl_request()
325 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET); in test_nvme_rdma_build_sgl_inline_request()
342 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET); in test_nvme_rdma_build_sgl_inline_request()
381 CU_ASSERT(req.cmd.dptr.sgl1.keyed.subtype == SPDK_NVME_SGL_SUBTYPE_ADDRESS); in test_nvme_rdma_build_contig_request()
424 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET); in test_nvme_rdma_build_contig_inline_request()
438 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET); in test_nvme_rdma_build_contig_inline_request()
841 CU_ASSERT(req.cmd.dptr.sgl1.keyed.subtype == SPDK_NVME_SGL_SUBTYPE_ADDRESS); in test_nvme_rdma_req_init()
855 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype in test_nvme_rdma_req_init()
[all...]
/spdk/lib/nvme/
H A Dnvme_fabric.c293 if (entry->subtype == SPDK_NVMF_SUBTYPE_DISCOVERY_CURRENT || in nvme_fabric_discover_probe()
294 entry->subtype == SPDK_NVMF_SUBTYPE_DISCOVERY) { in nvme_fabric_discover_probe()
298 } else if (entry->subtype != SPDK_NVMF_SUBTYPE_NVME) { in nvme_fabric_discover_probe()
299 SPDK_WARNLOG("Skipping unknown subtype %u\n", entry->subtype); in nvme_fabric_discover_probe()
H A Dnvme_pcie_common.c1353 req->cmd.dptr.sgl1.unkeyed.subtype = 0; in nvme_pcie_qpair_build_contig_hw_sgl_request()
1387 sgl->unkeyed.subtype = 0; in nvme_pcie_qpair_build_hw_sgl_request()
1442 req->cmd.dptr.sgl1.unkeyed.subtype = 0; in nvme_pcie_qpair_build_hw_sgl_request()
1477 sgl->unkeyed.subtype = 0; in nvme_pcie_qpair_build_hw_sgl_request()
1518 sgl->unkeyed.subtype = 0; in nvme_pcie_qpair_build_prps_sgl_request()
1649 tr->meta_sgl.unkeyed.subtype = 0; in nvme_pcie_qpair_submit_request()
H A Dnvme_rdma.c1459 req->cmd.dptr.sgl1.keyed.subtype = SPDK_NVME_SGL_SUBTYPE_ADDRESS; in nvme_rdma_build_contig_inline_request()
1489 req->cmd.dptr.sgl1.unkeyed.subtype = SPDK_NVME_SGL_SUBTYPE_OFFSET; in nvme_rdma_build_contig_request()
1540 req->cmd.dptr.sgl1.keyed.subtype = SPDK_NVME_SGL_SUBTYPE_ADDRESS; in nvme_rdma_build_sgl_request()
1623 cmd->sgl[num_sgl_desc].keyed.subtype = SPDK_NVME_SGL_SUBTYPE_ADDRESS;
1655 req->cmd.dptr.sgl1.keyed.subtype = cmd->sgl[0].keyed.subtype; in nvme_rdma_build_sgl_inline_request()
1674 req->cmd.dptr.sgl1.unkeyed.subtype = SPDK_NVME_SGL_SUBTYPE_OFFSET; in nvme_rdma_build_sgl_inline_request()
1734 req->cmd.dptr.sgl1.unkeyed.subtype = SPDK_NVME_SGL_SUBTYPE_OFFSET; in nvme_rdma_ctrlr_create_qpair()
H A Dnvme_qpair.c164 nvme_get_string(sgl_subtype, sgl->generic.subtype), sgl->address); in nvme_get_sgl()
/spdk/test/unit/lib/nvme/nvme_fabric.c/
H A Dnvme_fabric_ut.c309 entry.subtype = SPDK_NVMF_SUBTYPE_NVME; in test_nvme_fabric_discover_probe()
330 entry.subtype = SPDK_NVMF_SUBTYPE_DISCOVERY_CURRENT; in test_nvme_fabric_discover_probe()
336 entry.subtype = 3; in test_nvme_fabric_discover_probe()
/spdk/include/linux/
H A Dvirtio_scsi.h78 __virtio32 subtype; member
/spdk/test/unit/lib/nvmf/rdma.c/
H A Drdma_ut.c197 /* Test 1: sgl type: keyed data block subtype: address */ in test_spdk_nvmf_rdma_request_parse_sgl()
199 sgl->keyed.subtype = SPDK_NVME_SGL_SUBTYPE_ADDRESS; in test_spdk_nvmf_rdma_request_parse_sgl()
262 /* Test 2: sgl type: keyed data block subtype: offset (in capsule data) */ in test_spdk_nvmf_rdma_request_parse_sgl()
264 sgl->unkeyed.subtype = SPDK_NVME_SGL_SUBTYPE_OFFSET; in test_spdk_nvmf_rdma_request_parse_sgl()
296 sgl->unkeyed.subtype = SPDK_NVME_SGL_SUBTYPE_OFFSET; in test_spdk_nvmf_rdma_request_parse_sgl()
307 sgl_desc[i].keyed.subtype = SPDK_NVME_SGL_SUBTYPE_ADDRESS; in test_spdk_nvmf_rdma_request_parse_sgl()
332 sgl_desc[i].keyed.subtype = SPDK_NVME_SGL_SUBTYPE_ADDRESS; in test_spdk_nvmf_rdma_request_parse_sgl()
357 sgl_desc[i].keyed.subtype = SPDK_NVME_SGL_SUBTYPE_ADDRESS; in test_spdk_nvmf_rdma_request_parse_sgl()
443 sgl->keyed.subtype = SPDK_NVME_SGL_SUBTYPE_ADDRESS; in create_recv()
878 /* Test 1: sgl type: keyed data block subtype in test_spdk_nvmf_rdma_request_parse_sgl_with_md()
[all...]
/spdk/test/unit/lib/nvme/nvme_pcie.c/
H A Dnvme_pcie_ut.c526 CU_ASSERT(tr.meta_sgl.unkeyed.subtype == 0); in test_nvme_pcie_qpair_build_metadata()
661 CU_ASSERT(tr.u.sgl[0].unkeyed.subtype == 0); in test_nvme_pcie_qpair_build_hw_sgl_request()
670 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == 0); in test_nvme_pcie_qpair_build_hw_sgl_request()
691 CU_ASSERT(tr.u.sgl[0].unkeyed.subtype == 0); in test_nvme_pcie_qpair_build_contig_request()
693 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == 0); in test_nvme_pcie_qpair_build_contig_request()
/spdk/test/unit/lib/nvmf/ctrlr.c/
H A Dctrlr_ut.c364 subsystem.subtype = SPDK_NVMF_SUBTYPE_NVME; in test_get_log_page()
513 subsystem.subtype = SPDK_NVMF_SUBTYPE_NVME; in test_connect()
754 subsystem.subtype = SPDK_NVMF_SUBTYPE_DISCOVERY_CURRENT; in test_connect()
774 subsystem.subtype = SPDK_NVMF_SUBTYPE_DISCOVERY_CURRENT; in test_connect()
800 subsystem.subtype = SPDK_NVMF_SUBTYPE_DISCOVERY_CURRENT; in test_connect()
822 subsystem.subtype = SPDK_NVMF_SUBTYPE_NVME; in test_connect()
997 subsystem.subtype = SPDK_NVMF_SUBTYPE_NVME; in test_get_ns_id_desc_list()
1837 .subtype = SPDK_NVMF_SUBTYPE_NVME, in test_identify_ctrlr_iocs_specific()
1980 subsystem.subtype = SPDK_NVMF_SUBTYPE_NVME; in test_fused_compare_and_write()
2143 subsystem.subtype in test_get_ana_log_page_one_ns_per_anagrp()
[all...]
/spdk/test/unit/lib/nvme/nvme_qpair.c/
H A Dnvme_qpair_ut.c729 cmd.dptr.sgl1.generic.subtype = 0; in test_nvme_get_sgl_print_info()
739 cmd.dptr.sgl1.generic.subtype = 0; in test_nvme_get_sgl_print_info()
/spdk/python/spdk/spdkcli/
H A Dui_node_nvmf.py161 st = "st=%s" % self.subsystem.subtype
/spdk/test/app/fuzz/vhost_fuzz/
H A Dvhost_fuzz.c327 spdk_json_write_named_uint32(w, "subtype", io_ctx->req.scsi_tmf_req.subtype); in print_scsi_tmf_io_data()
653 io_ctx->req.scsi_tmf_req.subtype = tmp_val; in parse_vhost_scsi_mgmt_cmds()
/spdk/include/spdk/
H A Dnvmf_spec.h397 uint8_t subtype; member
/spdk/test/unit/lib/nvmf/ctrlr_discovery.c/
H A Dctrlr_discovery_ut.c480 ref1.entry.subtype = SPDK_NVMF_SUBTYPE_DISCOVERY; in test_discovery_log_with_filters()
491 ref2.entry.subtype = SPDK_NVMF_SUBTYPE_DISCOVERY; in test_discovery_log_with_filters()
/spdk/test/unit/lib/nvmf/tcp.c/
H A Dtcp_ut.c792 sgl->unkeyed.subtype = SPDK_NVME_SGL_SUBTYPE_TRANSPORT; in test_nvmf_tcp_qpair_init_mem_resource()
1081 sgl->unkeyed.subtype = SPDK_NVME_SGL_SUBTYPE_TRANSPORT; in test_nvmf_tcp_invalid_sgl()
1157 sgl->unkeyed.subtype = SPDK_NVME_SGL_SUBTYPE_TRANSPORT; in test_nvmf_tcp_pdu_ch_handle()
/spdk/lib/vhost/
H A Dvhost_scsi.c482 switch (ctrl_req->subtype) { in process_ctrl_request()
493 vsession->name, ctrl_req->subtype); in process_ctrl_request()
/spdk/module/vfu_device/
H A Dvfu_virtio_scsi.c419 switch (tmf_req->subtype) { in virtio_scsi_tmf_cmd_req()
/spdk/test/unit/lib/nvme/nvme_tcp.c/
H A Dnvme_tcp_ut.c567 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET); in test_nvme_tcp_req_init()
588 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET); in test_nvme_tcp_req_init()
1885 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.subtype == SPDK_NVME_SGL_SUBTYPE_OFFSET); in test_nvme_tcp_qpair_submit_request()

12