drivers/net: use higher level of probing helper for PCI
authorThomas Monjalon <thomas@monjalon.net>
Thu, 10 May 2018 23:58:29 +0000 (01:58 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:53 +0000 (22:31 +0100)
commit01a98fdd088d9ed7c3da9e3a2f0696ac29bcc037
treeb29862d2fecfb505b7a146b814393ce1270e092e
parentd5e54c355cc67912f33de69fd45e145d47f18579
drivers/net: use higher level of probing helper for PCI

The drivers avp, bnx2x and liquidio were using the helper function
rte_eth_dev_pci_allocate() and can be replaced by
rte_eth_dev_pci_generic_probe() which calls the former.

Fixes: dcd5c8112bc3 ("ethdev: add PCI driver helpers")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/avp/avp_ethdev.c
drivers/net/bnx2x/bnx2x_ethdev.c
drivers/net/liquidio/lio_ethdev.c