Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 25 of 48) sorted by relevance

12

/dpdk/drivers/bus/auxiliary/
H A Dauxiliary_common.c94 if (drv == NULL || dev == NULL) in rte_auxiliary_probe_one_driver()
98 if (!auxiliary_match(drv, dev)) in rte_auxiliary_probe_one_driver()
120 drv->driver.name); in rte_auxiliary_probe_one_driver()
133 dev->driver = drv; in rte_auxiliary_probe_one_driver()
137 ret = drv->probe(drv, dev); in rte_auxiliary_probe_one_driver()
161 drv = dev->driver; in rte_auxiliary_driver_remove_dev()
166 if (drv->remove != NULL) { in rte_auxiliary_driver_remove_dev()
167 ret = drv->remove(dev); in rte_auxiliary_driver_remove_dev()
194 if (!drv->match(dev->name)) in auxiliary_probe_all_drivers()
249 if (drv->match(name)) in auxiliary_parse()
[all …]
H A Drte_bus_auxiliary.h59 typedef int(rte_auxiliary_probe_t)(struct rte_auxiliary_driver *drv,
/dpdk/drivers/raw/ifpga/base/
H A Difpga_feature_dev.c251 while (drv->name) { in get_fme_feature_name()
252 if (drv->id == id) in get_fme_feature_name()
253 return drv->name; in get_fme_feature_name()
255 drv++; in get_fme_feature_name()
265 while (drv->name) { in get_port_feature_name()
266 if (drv->id == id) in get_port_feature_name()
267 return drv->name; in get_port_feature_name()
269 drv++; in get_port_feature_name()
293 while (drv->ops) { in feature_init()
298 feature->ops = drv->ops; in feature_init()
[all …]
/dpdk/drivers/bus/fslmc/
H A Dfslmc_bus.c392 struct rte_dpaa2_driver *drv; in rte_fslmc_probe() local
455 TAILQ_FOREACH(drv, &rte_fslmc_bus.driver_list, next) { in rte_fslmc_probe()
456 ret = rte_fslmc_match(drv, dev); in rte_fslmc_probe()
460 if (!drv->probe) in rte_fslmc_probe()
476 ret = drv->probe(drv, dev); in rte_fslmc_probe()
480 dev->driver = drv; in rte_fslmc_probe()
481 dev->device.driver = &drv->driver; in rte_fslmc_probe()
564 struct rte_dpaa2_driver *drv; in fslmc_all_device_support_iova() local
567 TAILQ_FOREACH(drv, &rte_fslmc_bus.driver_list, next) { in fslmc_all_device_support_iova()
568 ret = rte_fslmc_match(drv, dev); in fslmc_all_device_support_iova()
[all …]
/dpdk/drivers/net/ionic/
H A Dionic_main.c347 uint32_t drv_size = RTE_DIM(ident->drv.words); in ionic_identify()
355 ident->drv.os_type = IONIC_OS_TYPE_LINUX; in ionic_identify()
356 ident->drv.os_dist = 0; in ionic_identify()
357 snprintf(ident->drv.os_dist_str, in ionic_identify()
358 sizeof(ident->drv.os_dist_str), "Unknown"); in ionic_identify()
359 ident->drv.kernel_ver = 0; in ionic_identify()
360 snprintf(ident->drv.kernel_ver_str, in ionic_identify()
361 sizeof(ident->drv.kernel_ver_str), "DPDK"); in ionic_identify()
362 strncpy(ident->drv.driver_ver_str, IONIC_DRV_VERSION, in ionic_identify()
363 sizeof(ident->drv.driver_ver_str) - 1); in ionic_identify()
[all …]
/dpdk/doc/guides/nics/
H A Dthunderx.rst255 0001:01:00.1 'Device a034' if=eth0 drv=thunder-nicvf unused=vfio-pci
256 0001:01:00.2 'Device a034' if=eth1 drv=thunder-nicvf unused=vfio-pci
264 0001:01:01.2 'Device a034' if= drv=thunder-nicvf unused=vfio-pci
265 0001:01:01.3 'Device a034' if= drv=thunder-nicvf unused=vfio-pci
266 0001:01:01.4 'Device a034' if= drv=thunder-nicvf unused=vfio-pci
267 0001:01:01.5 'Device a034' if= drv=thunder-nicvf unused=vfio-pci
268 0001:01:01.6 'Device a034' if= drv=thunder-nicvf unused=vfio-pci
269 0001:01:01.7 'Device a034' if= drv=thunder-nicvf unused=vfio-pci
270 0001:01:02.0 'Device a034' if= drv=thunder-nicvf unused=vfio-pci
271 0001:01:02.1 'Device a034' if= drv=thunder-nicvf unused=vfio-pci
[all …]
/dpdk/drivers/bus/auxiliary/linux/
H A Dauxiliary.c105 struct rte_auxiliary_driver *drv; in auxiliary_scan() local
125 FOREACH_DRIVER_ON_AUXILIARY_BUS(drv) { in auxiliary_scan()
126 if (drv->match(e->d_name)) in auxiliary_scan()
129 if (drv == NULL) in auxiliary_scan()
/dpdk/drivers/bus/ifpga/
H A Difpga_bus.c286 ifpga_probe_one_driver(struct rte_afu_driver *drv, in ifpga_probe_one_driver() argument
291 if (!rte_afu_match(drv, afu_dev)) in ifpga_probe_one_driver()
296 afu_dev->driver = drv; in ifpga_probe_one_driver()
299 ret = drv->probe(afu_dev); in ifpga_probe_one_driver()
303 afu_dev->device.driver = &drv->driver; in ifpga_probe_one_driver()
311 struct rte_afu_driver *drv = NULL; in ifpga_probe_all_drivers() local
324 TAILQ_FOREACH(drv, &ifpga_afu_drv_list, next) { in ifpga_probe_all_drivers()
325 ret = ifpga_probe_one_driver(drv, afu_dev); in ifpga_probe_all_drivers()
/dpdk/drivers/bus/dpaa/
H A Ddpaa_bus.c543 rte_dpaa_device_match(struct rte_dpaa_driver *drv, in rte_dpaa_device_match() argument
546 if (!drv || !dev) { in rte_dpaa_device_match()
551 if (drv->drv_type == dev->device_type) in rte_dpaa_device_match()
625 struct rte_dpaa_driver *drv; in rte_dpaa_bus_probe() local
678 TAILQ_FOREACH(drv, &rte_dpaa_bus.driver_list, next) { in rte_dpaa_bus_probe()
679 ret = rte_dpaa_device_match(drv, dev); in rte_dpaa_bus_probe()
686 if (!drv->probe || in rte_dpaa_bus_probe()
694 ret = drv->probe(drv, dev); in rte_dpaa_bus_probe()
699 dev->driver = drv; in rte_dpaa_bus_probe()
700 dev->device.driver = &drv->driver; in rte_dpaa_bus_probe()
/dpdk/
H A Dmeson.build126 foreach drv:class_drivers
127 output_message += drv + ', '
144 foreach drv:dpdk_drvs_disabled
145 reason = get_variable(drv.underscorify() + '_disable_reason')
146 output_message += drv + ':\t' + reason + '\n\t'
/dpdk/devtools/
H A Dcheck-git-log.sh80 drv=$(echo "$files" | grep '^drivers/' | cut -d "/" -f 2,3 | sort -u)
81 drvgrp=$(echo "$drv" | cut -d "/" -f 1 | uniq)
84 elif [ $(echo "$drv" | wc -l) -gt 1 ] ; then
87 echo "$headline" | grep -v "^$drv"
/dpdk/lib/cryptodev/
H A Dcryptodev_pmd.h573 const struct rte_driver *drv);
589 #define RTE_PMD_REGISTER_CRYPTO_DRIVER(crypto_drv, drv, driver_id)\ argument
592 driver_id = rte_cryptodev_allocate_driver(&crypto_drv, &(drv));\
/dpdk/app/test-bbdev/
H A Dtest_bbdev.c154 num_queues = info.drv.max_num_queues; in test_bbdev_configure_invalid_num_queues()
191 info.drv.max_num_queues, SOCKET_ID_ANY), in test_bbdev_configure_stop_device()
216 info.drv.max_num_queues, SOCKET_ID_ANY), in test_bbdev_configure_stop_device()
241 info.drv.max_num_queues, SOCKET_ID_ANY), in test_bbdev_configure_stop_device()
275 ts_params->qconf.queue_size = info.drv.queue_size_lim; in test_bbdev_configure_stop_queue()
276 ts_params->qconf.priority = info.drv.max_ul_queue_priority; in test_bbdev_configure_stop_queue()
408 ts_params->qconf.queue_size = info.drv.queue_size_lim + 1; in test_bbdev_configure_invalid_queue_configure()
415 ts_params->qconf.queue_size = info.drv.queue_size_lim; in test_bbdev_configure_invalid_queue_configure()
416 ts_params->qconf.priority = info.drv.max_ul_queue_priority; in test_bbdev_configure_invalid_queue_configure()
H A Dtest_bbdev_perf.c631 info->drv.driver_name); in add_bbdev_dev()
675 info->drv.driver_name); in add_bbdev_dev()
719 info->drv.driver_name); in add_bbdev_dev()
2463 info.drv.min_alignment, in run_test_case_on_device()
2780 info.drv.queue_size_lim); in throughput_intr_lcore_ldpc_dec()
2874 info.drv.queue_size_lim); in throughput_intr_lcore_dec()
2961 info.drv.queue_size_lim); in throughput_intr_lcore_enc()
3048 info.drv.queue_size_lim); in throughput_intr_lcore_ldpc_enc()
3135 info.drv.queue_size_lim); in throughput_pmd_lcore_dec()
3238 info.drv.queue_size_lim); in bler_pmd_lcore_ldpc_dec()
[all …]
/dpdk/doc/guides/tools/
H A Ddevbind.rst36 - the driver being used e.g. ``drv=vfio-pci``
105 0000:0a:00.0 '82599ES 10-Gigabit' if=eth2 drv=ixgbe unused=
116 0000:0a:00.0 '82599ES 10-Gigabit' drv=vfio-pci unused=
/dpdk/drivers/net/bnx2x/
H A Decore_sp.c4865 return drv->init_hw_func(sc); in ecore_func_init_func()
4900 *drv) in ecore_func_init_cmn_chip()
4934 const struct ecore_func_sp_drv_ops *drv = o->drv; in ecore_func_hw_init() local
4941 rc = drv->init_fw(sc); in ecore_func_hw_init()
4999 *drv) in ecore_func_reset_func()
5001 drv->reset_hw_func(sc); in ecore_func_reset_func()
5020 *drv) in ecore_func_reset_port()
5022 drv->reset_hw_port(sc); in ecore_func_reset_port()
5040 drv->reset_hw_cmn(sc); in ecore_func_reset_cmn()
5048 const struct ecore_func_sp_drv_ops *drv = o->drv; in ecore_func_hw_reset() local
[all …]
/dpdk/drivers/bus/pci/
H A Dpci_common.c684 const struct rte_pci_driver *drv; in rte_pci_get_iommu_class() local
701 FOREACH_DRIVER_ON_PCIBUS(drv) { in rte_pci_get_iommu_class()
704 if (!rte_pci_match(drv, dev)) in rte_pci_get_iommu_class()
707 dev_iova_mode = pci_device_iova_mode(drv, dev); in rte_pci_get_iommu_class()
710 drv->driver.name, in rte_pci_get_iommu_class()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common_pci.c129 mlx5_dev_pci_match(const struct mlx5_class_driver *drv, in mlx5_dev_pci_match() argument
138 for (id_table = drv->id_table; id_table->vendor_id != 0; in mlx5_dev_pci_match()
H A Dmlx5_common_private.h30 bool mlx5_dev_pci_match(const struct mlx5_class_driver *drv,
/dpdk/doc/guides/linux_gsg/
H A Dlinux_drivers.rst79 0000:82:00.0 '82599EB 10-GbE NIC' drv=vfio-pci unused=ixgbe
80 0000:82:00.1 '82599EB 10-GbE NIC' drv=vfio-pci unused=ixgbe
84 0000:04:00.0 'I350 1-GbE NIC' if=em0 drv=igb unused=vfio-pci *Active*
85 0000:04:00.1 'I350 1-GbE NIC' if=eth1 drv=igb unused=vfio-pci
86 0000:04:00.2 'I350 1-GbE NIC' if=eth2 drv=igb unused=vfio-pci
87 0000:04:00.3 'I350 1-GbE NIC' if=eth3 drv=igb unused=vfio-pci
/dpdk/drivers/
H A Dmeson.build83 foreach drv:drivers
84 drv_path = join_paths(class, drv)
89 name = drv
/dpdk/drivers/raw/ioat/
H A Dioat_rawdev.c280 ioat_rawdev_probe(struct rte_pci_driver *drv, struct rte_pci_device *dev) in ioat_rawdev_probe() argument
289 dev->device.driver = &drv->driver; in ioat_rawdev_probe()
H A Didxd_pci.c251 idxd_rawdev_probe_pci(struct rte_pci_driver *drv, struct rte_pci_device *dev) in idxd_rawdev_probe_pci() argument
261 dev->device.driver = &drv->driver; in idxd_rawdev_probe_pci()
/dpdk/drivers/dma/idxd/
H A Didxd_pci.c280 idxd_dmadev_probe_pci(struct rte_pci_driver *drv, struct rte_pci_device *dev) in idxd_dmadev_probe_pci() argument
290 dev->device.driver = &drv->driver; in idxd_dmadev_probe_pci()
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_common_auxiliary.c143 mlx5_common_auxiliary_probe(struct rte_auxiliary_driver *drv __rte_unused, in mlx5_common_auxiliary_probe()

12