]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ether/rte_ethdev.h
ethdev: ensure same name size for device and ethdev
[dpdk.git] / lib / librte_ether / rte_ethdev.h
index dfcbc8cc4d8e0d123a40f4d6b0dc197bd028a902..d1076c821065137d8c444558cfeb1dabc9c4bc56 100644 (file)
  *     - NIC queue statistics mappings
  *
  * Any other configuration will not be stored and will need to be re-entered
- * after a call to rte_eth_dev_start().
+ * before a call to rte_eth_dev_start().
  *
  * Finally, a network application can close an Ethernet device by invoking the
  * rte_eth_dev_close() function.
@@ -1624,7 +1624,7 @@ struct rte_eth_dev_sriov {
 };
 #define RTE_ETH_DEV_SRIOV(dev)         ((dev)->data->sriov)
 
-#define RTE_ETH_NAME_MAX_LEN (32)
+#define RTE_ETH_NAME_MAX_LEN RTE_DEV_NAME_MAX_LEN
 
 /**
  * @internal