Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 79) sorted by relevance

1234

/spdk/scripts/
H A Drpc.py38 parser.add_argument('-p', dest='port',
69 p = subparsers.add_parser('framework_start_init', help='Start initialization of subsystems') variable
70 p.set_defaults(func=framework_start_init)
75 p = subparsers.add_parser('framework_wait_init', help='Block until subsystems have been initialized') variable
76 p.set_defaults(func=framework_wait_init)
83 p = subparsers.add_parser('rpc_get_methods', help='Get list of supported RPC methods') variable
84 p.add_argument('-c', '--current', help='Get list of RPC methods only callable in the current state.', action='store_true')
85 p.add_argument('-i', '--include-aliases', help='include RPC aliases', action='store_true')
86 p.set_defaults(func=rpc_get_methods)
91 p variable
99 p = subparsers.add_parser('save_config', help="""Write current (live) configuration of SPDK subsystems and targets to stdout. global() variable
109 p = subparsers.add_parser('load_config', help="""Configure SPDK subsystems and targets using JSON RPC.""") global() variable
120 p = subparsers.add_parser('save_subsystem_config', help="""Write current (live) configuration of SPDK subsystem to stdout. global() variable
131 p = subparsers.add_parser('load_subsystem_config', help="""Configure SPDK subsystem using JSON RPC.""") global() variable
140 p = subparsers.add_parser('spdk_kill_instance', help='Send signal to instance') global() variable
153 p = subparsers.add_parser('framework_monitor_context_switch', global() variable
162 p = subparsers.add_parser( global() variable
174 p = subparsers.add_parser( global() variable
186 p = subparsers.add_parser( global() variable
193 p = subparsers.add_parser( global() variable
200 p = subparsers.add_parser('framework_disable_cpumask_locks', global() variable
207 p = subparsers.add_parser('framework_enable_cpumask_locks', global() variable
220 p = subparsers.add_parser('bdev_set_options', global() variable
236 p = subparsers.add_parser('bdev_examine', global() variable
244 p = subparsers.add_parser('bdev_wait_for_examine', global() variable
254 p = subparsers.add_parser('bdev_compress_create', help='Add a compress vbdev') global() variable
264 p = subparsers.add_parser('bdev_compress_delete', help='Delete a compress disk') global() variable
271 p = subparsers.add_parser( global() variable
285 p = subparsers.add_parser('bdev_crypto_create', help='Add a crypto vbdev') global() variable
299 p = subparsers.add_parser('bdev_crypto_delete', help='Delete a crypto disk') global() variable
310 p = subparsers.add_parser('bdev_ocf_create', help='Add an OCF block device') global() variable
327 p = subparsers.add_parser('bdev_ocf_delete', help='Delete an OCF block device') global() variable
334 p = subparsers.add_parser('bdev_ocf_get_stats', help='Get statistics of chosen OCF block device') global() variable
341 p = subparsers.add_parser('bdev_ocf_reset_stats', help='Reset statistics of chosen OCF block device') global() variable
348 p = subparsers.add_parser('bdev_ocf_get_bdevs', help='Get list of OCF devices including unregistered ones') global() variable
356 p = subparsers.add_parser('bdev_ocf_set_cache_mode', global() variable
368 p = subparsers.add_parser('bdev_ocf_set_seqcutoff', global() variable
381 p = subparsers.add_parser('bdev_ocf_flush_start', global() variable
388 p = subparsers.add_parser('bdev_ocf_flush_status', global() variable
406 p = subparsers.add_parser('bdev_malloc_create', help='Create a bdev with malloc backend') global() variable
430 p = subparsers.add_parser('bdev_malloc_delete', help='Delete a malloc disk') global() variable
449 p = subparsers.add_parser('bdev_null_create', help='Add a bdev with null backend') global() variable
468 p = subparsers.add_parser('bdev_null_delete', help='Delete a null bdev') global() variable
477 p = subparsers.add_parser('bdev_null_resize', global() variable
491 p = subparsers.add_parser('bdev_aio_create', help='Add a bdev with aio backend') global() variable
503 p = subparsers.add_parser('bdev_aio_rescan', help='Rescan a bdev size with aio backend') global() variable
511 p = subparsers.add_parser('bdev_aio_delete', help='Delete an aio disk') global() variable
522 p = subparsers.add_parser('bdev_uring_create', help='Create a bdev with io_uring backend') global() variable
533 p = subparsers.add_parser('bdev_uring_rescan', help='Rescan a bdev size with uring backend') global() variable
541 p = subparsers.add_parser('bdev_uring_delete', help='Delete a uring bdev') global() variable
551 p = subparsers.add_parser('bdev_xnvme_create', help='Create a bdev with xNVMe backend') global() variable
562 p = subparsers.add_parser('bdev_xnvme_delete', help='Delete a xNVMe bdev') global() variable
598 p = subparsers.add_parser('bdev_nvme_set_options', global() variable
689 p = subparsers.add_parser('bdev_nvme_set_hotplug', help='Set hotplug options for bdev nvme type.') global() variable
723 p = subparsers.add_parser('bdev_nvme_attach_controller', help='Add bdevs with nvme backend') global() variable
788 p = subparsers.add_parser( global() variable
804 p = subparsers.add_parser('bdev_nvme_detach_controller', global() variable
827 p = subparsers.add_parser('bdev_nvme_reset_controller', global() variable
838 p = subparsers.add_parser('bdev_nvme_enable_controller', global() variable
849 p = subparsers.add_parser('bdev_nvme_disable_controller', global() variable
869 p = subparsers.add_parser('bdev_nvme_start_discovery', help='Start automatic discovery') global() variable
911 p = subparsers.add_parser('bdev_nvme_stop_discovery', help='Stop automatic discovery') global() variable
918 p = subparsers.add_parser('bdev_nvme_get_discovery_info', help='Get information about the automatic discovery') global() variable
924 p = subparsers.add_parser('bdev_nvme_get_io_paths', help='Display active I/O paths') global() variable
933 p = subparsers.add_parser('bdev_nvme_set_preferred_path', global() variable
946 p = subparsers.add_parser('bdev_nvme_set_multipath_policy', global() variable
960 p = subparsers.add_parser('bdev_nvme_get_path_iostat', global() variable
970 p = subparsers.add_parser('bdev_nvme_cuse_register', global() variable
980 p = subparsers.add_parser('bdev_nvme_cuse_unregister', global() variable
993 p = subparsers.add_parser('bdev_zone_block_create', global() variable
1005 p = subparsers.add_parser('bdev_zone_block_delete', help='Delete a virtual zone namespace device') global() variable
1026 p = subparsers.add_parser('bdev_rbd_register_cluster', global() variable
1040 p = subparsers.add_parser('bdev_rbd_unregister_cluster', global() variable
1048 p = subparsers.add_parser('bdev_rbd_get_clusters_info', global() variable
1072 p = subparsers.add_parser('bdev_rbd_create', help='Add a bdev with ceph rbd backend') global() variable
1088 p = subparsers.add_parser('bdev_rbd_delete', help='Delete a rbd bdev') global() variable
1097 p = subparsers.add_parser('bdev_rbd_resize', global() variable
1113 p = subparsers.add_parser('bdev_delay_create', global() variable
1132 p = subparsers.add_parser('bdev_delay_delete', help='Delete a delay bdev') global() variable
1141 p = subparsers.add_parser('bdev_delay_update_latency', global() variable
1153 p = subparsers.add_parser('bdev_error_create', help='Add bdev with error injection backend') global() variable
1162 p = subparsers.add_parser('bdev_error_delete', help='Delete an error bdev') global() variable
1170 p = subparsers.add_parser('bdev_iscsi_set_options', help='Set options for the bdev iscsi type.') global() variable
1180 p = subparsers.add_parser('bdev_iscsi_create', global() variable
1191 p = subparsers.add_parser('bdev_iscsi_delete', help='Delete an iSCSI bdev') global() variable
1201 p = subparsers.add_parser('bdev_passthru_create', help='Add a pass through bdev on existing bdev') global() variable
1211 p = subparsers.add_parser('bdev_passthru_delete', help='Delete a pass through bdev') global() variable
1219 p = subparsers.add_parser('bdev_get_bdevs', global() variable
1233 p = subparsers.add_parser('bdev_get_iostat', global() variable
1243 p = subparsers.add_parser('bdev_reset_iostat', global() variable
1252 p = subparsers.add_parser('bdev_enable_histogram', global() variable
1262 p = subparsers.add_parser('bdev_get_histogram', global() variable
1272 p = subparsers.add_parser('bdev_set_qd_sampling_period', global() variable
1288 p = subparsers.add_parser('bdev_set_qos_limit', global() variable
1315 p = subparsers.add_parser('bdev_error_inject_error', help='bdev inject error') global() variable
1334 p = subparsers.add_parser('bdev_nvme_apply_firmware', help='Download and commit firmware to NVMe device') global() variable
1342 p = subparsers.add_parser('bdev_nvme_get_transport_statistics', global() variable
1350 p = subparsers.add_parser('bdev_nvme_get_controller_health_info', global() variable
1382 p = subparsers.add_parser('iscsi_set_options', global() variable
1419 p = subparsers.add_parser('iscsi_set_discovery_auth', global() variable
1437 p = subparsers.add_parser('iscsi_create_auth_group', global() variable
1448 p = subparsers.add_parser('iscsi_delete_auth_group', global() variable
1462 p = subparsers.add_parser('iscsi_auth_group_add_secret', global() variable
1474 p = subparsers.add_parser('iscsi_auth_group_remove_secret', global() variable
1483 p = subparsers.add_parser('iscsi_get_auth_groups', global() variable
1490 p = subparsers.add_parser('iscsi_get_portal_groups', help='Display current portal group configuration') global() variable
1496 p = subparsers.add_parser('iscsi_get_initiator_groups', global() variable
1503 p = subparsers.add_parser('iscsi_get_target_nodes', help='Display target nodes') global() variable
1509 p = subparsers.add_parser('iscsi_enable_histogram', global() variable
1519 p = subparsers.add_parser('iscsi_get_histogram', global() variable
1549 p = subparsers.add_parser('iscsi_create_target_node', help='Add a target node') global() variable
1585 p = subparsers.add_parser('iscsi_target_node_add_lun', global() variable
1603 p = subparsers.add_parser('iscsi_target_node_set_auth', global() variable
1626 p = subparsers.add_parser('iscsi_target_node_add_pg_ig_maps', global() variable
1644 p = subparsers.add_parser('iscsi_target_node_remove_pg_ig_maps', global() variable
1662 p = subparsers.add_parser('iscsi_target_node_set_redirect', global() variable
1677 p = subparsers.add_parser('iscsi_target_node_request_logout', global() variable
1704 p = subparsers.add_parser('iscsi_create_portal_group', global() variable
1722 p = subparsers.add_parser('iscsi_start_portal_group', global() variable
1741 p = subparsers.add_parser('iscsi_create_initiator_group', global() variable
1768 p = subparsers.add_parser('iscsi_initiator_group_add_initiators', global() variable
1796 p = subparsers.add_parser('iscsi_initiator_group_remove_initiators', global() variable
1811 p = subparsers.add_parser('iscsi_delete_target_node', global() variable
1820 p = subparsers.add_parser('iscsi_delete_portal_group', global() variable
1829 p = subparsers.add_parser('iscsi_delete_initiator_group', global() variable
1844 p = subparsers.add_parser('iscsi_portal_group_set_auth', global() variable
1860 p = subparsers.add_parser('iscsi_get_connections', global() variable
1867 p = subparsers.add_parser('iscsi_get_stats', global() variable
1874 p = subparsers.add_parser('iscsi_get_options', global() variable
1881 p = subparsers.add_parser('scsi_get_devices', help='Display SCSI devices') global() variable
1888 p = subparsers.add_parser('trace_enable_tpoint_group', global() variable
1898 p = subparsers.add_parser('trace_disable_tpoint_group', global() variable
1908 p = subparsers.add_parser('trace_set_tpoint_mask', global() variable
1922 p = subparsers.add_parser('trace_clear_tpoint_mask', global() variable
1936 p = subparsers.add_parser('trace_get_tpoint_group_mask', help='get trace point group mask') global() variable
1942 p = subparsers.add_parser('trace_get_info', global() variable
1950 p = subparsers.add_parser('log_set_flag', help='set log flag') global() variable
1958 p = subparsers.add_parser('log_clear_flag', help='clear log flag') global() variable
1966 p = subparsers.add_parser('log_get_flags', help='get log flags') global() variable
1972 p = subparsers.add_parser('log_set_level', help='set log level') global() variable
1979 p = subparsers.add_parser('log_get_level', help='get log level') global() variable
1985 p = subparsers.add_parser('log_set_print_level', help='set log print level') global() variable
1992 p = subparsers.add_parser('log_get_print_level', help='get log print level') global() variable
2007 p = subparsers.add_parser('bdev_lvol_create_lvstore', help='Add logical volume store on base bdev') global() variable
2021 p = subparsers.add_parser('bdev_lvol_rename_lvstore', help='Change logical volume store name') global() variable
2031 p = subparsers.add_parser('bdev_lvol_grow_lvstore', global() variable
2046 p = subparsers.add_parser('bdev_lvol_create', help='Add a bdev with an logical volume backend') global() variable
2061 p = subparsers.add_parser('bdev_lvol_snapshot', help='Create a snapshot of an lvol bdev') global() variable
2071 p = subparsers.add_parser('bdev_lvol_clone', help='Create a clone of an lvol snapshot') global() variable
2082 p = subparsers.add_parser('bdev_lvol_clone_bdev', global() variable
2094 p = subparsers.add_parser('bdev_lvol_rename', help='Change lvol bdev name') global() variable
2103 p = subparsers.add_parser('bdev_lvol_inflate', help='Make thin provisioned lvol a thick provisioned lvol') global() variable
2111 p = subparsers.add_parser('bdev_lvol_decouple_parent', help='Decouple parent of lvol') global() variable
2120 p = subparsers.add_parser('bdev_lvol_resize', help='Resize existing lvol bdev') global() variable
2129 p = subparsers.add_parser('bdev_lvol_set_read_only', help='Mark lvol bdev as read only') global() variable
2137 p = subparsers.add_parser('bdev_lvol_delete', help='Destroy a logical volume') global() variable
2146 p = subparsers.add_parser('bdev_lvol_start_shallow_copy', global() variable
2157 p = subparsers.add_parser('bdev_lvol_check_shallow_copy', help='Get shallow copy status') global() variable
2166 p = subparsers.add_parser('bdev_lvol_set_parent', help='Set the parent snapshot of a lvol') global() variable
2176 p = subparsers.add_parser('bdev_lvol_set_parent_bdev', help='Set the parent external snapshot of a lvol') global() variable
2186 p = subparsers.add_parser('bdev_lvol_delete_lvstore', help='Destroy an logical volume store') global() variable
2196 p = subparsers.add_parser('bdev_lvol_get_lvstores', help='Display current logical volume store list') global() variable
2206 p = subparsers.add_parser('bdev_lvol_get_lvols', help='Display current logical volume list') global() variable
2215 p = subparsers.add_parser('bdev_raid_set_options', global() variable
2226 p = subparsers.add_parser('bdev_raid_get_bdevs', global() variable
2247 p = subparsers.add_parser('bdev_raid_create', help='Create new raid bdev') global() variable
2260 p = subparsers.add_parser('bdev_raid_delete', help='Delete existing raid bdev') global() variable
2268 p = subparsers.add_parser('bdev_raid_add_base_bdev', help='Add base bdev to existing raid bdev') global() variable
2276 p = subparsers.add_parser('bdev_raid_remove_base_bdev', help='Remove base bdev from existing raid bdev') global() variable
2287 p = subparsers.add_parser('bdev_split_create', global() variable
2301 p = subparsers.add_parser('bdev_split_delete', help="""Delete split config with all created splits.""") global() variable
2317 p = subparsers.add_parser('bdev_ftl_create', help='Add FTL bdev') global() variable
2345 p = subparsers.add_parser('bdev_ftl_load', help='Load FTL bdev') global() variable
2364 p = subparsers.add_parser('bdev_ftl_unload', help='Unload FTL bdev') global() variable
2372 p = subparsers.add_parser('bdev_ftl_delete', help='Delete FTL bdev') global() variable
2382 p = subparsers.add_parser('bdev_ftl_unmap', help='FTL unmap') global() variable
2391 p = subparsers.add_parser('bdev_ftl_get_stats', help='print ftl stats') global() variable
2398 p = subparsers.add_parser('bdev_ftl_get_properties', help='Print FTL properties') global() variable
2407 p = subparsers.add_parser('bdev_ftl_set_property', help='Set FTL property') global() variable
2417 p = subparsers.add_parser('vmd_enable', aliases=['enable_vmd'], help='Enable VMD enumeration') global() variable
2423 p = subparsers.add_parser('vmd_remove_device', help='Remove a device behind VMD') global() variable
2430 p = subparsers.add_parser('vmd_rescan', help='Force a rescan of the devices behind VMD') global() variable
2438 p = subparsers.add_parser('ublk_create_target', global() variable
2446 p = subparsers.add_parser('ublk_destroy_target', global() variable
2457 p = subparsers.add_parser('ublk_start_disk', global() variable
2469 p = subparsers.add_parser('ublk_stop_disk', global() variable
2479 p = subparsers.add_parser('ublk_recover_disk', global() variable
2489 p = subparsers.add_parser('ublk_get_disks', global() variable
2500 p = subparsers.add_parser('nbd_start_disk', global() variable
2510 p = subparsers.add_parser('nbd_stop_disk', global() variable
2519 p = subparsers.add_parser('nbd_get_disks', global() variable
2529 p = subparsers.add_parser('nvmf_set_max_subsystems', global() variable
2542 p = subparsers.add_parser('nvmf_set_config', help='Set NVMf target config') global() variable
2557 p = subparsers.add_parser('nvmf_create_transport', help='Create NVMf transport') global() variable
2597 p = subparsers.add_parser('nvmf_get_transports', help='Display nvmf transports or required transport') global() variable
2605 p = subparsers.add_parser('nvmf_get_subsystems', help='Display nvmf subsystems or required subsystem') global() variable
2624 p = subparsers.add_parser('nvmf_create_subsystem', help='Create an NVMe-oF subsystem') global() variable
2648 p = subparsers.add_parser('nvmf_delete_subsystem', help='Delete a nvmf subsystem') global() variable
2657 p = subparsers.add_parser('nvmf_subsystem_add_listener', help='Add a listener to an NVMe-oF subsystem') global() variable
2678 p = subparsers.add_parser('nvmf_subsystem_remove_listener', help='Remove a listener from an NVMe-oF subsystem') global() variable
2698 p = subparsers.add_parser('nvmf_subsystem_listener_set_ana_state', help='Set ANA state of a listener for an NVMe-oF subsystem') global() variable
2712 p = subparsers.add_parser('nvmf_discovery_add_referral', help='Add a discovery service referral to an NVMe-oF target') global() variable
2732 p = subparsers.add_parser('nvmf_discovery_remove_referral', help='Remove a discovery service referral from an NVMe-oF target') global() variable
2745 p = subparsers.add_parser('nvmf_discovery_get_referrals', global() variable
2753 p = subparsers.add_parser('nvmf_subsystem_add_ns', help='Add a namespace to an NVMe-oF subsystem') global() variable
2773 p = subparsers.add_parser('nvmf_subsystem_remove_ns', help='Remove a namespace to an NVMe-oF subsystem') global() variable
2787 nvmf_ns_visible_add_args(p) global() argument
2793 p = subparsers.add_parser('nvmf_ns_add_host', help='Make namespace visible to controllers of host') global() variable
2805 p = subparsers.add_parser('nvmf_ns_remove_host', help='Make namespace not visible to controlelrs of host') global() variable
2818 p = subparsers.add_parser('nvmf_subsystem_add_host', help='Add a host to an NVMe-oF subsystem') global() variable
2833 p = subparsers.add_parser('nvmf_subsystem_remove_host', help='Remove a host from an NVMe-oF subsystem') global() variable
2845 p = subparsers.add_parser('nvmf_subsystem_allow_any_host', help='Allow any host to connect to the subsystem') global() variable
2857 p = subparsers.add_parser('nvmf_subsystem_get_controllers', global() variable
2868 p = subparsers.add_parser('nvmf_subsystem_get_qpairs', global() variable
2879 p = subparsers.add_parser('nvmf_subsystem_get_listeners', global() variable
2888 p = subparsers.add_parser( global() variable
2896 p = subparsers.add_parser( global() variable
2908 p = subparsers.add_parser('nvmf_publish_mdns_prr', global() variable
2916 p = subparsers.add_parser('nvmf_stop_mdns_prr', global() variable
2925 p = subparsers.add_parser('framework_get_subsystems', global() variable
2933 p = subparsers.add_parser('framework_get_config', help="""Print subsystem configuration""") global() variable
2944 p = subparsers.add_parser('vhost_controller_set_coalescing', help='Set vhost controller coalescing') global() variable
2953 p = subparsers.add_parser('virtio_blk_create_transport', global() variable
2961 p = subparsers.add_parser('virtio_blk_get_transports', help='Display virtio-blk transports or requested transport') global() variable
2971 p = subparsers.add_parser('vhost_create_scsi_controller', help='Add new vhost controller') global() variable
2981 p = subparsers.add_parser('vhost_start_scsi_controller', help='Start vhost scsi controller') global() variable
2991 p = subparsers.add_parser('vhost_scsi_controller_add_target', help='Add lun to vhost controller') global() variable
3002 p = subparsers.add_parser('vhost_scsi_controller_remove_target', global() variable
3011 p = subparsers.add_parser('vhost_create_blk_controller', help='Add a new vhost block controller') global() variable
3023 p = subparsers.add_parser('vhost_get_controllers', help='List all or specific vhost controller(s)') global() variable
3031 p = subparsers.add_parser('vhost_delete_controller', help='Delete a vhost controller') global() variable
3044 p = subparsers.add_parser('bdev_virtio_attach_controller', global() variable
3063 p = subparsers.add_parser('bdev_virtio_scsi_get_devices', help='List all Virtio-SCSI devices.') global() variable
3070 p = subparsers.add_parser('bdev_virtio_detach_controller', help="""Remove a Virtio device global() variable
3078 p = subparsers.add_parser('bdev_virtio_blk_set_hotplug', help='Set hotplug options for bdev virtio_blk type.') global() variable
3089 p = subparsers.add_parser('vfu_tgt_set_base_path', help='Set socket base path.') global() variable
3096 p = subparsers.add_parser('vfu_virtio_delete_endpoint', help='Delete the PCI device via endpoint name.') global() variable
3109 p = subparsers.add_parser('vfu_virtio_create_blk_endpoint', help='Create virtio-blk endpoint.') global() variable
3124 p = subparsers.add_parser('vfu_virtio_scsi_add_target', help='Attach a block device to SCSI target of PCI endpoint.') global() variable
3135 p = subparsers.add_parser('vfu_virtio_scsi_remove_target', help='Remove the specified SCSI target of PCI endpoint.') global() variable
3148 p = subparsers.add_parser('vfu_virtio_create_scsi_endpoint', help='Create virtio-scsi endpoint.') global() variable
3160 p = subparsers.add_parser('accel_get_opc_assignments', help='Get list of opcode name to module assignments.') global() variable
3166 p = subparsers.add_parser('accel_get_module_info', aliases=['accel_get_engine_info'], global() variable
3173 p = subparsers.add_parser('accel_assign_opc', help='Manually assign an operation to a module.') global() variable
3186 p = subparsers.add_parser('accel_crypto_key_create', help='Create encryption key') global() variable
3198 p = subparsers.add_parser('accel_crypto_key_destroy', help='Destroy encryption key') global() variable
3206 p = subparsers.add_parser('accel_crypto_keys_get', help='Get a list of the crypto keys') global() variable
3213 p = subparsers.add_parser('accel_set_driver', help='Select accel platform driver to execute ' + global() variable
3222 p = subparsers.add_parser('accel_set_options', help='Set accel framework\'s options') global() variable
3233 p = subparsers.add_parser('accel_get_stats', help='Display accel framework\'s statistics') global() variable
3240 p = subparsers.add_parser('ioat_scan_accel_module', aliases=['ioat_scan_accel_engine'], global() variable
3248 p = subparsers.add_parser('compressdev_scan_accel_module', help='Scan and enable compressdev module and set pmd option.') global() variable
3256 p = subparsers.add_parser('dsa_scan_accel_module', aliases=['dsa_scan_accel_engine'], global() variable
3266 p = subparsers.add_parser('iaa_scan_accel_module', aliases=['iaa_scan_accel_engine'], global() variable
3273 p = subparsers.add_parser('dpdk_cryptodev_scan_accel_module', global() variable
3281 p = subparsers.add_parser('dpdk_cryptodev_set_driver', global() variable
3289 p = subparsers.add_parser('dpdk_cryptodev_get_driver', help='Get the DPDK cryptodev driver') global() variable
3299 p = subparsers.add_parser('mlx5_scan_accel_module', help='Enable mlx5 accel module.') global() variable
3311 p = subparsers.add_parser('accel_error_inject_error', global() variable
3328 p = subparsers.add_parser('bdev_nvme_opal_init', help='take ownership and activate') global() variable
3337 p = subparsers.add_parser('bdev_nvme_opal_revert', help='Revert to default factory settings') global() variable
3351 p = subparsers.add_parser('bdev_opal_create', help="""Create opal bdev on specified NVMe controller""") global() variable
3365 p = subparsers.add_parser('bdev_opal_get_info', help='get opal locking range info for this bdev') global() variable
3375 p = subparsers.add_parser('bdev_opal_delete', help="""delete a virtual opal bdev""") global() variable
3387 p = subparsers.add_parser('bdev_opal_new_user', help="""Add a user to opal bdev who can set lock state for this bdev""") global() variable
3401 p = subparsers.add_parser('bdev_opal_set_lock_state', help="""set lock state for an opal bdev""") global() variable
3422 p = subparsers.add_parser('bdev_nvme_send_cmd', help='NVMe passthrough cmd.') global() variable
3439 p = subparsers.add_parser('notify_get_types', help='List available notifications that user can subscribe to.') global() variable
3448 p = subparsers.add_parser('notify_get_notifications', help='Get notifications') global() variable
3456 p = subparsers.add_parser( global() variable
3464 p = subparsers.add_parser('thread_set_cpumask', global() variable
3474 p = subparsers.add_parser('log_enable_timestamps', global() variable
3483 p = subparsers.add_parser( global() variable
3490 p = subparsers.add_parser( global() variable
3497 p = subparsers.add_parser( global() variable
3506 p = subparsers.add_parser('blobfs_detect', help='Detect whether a blobfs exists on bdev') global() variable
3515 p = subparsers.add_parser('blobfs_create', help='Build a blobfs on bdev') global() variable
3526 p = subparsers.add_parser('blobfs_mount', help='Mount a blobfs on bdev to host path by FUSE') global() variable
3535 p = subparsers.add_parser('blobfs_set_cache_size', help='Set cache size for blobfs') global() variable
3544 p = subparsers.add_parser('sock_impl_get_options', help="""Get options of socket layer implementation""") global() variable
3562 p = subparsers.add_parser('sock_impl_set_options', help="""Set options of socket layer implementation""") global() variable
3597 p = subparsers.add_parser('sock_set_default_impl', help="""Set the default sock implementation""") global() variable
3604 p = subparsers.add_parser('sock_get_default_impl', help="Get the default sock implementation name") global() variable
3621 p = subparsers.add_parser('framework_get_pci_devices', help='''Get a list of attached PCI devices''') global() variable
3637 p = subparsers.add_parser('bdev_nvme_add_error_injection', global() variable
3657 p = subparsers.add_parser('bdev_nvme_remove_error_injection', global() variable
3674 p = subparsers.add_parser('bdev_daos_create', global() variable
3690 p = subparsers.add_parser('bdev_daos_delete', global() variable
3700 p = subparsers.add_parser('bdev_daos_resize', global() variable
3712 p = subparsers.add_parser('iobuf_set_options', help='Set iobuf pool options') global() variable
3722 p = subparsers.add_parser('iobuf_get_stats', help='Display iobuf statistics') global() variable
3731 p = subparsers.add_parser('bdev_nvme_start_mdns_discovery', help='Start mdns based automatic discovery') global() variable
3740 p = subparsers.add_parser('bdev_nvme_stop_mdns_discovery', help='Stop automatic mdns discovery') global() variable
3747 p = subparsers.add_parser('bdev_nvme_get_mdns_discovery_info', help='Get information about the automatic mdns discovery') global() variable
3753 p = subparsers.add_parser('keyring_file_add_key', help='Add a file-based key to the keyring') global() variable
3761 p = subparsers.add_parser('keyring_file_remove_key', help='Remove a file-based key from the keyring') global() variable
3768 p = subparsers.add_parser('keyring_get_keys', help='Get a list of registered keys') global() variable
3774 p = subparsers.add_parser('keyring_linux_set_options', help='Set options of the keyring_linux module') global() variable
[all...]
/spdk/lib/iscsi/
H A Dportal_grp.c58 struct spdk_iscsi_portal *p; in iscsi_portal_find_by_addr() local
60 TAILQ_FOREACH(p, &g_iscsi.portal_head, g_tailq) { in iscsi_portal_find_by_addr()
61 if (!strcmp(p->host, host) && !strcmp(p->port, port)) { in iscsi_portal_find_by_addr()
62 return p; in iscsi_portal_find_by_addr()
73 struct spdk_iscsi_portal *p = NULL, *tmp; in iscsi_portal_create() local
82 p = calloc(1, sizeof(*p)); in iscsi_portal_create()
83 if (!p) { in iscsi_portal_create()
93 snprintf(p->host, sizeof(p->host), "[::]"); in iscsi_portal_create()
98 snprintf(p->host, sizeof(p->host), "0.0.0.0"); in iscsi_portal_create()
100 memcpy(p->host, host, strlen(host)); in iscsi_portal_create()
[all …]
H A Dinit_grp.c50 char *p; in iscsi_init_grp_add_initiator() local
78 p = strstr(iname->name, "ALL"); in iscsi_init_grp_add_initiator()
79 if (p != NULL) { in iscsi_init_grp_add_initiator()
82 memcpy(p, "ANY", 3); in iscsi_init_grp_add_initiator()
184 char *p; in iscsi_init_grp_add_netmask() local
212 p = strstr(imask->mask, "ALL"); in iscsi_init_grp_add_netmask()
213 if (p != NULL) { in iscsi_init_grp_add_netmask()
216 memcpy(p, "ANY", 3); in iscsi_init_grp_add_netmask()
/spdk/test/env/vtophys/
H A Dvtophys.c22 void *p = NULL; in vtophys_malloc_test() local
29 p = malloc(size); in vtophys_malloc_test()
30 if (p == NULL) { in vtophys_malloc_test()
34 paddr = spdk_vtophys(p, NULL); in vtophys_malloc_test()
37 free(p); in vtophys_malloc_test()
49 void *buf = NULL, *p = NULL; in vtophys_spdk_malloc_test() local
67 p = buf; in vtophys_spdk_malloc_test()
69 while (p < buf + size) { in vtophys_spdk_malloc_test()
70 paddr = spdk_vtophys(p, &tmpsize); in vtophys_spdk_malloc_test()
73 p in vtophys_spdk_malloc_test()
[all...]
/spdk/lib/util/
H A Dstring.c78 char *p; in spdk_strlwr() local
84 p = s; in spdk_strlwr()
85 while (*p != '\0') { in spdk_strlwr()
86 *p = tolower(*p); in spdk_strlwr()
87 p++; in spdk_strlwr()
96 char *p, *q, *r; in spdk_strsepq() local
99 p = *stringp; in spdk_strsepq()
100 if (p == NULL) { in spdk_strsepq()
104 r = q = p; in spdk_strsepq()
155 return p; in spdk_strsepq()
[all …]
H A Dbase64_neon.c85 load_64byte_table(const uint8_t *p) in load_64byte_table() argument
88 ret.val[0] = vld1q_u8(p + 0); in load_64byte_table()
89 ret.val[1] = vld1q_u8(p + 16); in load_64byte_table()
90 ret.val[2] = vld1q_u8(p + 32); in load_64byte_table()
91 ret.val[3] = vld1q_u8(p + 48); in load_64byte_table()
/spdk/test/unit/lib/iscsi/portal_grp.c/
H A Dportal_grp_ut.c38 struct spdk_iscsi_portal *p; in portal_create_ipv4_normal_case() local
43 p = iscsi_portal_create(host, port); in portal_create_ipv4_normal_case()
44 CU_ASSERT(p != NULL); in portal_create_ipv4_normal_case()
46 iscsi_portal_destroy(p); in portal_create_ipv4_normal_case()
53 struct spdk_iscsi_portal *p; in portal_create_ipv6_normal_case() local
58 p = iscsi_portal_create(host, port); in portal_create_ipv6_normal_case()
59 CU_ASSERT(p != NULL); in portal_create_ipv6_normal_case()
61 iscsi_portal_destroy(p); in portal_create_ipv6_normal_case()
68 struct spdk_iscsi_portal *p; in portal_create_ipv4_wildcard_case() local
73 p = iscsi_portal_create(host, port); in portal_create_ipv4_wildcard_case()
[all …]
/spdk/lib/json/
H A Djson_parse.c237 uint8_t *p = start; in json_valid_number() local
240 if (p >= buf_end) { return -1; } in json_valid_number()
242 c = *p++; in json_valid_number()
246 p--; in json_valid_number()
250 if (spdk_likely(p != buf_end)) { in json_valid_number()
251 c = *p++; in json_valid_number()
254 p--; in json_valid_number()
259 if (spdk_likely(p != buf_end)) { in json_valid_number()
260 c = *p++; in json_valid_number()
264 p--; in json_valid_number()
[all …]
H A Djson_write.c327 char *p = dest; in write_hex_2() local
330 p[0] = hex[val >> 4]; in write_hex_2()
331 p[1] = hex[val & 0xf]; in write_hex_2()
394 const uint8_t *p = val; in write_string_or_name() local
399 while (p != end) { in write_string_or_name()
403 codepoint_len = utf8_valid(p, end); in write_string_or_name()
406 codepoint = utf8_decode_unsafe_1(p); in write_string_or_name()
409 codepoint = utf8_decode_unsafe_2(p); in write_string_or_name()
412 codepoint = utf8_decode_unsafe_3(p); in write_string_or_name()
415 codepoint = utf8_decode_unsafe_4(p); in write_string_or_name()
[all …]
/spdk/test/event/scheduler/
H A Dscheduler_plugin.py32 p = subparsers.add_parser('scheduler_thread_create', help='Create spdk thread')
33 p.add_argument('-n', '--name', help='Name of spdk thread and poller')
34 p.add_argument('-m', '--cpu_mask', help='CPU mask for spdk thread')
35 p.add_argument('-a', '--active', help='Percent of time thread is active', type=int)
36 p.set_defaults(func=create_thread)
38p = subparsers.add_parser('scheduler_thread_set_active', help='Change percent of time the spdk thr…
39 p.add_argument('thread_id', help='spdk_thread id', type=int)
40 p.add_argument('active', help='Percent of time thread is active', type=int)
41 p.set_defaults(func=thread_set_active)
43 p = subparsers.add_parser('scheduler_thread_delete', help='Delete spdk thread')
[all …]
/spdk/test/rpc_plugins/
H A Dscheduler_plugin.py32 p = subparsers.add_parser('scheduler_thread_create', help='Create spdk thread')
33 p.add_argument('-n', '--name', help='Name of spdk thread and poller')
34 p.add_argument('-m', '--cpu_mask', help='CPU mask for spdk thread')
35 p.add_argument('-a', '--active', help='Percent of time thread is active', type=int)
36 p.set_defaults(func=create_thread)
38p = subparsers.add_parser('scheduler_thread_set_active', help='Change percent of time the spdk thr…
39 p.add_argument('thread_id', help='spdk_thread id', type=int)
40 p.add_argument('active', help='Percent of time thread is active', type=int)
41 p.set_defaults(func=thread_set_active)
43 p = subparsers.add_parser('scheduler_thread_delete', help='Delete spdk thread')
[all …]
H A Drpc_plugin.py23 p = subparsers.add_parser('create_malloc', help='Create malloc backend')
24 p.set_defaults(func=create_malloc)
26 p = subparsers.add_parser('delete_malloc', help='Delete malloc backend')
27 p.add_argument('name', help='malloc bdev name')
28 p.set_defaults(func=malloc_delete)
/spdk/include/spdk_internal/
H A Dutf.h30 const uint8_t *p = start; in utf8_valid() local
33 if (p == end) { in utf8_valid()
37 b0 = *p; in utf8_valid()
48 if (++p == end) { in utf8_valid()
52 b1 = *p; in utf8_valid()
62 if (++p == end) { in utf8_valid()
66 b2 = *p; in utf8_valid()
88 if (++p == end) { in utf8_valid()
92 b3 = *p; in utf8_valid()
232 const uint16_t *p = start; in utf16le_valid() local
[all …]
/spdk/lib/conf/
H A Dconf.c436 char *p; in parse_line() local
454 for (p = key; *p != '\0' && !isdigit((int) *p); p++) in parse_line()
456 if (*p != '\0') { in parse_line()
457 num = (int)spdk_strtol(p, 10); in parse_line()
536 char *dst, *dst2, *p; in fgets_line() local
539 dst = p = malloc(LIB_MAX_TMPBUF); in fgets_line()
547 while (fgets(p, LIB_MAX_TMPBUF, fp) != NULL) { in fgets_line()
548 len = strlen(p); in fgets_line()
568 p = dst + total; in fgets_line()
594 char *lp, *p; in spdk_conf_read() local
[all …]
/spdk/test/nvmf/target/
H A Dmultitarget_rpc.py44 p = subparsers.add_parser('nvmf_create_target', help='Create a new NVMe-oF target') variable
45p.add_argument('-n', '--name', help='Target name (unique to application)', type=str, required=True)
46p.add_argument('-s', '--max-subsystems', help='Max number of NVMf subsystems defaults to SPDK_NVMF…
48 p.set_defaults(func=nvmf_create_target)
54 p = subparsers.add_parser('nvmf_delete_target', help='Destroy the given NVMe-oF Target') variable
55p.add_argument('-n', '--name', help='Target name (unique to application)', type=str, required=True)
56 p.set_defaults(func=nvmf_delete_target)
61 p = subparsers.add_parser('nvmf_get_targets', help='Get the list of NVMe-oF Targets') variable
62 p.set_defaults(func=nvmf_get_targets)
/spdk/test/rpc/
H A Drpc_plugin.py23 p = subparsers.add_parser('create_malloc', help='Create malloc backend')
24 p.set_defaults(func=create_malloc)
26 p = subparsers.add_parser('delete_malloc', help='Delete malloc backend')
27 p.add_argument('name', help='malloc bdev name')
28 p.set_defaults(func=malloc_delete)
/spdk/test/app/fuzz/common/
H A Dfuzz_rpc.py77 p = subparsers.add_parser('fuzz_vhost_create_dev', help="Add a new device to the vhost fuzzer.") variable
78 p.add_argument('-s', '--socket', help="Path to a valid unix domain socket for dev binding.")
79p.add_argument('-b', '--is-blk', help='The specified socket corresponds to a vhost-blk dev.', acti…
80p.add_argument('-u', '--use-bogus-buffer', help='Pass bogus buffer addresses with requests when fu…
81p.add_argument('-v', '--use-valid-buffer', help='Pass valid buffers when fuzzing. overrides use-bo…
82p.add_argument('-m', '--test-scsi-tmf', help='for a scsi device, test scsi management commands.', …
83p.add_argument('-l', '--valid-lun', help='for a scsi device, test only using valid lun IDs.', acti…
84 p.set_defaults(func=fuzz_vhost_create_dev)
/spdk/scripts/bpf/
H A Dnvmf.bt44 printf("%d.%06d: add qpair: %p to poll group on thread %d\n",
56 printf("%d.%06d: remove qpair: %p from poll group on thread %d\n",
62 printf("%d.%06d: disconnect qpair: %p from poll group on thread %d\n",
68 printf("%d.%06d: destroy qpair: %p on transport layer\n",
74 printf("%d.%06d: drain qpair: %p from poll group on thread %d\n",
80 printf("%d.%06d: %s add qpair: %p, qid: %d for host: %s\n",
134 printf("%d.%06d: subsystem: %s add controller: %p on host: %s\n",
140 printf("%d.%06d: subsystem: %s remove controller: %p on host: %s\n",
146 printf("%d.%06d: add qpair: %p with id: %d to poll group on thread: %lu\n",
152 printf("%d.%06d: remove qpair: %p with id: %d from poll group on thread: %lu\n",
[all …]
H A Dintr-wakeups.bt31 printf("%llums:%s: fd:%d %s(%p)\n", elapsed / 1000000, probe, arg2, usym(arg3), arg4);
39 printf("%llums:%s: %s(%p)\n", elapsed / 1000000, probe, usym(arg1), arg2);
47 printf("%llums:%s: %s(%p)\n", elapsed / 1000000, probe, usym(arg1), arg2);
55 printf("%llums:%s: %s(%p, %p)\n", elapsed / 1000000, probe, usym(arg1),
/spdk/lib/env_dpdk/22.07/
H A Drte_bus_pci.h44 #define FOREACH_DEVICE_ON_PCIBUS(p) \ argument
45 RTE_TAILQ_FOREACH(p, &(rte_pci_bus.device_list), next)
47 #define FOREACH_DRIVER_ON_PCIBUS(p) \ argument
48 RTE_TAILQ_FOREACH(p, &(rte_pci_bus.driver_list), next)
352 struct rte_pci_ioport *p);
362 int rte_pci_ioport_unmap(struct rte_pci_ioport *p);
376 void rte_pci_ioport_read(struct rte_pci_ioport *p,
391 void rte_pci_ioport_write(struct rte_pci_ioport *p,
/spdk/examples/interrupt_tgt/
H A Dinterrupt_plugin.py14 p = subparsers.add_parser('reactor_set_interrupt_mode',
16 p.add_argument('lcore', type=int, help='lcore of the reactor')
17 p.add_argument('-d', '--disable-interrupt', dest='disable_interrupt', action='store_true',
19 p.set_defaults(func=reactor_set_interrupt_mode)
/spdk/lib/env_dpdk/22.11/
H A Drte_bus_pci.h154 struct rte_pci_ioport *p);
164 int rte_pci_ioport_unmap(struct rte_pci_ioport *p);
178 void rte_pci_ioport_read(struct rte_pci_ioport *p,
193 void rte_pci_ioport_write(struct rte_pci_ioport *p,
/spdk/doc/
H A Dtwo.min.js31 …Size(c,a,this.ratio);this.trigger(p.Events.resize,c,a)}function m(){L(m);for(var a=0;a<p.Instances…
38 …etTimeout(function(){c(e+d)},d);a=e+d;return f}}f.init=d.once(m);return f}},p=l.Two=function(a){a=…
39p.Types.svg,autostart:!1});d.each(a,function(a,c){"fullscreen"!==c&&"autostart"!==c&&(this[c]=a)},…
40 …h,this.height=a.height);this.scene=this.renderer.scene;p.Instances.push(this);L.init()};d.extend(p
42 …Function(a.unbind)&&a.unbind()})),a.children&&d.each(a.children,function(a){p.Utils.release(a)}))}…
48 …ngStorePixelRatio||a.backingStorePixelRatio||1},getRatio:function(a){return p.Utils.devicePixelRat…
49p.Matrix;for(var f=[];a&&a._matrix;)f.push(a._matrix),a=a.parent;f.reverse();d.each(f,function(a){…
51 …transform":if("none"===y)break;if(null===(a.getCTM?a.getCTM():null))break;f=p.Utils.decomposeMatri…
52 …")}return c},read:{svg:function(){return p.Utils.read.g.apply(this,arguments)},g:function(a){var c…
53p.Utils.read&&(d=p.Utils.read[g].call(c,d),c.add(d))}return c},polygon:function(a,c){var f=[];a.ge…
[all …]
/spdk/examples/nvme/hotplug/
H A Dhotplug_plugin.py13 p = subparsers.add_parser('perform_tests',
15 p.set_defaults(func=perform_tests)
/spdk/test/json_config/
H A Dclear_config.py192p = subparsers.add_parser('clear_config', help="""Clear configuration of all SPDK subsystems and t… variable
193 p.set_defaults(func=clear_config)
206p = subparsers.add_parser('clear_subsystem', help="""Clear configuration of SPDK subsystem using J… variable
207 p.add_argument('--subsystem', help="""Subsystem name""")
208 p.set_defaults(func=clear_subsystem)

1234