/spdk/lib/vmd/ |
H A D | vmd.c | 39 vmd_is_valid_cfg_addr(struct vmd_pci_bus *bus, uint64_t addr) in vmd_is_valid_cfg_addr() argument 41 return addr >= (uint64_t)bus->vmd->cfg_vaddr && in vmd_is_valid_cfg_addr() 42 addr < bus->vmd->cfgbar_size + (uint64_t)bus->vmd->cfg_vaddr; in vmd_is_valid_cfg_addr() 243 struct vmd_pci_bus *bus; in vmd_update_base_limit_register() local 251 bus = dev->bus_object; in vmd_update_base_limit_register() 253 bus = dev->parent; in vmd_update_base_limit_register() 256 bridge = bus->self; in vmd_update_base_limit_register() 260 if (dev->bus->vmd->scan_completed) { in vmd_update_base_limit_register() 264 while (bus in vmd_update_base_limit_register() 285 struct vmd_pci_bus *bus = dev->parent; vmd_get_base_addr() local 532 vmd_init_hotplug(struct vmd_pci_device * dev,struct vmd_pci_bus * bus) vmd_init_hotplug() argument 570 vmd_bus_device_present(struct vmd_pci_bus * bus,uint32_t devfn) vmd_bus_device_present() argument 588 vmd_alloc_dev(struct vmd_pci_bus * bus,uint32_t devfn) vmd_alloc_dev() argument 672 uint8_t bus = 0xff; vmd_get_next_bus_number() local 854 struct vmd_pci_bus *bus = vmd_device->bus; vmd_dev_detach() local 886 struct vmd_pci_bus *bus = dev->bus; vmd_init_end_device() local 946 vmd_scan_single_bus(struct vmd_pci_bus * bus,struct vmd_pci_device * parent_bridge,bool hotplug) vmd_scan_single_bus() argument 1104 vmd_reset_root_ports(struct vmd_pci_bus * bus) vmd_reset_root_ports() argument 1131 vmd_scan_pcibus(struct vmd_pci_bus * bus) vmd_scan_pcibus() argument 1266 struct vmd_pci_bus *bus; vmd_find_device() local 1331 struct vmd_pci_bus *bus; spdk_vmd_pci_device_list() local 1357 vmd_clear_hotplug_status(struct vmd_pci_bus * bus) vmd_clear_hotplug_status() argument 1372 vmd_bus_handle_hotplug(struct vmd_pci_bus * bus) vmd_bus_handle_hotplug() argument 1403 vmd_bus_handle_hotremove(struct vmd_pci_bus * bus) vmd_bus_handle_hotremove() argument 1417 struct vmd_pci_bus *bus; spdk_vmd_hotplug_monitor() local 1470 struct vmd_pci_bus *bus; spdk_vmd_rescan() local 1486 struct vmd_pci_bus *bus; vmd_attach_device() local [all...] |
H A D | vmd_internal.h | 68 struct vmd_pci_bus *bus; member 79 struct vmd_pci_bus *bus, *parent; member
|
H A D | vmd_spec.h | 65 #define CONFIG_OFFSET_ADDR(bus, device, function, reg) (((bus)<<20) | (device)<<15 | (function<<12)… argument
|
/spdk/lib/env_dpdk/22.07/ |
H A D | rte_bus.h | 290 void rte_bus_register(struct rte_bus *bus); 299 void rte_bus_unregister(struct rte_bus *bus); 343 typedef int (*rte_bus_cmp_t)(const struct rte_bus *bus, const void *data); 394 #define RTE_REGISTER_BUS(nm, bus) \ argument 397 (bus).name = RTE_STR(nm);\ 398 rte_bus_register(&bus); \
|
H A D | rte_dev.h | 89 const struct rte_bus *bus; /**< Bus handle assigned on scan */ member 235 struct rte_bus *bus; /**< bus handle. */ member
|
H A D | rte_bus_pci.h | 164 struct rte_pci_bus *bus; /**< PCI bus reference. */ member 177 struct rte_bus bus; /**< Inherit the generic class */ member
|
/spdk/test/common/config/pkgdep/patches/dpdk/20.11/ |
H A D | dpdk_pci.patch | 3 drivers/bus/pci/linux/pci.c | 4 ++-- 6 diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c 8 --- a/drivers/bus/pci/linux/pci.c 9 +++ b/drivers/bus/pci/linux/pci.c
|
/spdk/scripts/ |
H A D | qat_setup.sh | 71 /sys/bus/pci/drivers/c6xx/0000* 72 /sys/bus/pci/drivers/dh895xcc/0000* 73 /sys/bus/pci/drivers/4xxx/0000* 102 if [[ ! -e /sys/bus/pci/drivers/$qat_bdf/sriov_numvfs ]]; then 110 echo "$num_vfs" > /sys/bus/pci/drivers/$qat_bdf/sriov_numvfs 163 echo "${vf##*/}" > /sys/bus/pci/drivers_probe
|
H A D | setup.sh | 101 # /sys/bus/pci/drivers/ as neither lsmod nor /sys/modules might 114 -d /sys/bus/pci/drivers/${1} || 115 -d /sys/bus/pci/drivers/${1//-/_} ]]; then 152 echo "$bdf" > "/sys/bus/pci/devices/$bdf/driver/unbind" 162 echo "$driver_name" > "/sys/bus/pci/devices/$bdf/driver_override" 163 while ! echo "$bdf" > "/sys/bus/pci/drivers_probe" && ((probe_attempts++ < 10)); do 168 echo "" > "/sys/bus/pci/devices/$bdf/driver_override" 170 if [[ ! -e /sys/bus/pci/drivers/$driver_name/$bdf ]]; then 195 _driver=$(readlink -f "/sys/bus/pci/devices/$_bdf/driver") && _driver=${_driver##*/} 221 if [[ -e /sys/bus/pc [all...] |
H A D | common.sh | 117 [[ -e /sys/bus/pci/devices/$pci/iommu_group ]] || return 0 119 iommu_group=$(readlink -f "/sys/bus/pci/devices/$pci/iommu_group") 132 [[ -e /sys/bus/pci/devices ]] || return 1 139 for pci in /sys/bus/pci/devices/*; do 199 local pci=/sys/bus/pci/devices/$1 driver 322 if [[ -e /sys/bus/pci/drivers/nvme/$bdf ]] \ 485 IFS="/" read -ra dev_path < <(readlink -f "/sys/bus/pci/devices/$nvme_bdf")
|
H A D | ledctl.sh | 56 devpath=$(realpath --relative-to=/sys/devices /sys/bus/pci/devices/$nvme_pci_addr)
|
/spdk/lib/env_dpdk/22.11/ |
H A D | bus_driver.h | 282 void rte_bus_register(struct rte_bus *bus); 288 #define RTE_REGISTER_BUS(nm, bus) \ argument 291 (bus).name = RTE_STR(nm);\ 292 rte_bus_register(&bus); \ 303 void rte_bus_unregister(struct rte_bus *bus);
|
H A D | rte_bus.h | 36 const char *rte_bus_name(const struct rte_bus *bus); 80 typedef int (*rte_bus_cmp_t)(const struct rte_bus *bus, const void *data);
|
H A D | dev_driver.h | 32 const struct rte_bus *bus; /**< Bus handle assigned on scan */ member
|
/spdk/test/common/lib/ |
H A D | test_env.c | 554 unsigned domain, bus, dev, func; in spdk_pci_addr_parse() 562 if ((sscanf(bdf, "%x:%x:%x.%x", &domain, &bus, &dev, &func) == 4) || in spdk_pci_addr_parse() 563 (sscanf(bdf, "%x.%x.%x.%x", &domain, &bus, &dev, &func) == 4)) { in spdk_pci_addr_parse() 565 } else if (sscanf(bdf, "%x:%x:%x", &domain, &bus, &dev) == 3) { in spdk_pci_addr_parse() 567 } else if ((sscanf(bdf, "%x:%x.%x", &bus, &dev, &func) == 3) || in spdk_pci_addr_parse() 568 (sscanf(bdf, "%x.%x.%x", &bus, &dev, &func) == 3)) { in spdk_pci_addr_parse() 570 } else if ((sscanf(bdf, "%x:%x", &bus, &dev) == 2) || in spdk_pci_addr_parse() 571 (sscanf(bdf, "%x.%x", &bus, &dev) == 2)) { in spdk_pci_addr_parse() 578 if (bus > 0xFF || dev > 0x1F || func > 7) { in spdk_pci_addr_parse() 583 addr->bus in spdk_pci_addr_parse() 548 unsigned domain, bus, dev, func; spdk_pci_addr_parse() local [all...] |
/spdk/python/spdk/sma/device/ |
H A D | vhost_blk.py | 34 for bus in self._buses: 35 bus['count'] = bus.get('count', 32) 36 if bus['count'] < 0: 111 for bus in buses: 112 for dev in bus['devices']: 133 for bus in self._buses: 134 if phid >= bus.get('count'): 135 phid = phid - bus.get('count') 160 'bus': bus.get('name'),
|
H A D | nvmf_vfiouser.py | 38 for bus in self._buses: 39 bus['count'] = bus.get('count', 32) 40 if bus['count'] < 0: 140 for bus in buses: 141 rc = rsearch(bus['devices'], name) 149 for bus in self._buses: 150 if phid >= bus['count']: 151 phid = phid - bus['count'] 162 'bus': bus.get('name'),
|
/spdk/doc/ |
H A D | notify.md | 3 The notify library implements an event bus, allowing users to register, generate, 7 The event bus is implemented as a circular ring of fixed size. If event consumers 29 There might be multiple consumers of each event. The event bus is implemented as a
|
H A D | vmd.md | 46 $ 5d:05.5 RAID bus controller: Intel Corporation Device 201d (rev 04) 47 $ d7:05.5 RAID bus controller: Intel Corporation Device 201d (rev 04)
|
H A D | memory.md | 30 (DMA). Specifically, they send messages across the PCI bus requesting data 102 bus). The MMU knows about virtual to physical mappings per process on the 104 and then allows the user to assign arbitrary *bus addresses* to virtual 106 system memory are then translated through the IOMMU by converting the bus
|
/spdk/test/setup/ |
H A D | acl.sh | 31 [[ -e /sys/bus/pci/devices/$dev ]]
|
/spdk/test/nvmf/target/ |
H A D | device_removal.sh | 57 echo 1 > /sys/bus/pci/rescan 62 readlink -f /sys/bus/pci/devices/*/net/${dev_name}/device
|
/spdk/test/nvme/perf/ |
H A D | common.sh | 140 driver=$(grep DRIVER /sys/bus/pci/devices/$bdf/uevent | awk -F"=" '{print $2}') 143 cat /sys/bus/pci/devices/$bdf/numa_node 152 cat /sys/bus/pci/devices/$bdev_bdf/numa_node
|
/spdk/test/common/config/pkgdep/patches/qat/ |
H A D | 0001-phys_proc_id.patch |
|
/spdk/test/nvme/cmb/ |
H A D | cmb.sh | 113 if [[ -e /sys/bus/pci/drivers/nvme/${cmb_nvmes[nvme]} ]]; then
|