numam-dpdk/drivers/net/nfp
David Marchand d857736110 net: remove dead driver names
Since commit b1fb53a39d ("ethdev: remove some PCI specific handling"),
rte_eth_dev_info_get() relies on dev->data->drv_name to report the driver
name to caller.

Having the pmds set driver_info->driver_name in the pmds is useless,
since ethdev overwrites it right after.
The only thing the pmd must do is:
- for pci drivers, call rte_eth_copy_pci_info() which then sets
  data->drv_name
- for vdev drivers, manually set data->drv_name

At this stage, virtio-user does not properly report a driver name (fixed in
next commit).

Signed-off-by: David Marchand <david.marchand@6wind.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Jan Blunck <jblunck@infradead.org>
2017-01-17 19:24:51 +01:00
..
Makefile mk: cleanup leftover references to malloc library 2016-05-06 15:51:22 +02:00
nfp_net_ctrl.h nfp: introduce driver initialization 2015-12-08 03:00:42 +01:00
nfp_net_logs.h nfp: introduce driver initialization 2015-12-08 03:00:42 +01:00
nfp_net_pmd.h nfp: serialize access for hardware reconfiguration 2016-05-06 15:51:22 +02:00
nfp_net.c net: remove dead driver names 2017-01-17 19:24:51 +01:00
rte_pmd_nfp_version.map nfp: introduce driver initialization 2015-12-08 03:00:42 +01:00