raw/ifpga: add APIs to get FPGA information
authorWei Huang <wei.huang@intel.com>
Wed, 3 Mar 2021 02:34:30 +0000 (21:34 -0500)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 5 Mar 2021 08:56:10 +0000 (09:56 +0100)
commitcf38bcd7763fa4cf6347a93a6193e00205404275
tree50c2130724bbf116b5e47afdbef0dd3aba2a3f53
parenta05bd1b40bde9f2321f6a88bd287f7e7474dac64
raw/ifpga: add APIs to get FPGA information

There are some information data can be got from FPGA, they are
implemented in below APIs:
1. rte_pmd_ifpga_get_property() get properties of FPGA (include BMC).
2. rte_pmd_ifpga_get_phy_info() get information of PHY connect to FPGA.
3. rte_pmd_ifpga_get_rsu_status() get status of rsu process.

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/raw/ifpga/base/ifpga_api.c
drivers/raw/ifpga/base/ifpga_defines.h
drivers/raw/ifpga/base/ifpga_feature_dev.c
drivers/raw/ifpga/base/ifpga_feature_dev.h
drivers/raw/ifpga/base/ifpga_fme.c
drivers/raw/ifpga/base/opae_hw_api.c
drivers/raw/ifpga/base/opae_hw_api.h
drivers/raw/ifpga/base/opae_ifpga_hw_api.h
drivers/raw/ifpga/rte_pmd_ifpga.c
drivers/raw/ifpga/rte_pmd_ifpga.h
drivers/raw/ifpga/version.map