Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 44) sorted by relevance

12

/spdk/module/accel/error/
H A Daccel_error.c187 struct accel_error_inject_info *info = &errch->injects[opts->opcode]; in accel_error_unregister_cb()
195 static bool accel_error_supports_opcode(enum spdk_accel_opcode opcode); in accel_error_module_fini()
200 struct accel_error_inject_opts *curr = &g_injects[opts->opcode]; in accel_error_supports_opcode()
202 if (!accel_error_supports_opcode(opts->opcode)) { in accel_error_supports_opcode()
286 accel_error_supports_opcode(enum spdk_accel_opcode opcode)
288 switch (opcode) {
329 int opcode;
331 for (opcode = 0; opcode < SPDK_ACCEL_OPC_LAST; ++opcode) {
198 accel_error_supports_opcode(enum spdk_accel_opcode opcode) accel_error_supports_opcode() argument
241 int opcode; accel_error_write_config_json() local
[all...]
H A Daccel_error_rpc.c14 enum spdk_accel_opcode *opcode = out; in rpc_accel_error_decode_opcode() local
26 *opcode = (enum spdk_accel_opcode)i; in rpc_accel_error_decode_opcode()
64 {"opcode", offsetof(struct accel_error_inject_opts, opcode), rpc_accel_error_decode_opcode},
H A Daccel_error.h18 enum spdk_accel_opcode opcode; member
/spdk/include/spdk/
H A Discsi_spec.h99 uint8_t opcode : 6; member
117 uint8_t opcode : 6; /* opcode = 0x32 */ member
140 uint8_t opcode : 6; /* opcode = 0x03 */ member
159 uint8_t opcode : 6; /* opcode = 0x23 */ member
179 uint8_t opcode : 6; /* opcode = 0x06 */ member
197 uint8_t opcode : 6; /* opcode = 0x26 */ member
217 uint8_t opcode : 6; /* opcode = 0x20 */ member
233 uint8_t opcode : 6; /* opcode = 0x00 */ member
249 uint8_t opcode : 6; /* opcode = 0x31 */ member
267 uint8_t opcode : 6; /* opcode = 0x3f */ member
[all …]
H A Dnvmf_spec.h26 uint8_t opcode; member
168 uint8_t opcode; member
184 uint8_t opcode; member
210 uint8_t opcode; member
259 uint8_t opcode; member
291 uint8_t opcode; member
H A Dscsi.h611 const char *spdk_scsi_sbc_opcode_string(uint8_t opcode, uint16_t sa);
/spdk/test/app/fuzz/iscsi_fuzz/
H A Discsi_fuzz.c233 spdk_json_write_named_uint32(w, "opcode", io_ctx->req.bhs->opcode); in print_scsi_io_data()
307 int opcode; in iscsi_fuzz_pdu_hdr_handle() local
310 opcode = pdu->bhs.opcode; in iscsi_fuzz_pdu_hdr_handle()
311 if (opcode == ISCSI_OP_LOGIN_RSP) { in iscsi_fuzz_pdu_hdr_handle()
315 switch (opcode) { in iscsi_fuzz_pdu_hdr_handle()
330 fprintf(stderr, "Received hdr_handle response opcode from Target is 0x%x.\n", pdu->bhs.opcode); in iscsi_fuzz_pdu_hdr_handle()
367 int opcode; in iscsi_fuzz_pdu_payload_handle() local
370 opcode = pdu->bhs.opcode; in iscsi_fuzz_pdu_payload_handle()
371 fprintf(stderr, "Received payload_handle response opcode from Target is 0x%x.\n", opcode); in iscsi_fuzz_pdu_payload_handle()
373 switch (opcode) { in iscsi_fuzz_pdu_payload_handle()
[all …]
H A DREADME.md12 Especially, iSCSI initiator need to build different bhs according to different bhs opcode.
29 device 0x11c3b90 stats: Sent 1543 valid opcode PDUs, 16215 invalid opcode PDUs.
/spdk/test/unit/lib/nvme/nvme_fabric.c/
H A Dnvme_fabric_ut.c194 g_ut_cmd.opcode = cmd_tmp->opcode; in spdk_nvme_ctrlr_cmd_admin_raw()
232 CU_ASSERT(g_ut_cmd.opcode == SPDK_NVME_OPC_FABRIC); in test_nvme_fabric_prop_set_cmd()
253 CU_ASSERT(g_ut_cmd.opcode == SPDK_NVME_OPC_FABRIC); in test_nvme_fabric_prop_get_cmd()
265 CU_ASSERT(g_ut_cmd.opcode == SPDK_NVME_OPC_FABRIC); in test_nvme_fabric_prop_get_cmd()
376 CU_ASSERT(cmd->opcode == SPDK_NVME_OPC_FABRIC); in test_nvme_fabric_qpair_connect()
397 CU_ASSERT(cmd->opcode == SPDK_NVME_OPC_FABRIC); in test_nvme_fabric_qpair_connect()
/spdk/python/spdk/rpc/
H A Daccel.py121 def accel_error_inject_error(client, opcode, type, count=None, interval=None, errcode=None): argument
132 {'opcode': opcode, 'type': type, **params})
/spdk/lib/scsi/
H A Dscsi.c124 spdk_scsi_sbc_opcode_string(uint8_t opcode, uint16_t sa) in spdk_scsi_sbc_opcode_string()
130 if (scsi_sbc_opcode_strings[i].opc == opcode) { in spdk_scsi_sbc_opcode_string()
122 spdk_scsi_sbc_opcode_string(uint8_t opcode,uint16_t sa) spdk_scsi_sbc_opcode_string() argument
/spdk/test/bdev/
H A Dchaining.sh37 local event opcode rpc
39 event="$1" opcode="$2" rpc=${3:-rpc_cmd}
40 if [[ -z "$opcode" ]]; then
44 | jq -r ".operations[] | select(.opcode == \"$opcode\").$event"
/spdk/lib/iscsi/
H A Discsi.c235 rsph->opcode = ISCSI_OP_REJECT; in iscsi_reject()
446 if (pdu->bhs.opcode == ISCSI_OP_LOGIN_RSP) { in iscsi_build_iovs()
1198 rsph->opcode = ISCSI_OP_LOGIN_RSP; in iscsi_op_login_rsp_init()
2434 rsph->opcode = ISCSI_OP_TEXT_RSP; in iscsi_pdu_payload_op_text()
2574 rsph->opcode = ISCSI_OP_LOGOUT_RSP; in iscsi_pdu_hdr_op_logout()
2621 rsph->opcode = ISCSI_OP_R2T; in iscsi_send_r2t()
2661 if (pdu->bhs.opcode == ISCSI_OP_R2T) { in iscsi_remove_r2t_pdu_from_snack_list()
2938 rsph->opcode = ISCSI_OP_SCSI_DATAIN; in iscsi_send_datain()
3165 rsph->opcode = ISCSI_OP_SCSI_RSP; in iscsi_task_response()
3509 rsph->opcode in iscsi_task_mgmt_response()
3872 get_scsi_task_from_itt(struct spdk_iscsi_conn * conn,uint32_t task_tag,enum iscsi_op opcode) get_scsi_task_from_itt() argument
4425 int opcode; iscsi_update_cmdsn() local
4493 int opcode; iscsi_pdu_hdr_handle() local
4578 int opcode; iscsi_pdu_payload_handle() local
[all...]
H A Dconn.c667 int opcode; in iscsi_conn_destruct()
685 opcode = pdu->bhs.opcode; in iscsi_conn_destruct()
686 switch (opcode) { in iscsi_conn_destruct()
693 SPDK_ERRLOG("unexpected opcode %x\n", opcode); in iscsi_conn_destruct()
767 rsph->opcode = ISCSI_OP_ASYNC; in iscsi_send_logout_request()
1234 rsp->opcode = ISCSI_OP_NOPIN; in iscsi_conn_send_nopin()
1376 if (pdu->bhs.opcode == ISCSI_OP_R2T || in iscsi_dif_verify()
1377 pdu->bhs.opcode in iscsi_dif_verify()
658 int opcode; iscsi_conn_destruct() local
[all...]
/spdk/test/unit/lib/iscsi/iscsi.c/
H A Discsi_ut.c298 req_pdu->bhs.opcode = ISCSI_OP_SCSI; in maxburstlength_test()
323 CU_ASSERT(response_pdu->bhs.opcode == ISCSI_OP_R2T); in maxburstlength_test()
329 data_out_pdu->bhs.opcode = ISCSI_OP_SCSI_DATAOUT; in maxburstlength_test()
409 CU_ASSERT(pdu->bhs.opcode == ISCSI_OP_SCSI_DATAIN); in underflow_for_read_transfer_test()
471 CU_ASSERT(pdu->bhs.opcode == ISCSI_OP_SCSI_RSP); in underflow_for_zero_read_transfer_test()
546 CU_ASSERT(pdu1->bhs.opcode == ISCSI_OP_SCSI_DATAIN); in underflow_for_request_sense_test()
564 CU_ASSERT(pdu2->bhs.opcode == ISCSI_OP_SCSI_RSP); in underflow_for_request_sense_test()
633 CU_ASSERT(pdu->bhs.opcode == ISCSI_OP_SCSI_RSP); in underflow_for_check_condition_test()
1111 pdu.bhs.opcode = ISCSI_OP_SCSI; in build_iovs_test()
1250 pdu.bhs.opcode in build_iovs_with_md_test()
[all...]
/spdk/lib/idxd/
H A Didxd.c579 desc->opcode = IDXD_OPCODE_BATCH; in idxd_batch_submit()
705 desc->opcode = IDXD_OPCODE_MEMMOVE; in spdk_idxd_submit_copy()
799 desc->opcode = IDXD_OPCODE_DUALCAST; in spdk_idxd_submit_dualcast()
879 desc->opcode = IDXD_OPCODE_COMPARE; in spdk_idxd_submit_compare()
957 desc->opcode = IDXD_OPCODE_MEMFILL; in spdk_idxd_submit_fill()
1039 desc->opcode = IDXD_OPCODE_CRC32C_GEN; in spdk_idxd_submit_crc32c()
1132 desc->opcode = IDXD_OPCODE_COPY_CRC; in spdk_idxd_submit_copy_crc32c()
1189 desc->opcode = IDXD_OPCODE_COMPRESS; in _idxd_submit_compress_single()
1257 desc->opcode = IDXD_OPCODE_DECOMPRESS; in _idxd_submit_decompress_single()
1536 desc->opcode in spdk_idxd_submit_dif_check()
[all...]
/spdk/test/unit/lib/nvme/nvme_cuse.c/
H A Dnvme_cuse_ut.c330 passthru_cmd->opcode = SPDK_NVME_DATA_CONTROLLER_TO_HOST; in test_cuse_nvme_submit_passthru_cmd()
379 passthru_cmd->opcode = SPDK_NVME_DATA_CONTROLLER_TO_HOST; in test_cuse_nvme_submit_passthru_cmd_with_md()
471 user_io->opcode = SPDK_NVME_OPC_READ; in test_cuse_nvme_submit_io()
490 user_io->opcode = SPDK_NVME_OPC_WRITE; in test_cuse_nvme_submit_io()
509 user_io->opcode = SPDK_NVME_OPC_FLUSH; in test_cuse_nvme_submit_io()
/spdk/module/bdev/xnvme/
H A Dbdev_xnvme.c176 ctx->cmd.common.opcode = XNVME_SPEC_NVM_OPC_DATASET_MANAGEMENT; in _xnvme_submit_request()
200 ctx->cmd.common.opcode = XNVME_SPEC_NVM_OPC_READ; in _xnvme_submit_request()
206 ctx->cmd.common.opcode = XNVME_SPEC_NVM_OPC_WRITE; in bdev_xnvme_get_buf_cb()
212 ctx->cmd.common.opcode = XNVME_SPEC_NVM_OPC_WRITE_ZEROES; in bdev_xnvme_get_buf_cb()
/spdk/lib/rdma_provider/
H A Drdma_provider_mlx5_dv.c286 switch (tmp->opcode) { in spdk_rdma_provider_qp_flush_send_wrs()
300 SPDK_ERRLOG("Unexpected opcode %d\n", tmp->opcode); in spdk_rdma_provider_qp_flush_send_wrs()
/spdk/lib/nvme/
H A Dnvme_fabric.c32 cmd.opcode = SPDK_NVME_OPC_FABRIC; in nvme_fabric_prop_set_cmd()
119 cmd.opcode = SPDK_NVME_OPC_FABRIC; in nvme_fabric_prop_get_cmd()
539 cmd.opcode = SPDK_NVME_OPC_FABRIC; in nvme_fabric_qpair_connect_async()
H A Dnvme_cuse.c174 ctx->data_transfer = spdk_nvme_opc_get_data_transfer(passthru_cmd->opcode); in cuse_nvme_passthru_cmd_send()
177 ctx->nvme_cmd.opc = passthru_cmd->opcode; in cuse_nvme_passthru_cmd_send()
250 data_transfer = spdk_nvme_opc_get_data_transfer(passthru_cmd->opcode); in cuse_nvme_passthru_cmd()
625 switch (user_io->opcode) { in cuse_nvme_submit_io()
667 SPDK_ERRLOG("SUBMIT_IO: opc:%d not valid\n", user_io->opcode); in cuse_nvme_submit_io()
/spdk/test/unit/lib/bdev/crypto.c/
H A Dcrypto_ut.c79 (enum spdk_accel_opcode opcode, const struct spdk_accel_operation_exec_ctx *ctx), 0);
80 DEFINE_STUB(spdk_accel_get_opc_memory_domains, int, (enum spdk_accel_opcode opcode,
/spdk/lib/nvmf/
H A Drdma.c637 SPDK_ERRLOG("\t\tRequest opcode: %d\n", req->req.cmd->nvmf_cmd.opcode); in nvmf_rdma_dump_request()
799 rdma_req->rsp.wr.opcode = IBV_WR_SEND; in nvmf_rdma_resources_create()
1399 wr->opcode = IBV_WR_RDMA_WRITE; in nvmf_rdma_setup_wr()
1403 wr->opcode = IBV_WR_RDMA_READ; in nvmf_rdma_setup_wr()
1828 rdma_req->rsp.wr.opcode = IBV_WR_SEND_WITH_INV; in nvmf_rdma_request_fill_iovs_multi_sgl()
1872 rdma_req->rsp.wr.opcode = IBV_WR_SEND_WITH_INV; in nvmf_rdma_request_parse_sgl()
2172 rdma_req->rsp.wr.opcode = IBV_WR_SEND; in nvmf_rdma_request_process()
4571 if (bad_wr->opcode == IBV_WR_RDMA_READ) { in _poller_submit_sends()
4723 assert(wc[i].opcode in nvmf_rdma_poller_poll()
[all...]
H A Dctrlr.c3948 SPDK_INFOLOG(nvmf, "Unsupported admin opcode 0x%x\n", cmd->opc); in nvmf_ctrlr_async_event_reservation_notification()
4561 SPDK_DEBUGLOG(nvmf, "Reservation Conflict for nsid %u, opcode %u\n", in _nvmf_request_complete()
4575 SPDK_ERRLOG("Second fused cmd expected - failing first one (cntlid:%u, qid:%u, opcode:0x%x)\n", in _nvmf_request_complete()
4577 req->qpair->first_fused_req->cmd->nvmf_cmd.opcode); in _nvmf_request_complete()
4644 SPDK_INFOLOG(nvmf, "Unsupported IO opcode 0x%x\n", cmd->opc); in spdk_nvmf_request_exec_fabrics()
4689 uint8_t opcode; in nvmf_check_subsystem_active()
4695 opcode = req->cmd->nvmf_cmd.opcode; in nvmf_check_subsystem_active()
4753 if (spdk_unlikely(opcode == SPDK_NVME_OPC_FABRIC || in nvmf_check_qpair_active()
4826 if (spdk_unlikely(req->cmd->nvmf_cmd.opcode in nvmf_ctrlr_get_dif_ctx()
4519 uint8_t opcode; _nvmf_request_complete() local
[all...]
/spdk/test/unit/lib/bdev/compress.c/
H A Dcompress_ut.c64 DEFINE_STUB(spdk_accel_get_opc_module_name, int, (enum spdk_accel_opcode opcode,

12