raw/ifpga: remove PCI bus accessor
There is no in-tree user for this accessor that returns the PCI bus object. On the other hand, a bus object can be retrieved by name using rte_bus_find_by_name. We can remove this driver specific API. Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Rosen Xu <rosen.xu@intel.com>
This commit is contained in:
parent
709b9a4770
commit
9c1b4ae5c0
@ -228,9 +228,6 @@ Deprecation Notices
|
||||
* raw/dpaa2_cmdif: The ``dpaa2_cmdif`` rawdev driver will be deprecated
|
||||
in DPDK 22.11, as it is no longer in use, no active user known.
|
||||
|
||||
* raw/ifgpa: The function ``rte_pmd_ifpga_get_pci_bus`` will be removed
|
||||
in DPDK 22.11.
|
||||
|
||||
* raw/ioat: The ``ioat`` rawdev driver has been deprecated, since it's
|
||||
functionality is provided through the new ``dmadev`` infrastructure.
|
||||
To continue to use hardware previously supported by the ``ioat`` rawdev driver,
|
||||
|
@ -84,6 +84,8 @@ API Changes
|
||||
Also, make sure to start the actual text at the margin.
|
||||
=======================================================
|
||||
|
||||
* raw/ifgpa: The function ``rte_pmd_ifpga_get_pci_bus`` has been removed.
|
||||
|
||||
|
||||
ABI Changes
|
||||
-----------
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/epoll.h>
|
||||
|
||||
#include <rte_log.h>
|
||||
#include <rte_bus.h>
|
||||
#include <rte_malloc.h>
|
||||
#include <rte_devargs.h>
|
||||
#include <rte_memcpy.h>
|
||||
@ -1888,11 +1888,6 @@ RTE_PMD_REGISTER_PARAM_STRING(ifpga_rawdev_cfg,
|
||||
"port=<int> "
|
||||
"afu_bts=<path>");
|
||||
|
||||
struct rte_pci_bus *ifpga_get_pci_bus(void)
|
||||
{
|
||||
return rte_ifpga_rawdev_pmd.bus;
|
||||
}
|
||||
|
||||
int ifpga_rawdev_partial_reconfigure(struct rte_rawdev *dev, int port,
|
||||
const char *file)
|
||||
{
|
||||
|
@ -91,7 +91,6 @@ int
|
||||
ifpga_unregister_msix_irq(struct ifpga_rawdev *dev, enum ifpga_irq_type type,
|
||||
int vec_start, rte_intr_callback_fn handler, void *arg);
|
||||
|
||||
struct rte_pci_bus *ifpga_get_pci_bus(void);
|
||||
int ifpga_rawdev_partial_reconfigure(struct rte_rawdev *dev, int port,
|
||||
const char *file);
|
||||
void ifpga_rawdev_cleanup(void);
|
||||
|
@ -402,12 +402,6 @@ rte_pmd_ifpga_reload(uint16_t dev_id, int type, int page)
|
||||
return opae_mgr_reload(adapter->mgr, type, page);
|
||||
}
|
||||
|
||||
const struct rte_pci_bus *
|
||||
rte_pmd_ifpga_get_pci_bus(void)
|
||||
{
|
||||
return ifpga_get_pci_bus();
|
||||
}
|
||||
|
||||
int
|
||||
rte_pmd_ifpga_partial_reconfigure(uint16_t dev_id, int port, const char *file)
|
||||
{
|
||||
|
@ -220,16 +220,6 @@ rte_pmd_ifpga_reboot_try(uint16_t dev_id);
|
||||
int
|
||||
rte_pmd_ifpga_reload(uint16_t dev_id, int type, int page);
|
||||
|
||||
/**
|
||||
* Get PCI bus the Intel FPGA driver register to
|
||||
*
|
||||
* @return
|
||||
* - (valid pointer) if successful.
|
||||
* - (NULL) if the Intel FPGA driver is not registered to any PCI bus.
|
||||
*/
|
||||
const struct rte_pci_bus *
|
||||
rte_pmd_ifpga_get_pci_bus(void);
|
||||
|
||||
/**
|
||||
* Perform PR (partial reconfiguration) on specified Intel FPGA device
|
||||
*
|
||||
|
@ -3,7 +3,6 @@ DPDK_23 {
|
||||
|
||||
rte_pmd_ifpga_cleanup;
|
||||
rte_pmd_ifpga_get_dev_id;
|
||||
rte_pmd_ifpga_get_pci_bus;
|
||||
rte_pmd_ifpga_get_phy_info;
|
||||
rte_pmd_ifpga_get_property;
|
||||
rte_pmd_ifpga_get_rsu_status;
|
||||
|
Loading…
Reference in New Issue
Block a user