[dpdk-dev] [PATCH v2 7/8] eal: add virtual device name helper function
Ferruh Yigit
ferruh.yigit at intel.com
Tue Feb 21 13:25:18 CET 2017
On 2/20/2017 2:17 PM, Jan Blunck wrote:
> This adds the rte_vdev_device_name() helper function to retrieve the
> rte_vdev_device name which makes moving the name of the low-level
> device into struct rte_device easier in the future.
>
> Signed-off-by: Jan Blunck <jblunck at infradead.org>
<...>
> +const char *
> +rte_vdev_device_name(const struct rte_vdev_device *dev)
> +{
> + return dev->device.devargs->virt.drv_name;
> +}
Can this function be static?
More information about the dev
mailing list