On Tue, Jun 6, 2017 at 5:10 PM, Ferruh Yigit <ferruh.yi...@intel.com> wrote:
> rte_driver->name has the driver name and all physical and virtual
> devices has access to it.
>
> Previously it was not possible for virtual ethernet devices to access
> rte_driver->name field (because eth_dev used to keep only pci_dev),
> and it was required to save driver name in the device private struct.
>
> After re-works on bus and vdev, it is possible for all bus types to
> access rte_driver.
>
> It is able to remove the driver name from ethdev device private data and
> use eth_dev->device->driver->name.
>
> Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com>
> ---
> Cc: Gaetan Rivet <gaetan.ri...@6wind.com>
> Cc: Jan Blunck <jblu...@infradead.org>
>
> v2:
> * rebase on latest next-net

Acked-by: Jan Blunck <jblu...@infradead.org>

Reply via email to