bus/pci: query PCI extended capabilities
authorManish Chopra <manishc@marvell.com>
Fri, 25 Sep 2020 11:55:03 +0000 (04:55 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:11 +0000 (19:19 +0200)
commite00d2b4cead0fba1af517f38938db41a7f10b729
tree7a9e6dee596671a21241e9a035b07aa0349fd8b8
parentc87a6de2a130c436fcf73b27f829c48e8249bcc4
bus/pci: query PCI extended capabilities

By adding generic API, this patch removes individual
functions/defines implemented by drivers to find extended
PCI capabilities.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Reviewed-by: Gaetan Rivet <grive@u256.net>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
drivers/bus/pci/pci_common.c
drivers/bus/pci/rte_bus_pci.h
drivers/bus/pci/rte_bus_pci_version.map
drivers/net/ice/ice_ethdev.c
drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c
drivers/raw/ifpga/ifpga_rawdev.c
lib/librte_pci/rte_pci.h