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 <[email protected]>
<...>
> +const char *
> +rte_vdev_device_name(const struct rte_vdev_device *dev)
> +{
> + return dev->device.devargs->virt.drv_name;
> +}
Can this function be static?

