ethdev: ensure same name size for device and ethdev
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 9 Jun 2017 18:36:04 +0000 (19:36 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Jul 2017 22:16:15 +0000 (00:16 +0200)
commit48d8675c9cff887f96e960183e7b408829870b46
tree230a4ee0ac30d130aac2422022b81d4ee66ec30f
parenta3a2e2c8f7de433e10b1548df65b20bf10086d9c
ethdev: ensure same name size for device and ethdev

rte_device->name copied into eth_dev->name, right now size is same for
both but the requirement is not clear.

This patch highlights the relation without changing actual sizes.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/common/include/rte_dev.h
lib/librte_eal/common/include/rte_devargs.h
lib/librte_ether/rte_ethdev.h