ethdev: add PCI driver helpers
authorJan Blunck <jblunck@infradead.org>
Tue, 11 Apr 2017 15:44:23 +0000 (17:44 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 18 Apr 2017 17:05:30 +0000 (19:05 +0200)
commitdcd5c8112bc3d0c8407cbab1f3a16799a8c7e5e4
tree8b42db5ebb2b1c821fe7d753eee95beb84f67081
parent050fe6e9ff970ff92d842912136be8f9f52e171f
ethdev: add PCI driver helpers

This adds the following helper intended to be used by rte_pci_driver
implementations working with ethdev:

- rte_eth_dev_pci_allocate
- rte_eth_dev_pci_release
- rte_eth_dev_pci_generic_probe
- rte_eth_dev_pci_generic_remove

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_ether/Makefile
lib/librte_ether/rte_ethdev_pci.h [new file with mode: 0644]