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
ethdev: ensure same name size for device and ethdev
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_devargs.h
diff --git
a/lib/librte_eal/common/include/rte_devargs.h
b/lib/librte_eal/common/include/rte_devargs.h
index
88120a1
..
b11cbfc
100644
(file)
--- a/
lib/librte_eal/common/include/rte_devargs.h
+++ b/
lib/librte_eal/common/include/rte_devargs.h
@@
-86,7
+86,7
@@
struct rte_devargs {
/** Used if type is RTE_DEVTYPE_VIRTUAL. */
struct {
/** Driver name. */
- char drv_name[
32
];
+ char drv_name[
RTE_DEV_NAME_MAX_LEN
];
} virt;
};
/** Arguments string as given by user or "" for no argument. */