eal: remove deprecated function

The function rte_eal_pci_close_one() was renamed rte_eal_pci_detach().

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: David Marchand <david.marchand@6wind.com>
This commit is contained in:
Thomas Monjalon 2015-09-01 14:58:16 +02:00
parent 51c764c1d7
commit e32bbdb218
6 changed files with 3 additions and 13 deletions

View File

@ -13,9 +13,6 @@ Deprecation Notices
There is no backward compatibility planned from release 2.2.
All binaries will need to be rebuilt from release 2.2.
* The EAL function rte_eal_pci_close_one is deprecated because renamed to
rte_eal_pci_detach.
* The Macros RTE_HASH_BUCKET_ENTRIES_MAX and RTE_HASH_KEY_LENGTH_MAX are
deprecated and will be removed with version 2.2.

View File

@ -16,6 +16,9 @@ Known Issues
API Changes
-----------
* The function rte_eal_pci_close_one() is removed.
It was replaced by rte_eal_pci_detach().
ABI Changes
-----------

View File

@ -40,7 +40,6 @@ DPDK_2.0 {
rte_eal_mp_remote_launch;
rte_eal_mp_wait_lcore;
rte_eal_parse_devargs_str;
rte_eal_pci_close_one;
rte_eal_pci_dump;
rte_eal_pci_probe;
rte_eal_pci_probe_one;

View File

@ -348,12 +348,6 @@ rte_eal_pci_probe_one(const struct rte_pci_addr *addr)
return -1;
}
int __attribute__ ((deprecated))
rte_eal_pci_close_one(const struct rte_pci_addr *addr)
{
return rte_eal_pci_detach(addr);
}
/*
* Detach device specified by its pci address.
*/

View File

@ -426,8 +426,6 @@ int rte_eal_pci_probe_one(const struct rte_pci_addr *addr);
* - Negative on error.
*/
int rte_eal_pci_detach(const struct rte_pci_addr *addr);
int __attribute__ ((deprecated))
rte_eal_pci_close_one(const struct rte_pci_addr *addr);
/**
* Dump the content of the PCI bus.

View File

@ -40,7 +40,6 @@ DPDK_2.0 {
rte_eal_mp_remote_launch;
rte_eal_mp_wait_lcore;
rte_eal_parse_devargs_str;
rte_eal_pci_close_one;
rte_eal_pci_dump;
rte_eal_pci_probe;
rte_eal_pci_probe_one;