git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eal: add name field to generic device
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_pci.h
diff --git
a/lib/librte_eal/common/include/rte_pci.h
b/lib/librte_eal/common/include/rte_pci.h
index
5980dd1
..
fedb197
100644
(file)
--- a/
lib/librte_eal/common/include/rte_pci.h
+++ b/
lib/librte_eal/common/include/rte_pci.h
@@
-172,6
+172,7
@@
struct rte_pci_device {
struct rte_pci_driver *driver; /**< Associated driver */
uint16_t max_vfs; /**< sriov enable if not zero */
enum rte_kernel_driver kdrv; /**< Kernel driver passthrough */
+ char name[PCI_PRI_STR_SIZE+1]; /**< PCI location (ASCII) */
};
/**