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_dev.h
diff --git
a/lib/librte_eal/common/include/rte_dev.h
b/lib/librte_eal/common/include/rte_dev.h
index
9f2765d
..
0c8f6c8
100644
(file)
--- a/
lib/librte_eal/common/include/rte_dev.h
+++ b/
lib/librte_eal/common/include/rte_dev.h
@@
-132,6
+132,8
@@
struct rte_driver {
const char *alias; /**< Driver alias. */
};
+#define RTE_DEV_NAME_MAX_LEN (32)
+
/**
* A structure describing a generic device.
*/