net/qede: define PCI config space specific osals
authorManish Chopra <manishc@marvell.com>
Fri, 25 Sep 2020 11:55:04 +0000 (04:55 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:11 +0000 (19:19 +0200)
commit92c6786e85e87f9f5dc94e0296def438227de29f
tree231864e4e7d271195b3265d4fac49c26c9b43815
parente00d2b4cead0fba1af517f38938db41a7f10b729
net/qede: define PCI config space specific osals

This patch defines various PCI config space access APIs
in order to read and find IOV specific PCI capabilities.

With these definitions implemented, it enables the base
driver to do SR-IOV specific initialization and HW specific
configuration required from PF-PMD driver instance.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Rasesh Mody <rmody@marvell.com>
drivers/net/qede/base/bcm_osal.h
drivers/net/qede/base/ecore.h
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_sriov.c
drivers/net/qede/base/meson.build
drivers/net/qede/qede_main.c
lib/librte_pci/rte_pci.h