ethdev: increase device internal name length
Allow sufficient space for UUID in string form (36+1). Needed to use UUID with Hyper-V. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
e087d4cd3a
commit
2cb43002af
@ -64,10 +64,6 @@ Deprecation Notices
|
||||
done by the EAL and not by the ``ethdev`` layer anymore. Users relying on this
|
||||
flag being present only have to remove their checks to follow the change.
|
||||
|
||||
* ethdev: An ABI change is planned for 17.11 for the structure rte_eth_dev_data.
|
||||
The size of the unique name will increase RTE_ETH_NAME_MAX_LEN from 32 to
|
||||
64 characters to allow using a globally unique identifier (GUID) in this field.
|
||||
|
||||
* ethdev: new parameters - ``rte_security_capabilities`` and
|
||||
``rte_security_ops`` will be added to ``rte_eth_dev_info`` and
|
||||
``rte_eth_dev`` respectively to support security operations like
|
||||
|
@ -184,6 +184,11 @@ API Changes
|
||||
Also, make sure to start the actual text at the margin.
|
||||
=========================================================
|
||||
|
||||
* **Ethdev device name length increased**
|
||||
|
||||
The size of internal device name is increased to 64 characters
|
||||
to allow for storing longer bus specific name.
|
||||
|
||||
* **Service cores API updated for usability**
|
||||
|
||||
The service cores API has been changed, removing pointers from the API
|
||||
|
@ -152,7 +152,11 @@ struct rte_driver {
|
||||
const char *alias; /**< Driver alias. */
|
||||
};
|
||||
|
||||
#define RTE_DEV_NAME_MAX_LEN (32)
|
||||
/*
|
||||
* Internal identifier length
|
||||
* Sufficiently large to allow for UUID or PCI address
|
||||
*/
|
||||
#define RTE_DEV_NAME_MAX_LEN 64
|
||||
|
||||
/**
|
||||
* A structure describing a generic device.
|
||||
|
Loading…
Reference in New Issue
Block a user