[dpdk-dev] [PATCH v2 2/3] eal: remove pci config of extended tag

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Mar 8 18:05:08 CET 2016


2016-02-22 11:59, Helin Zhang:
> --- a/lib/librte_eal/common/include/rte_pci.h
> +++ b/lib/librte_eal/common/include/rte_pci.h
> @@ -580,12 +580,14 @@ void rte_eal_pci_ioport_write(struct rte_pci_ioport *p,
>  #ifdef RTE_PCI_CONFIG
>  /**
>   * Set special config space registers for performance purpose.
> + * It is deprecated, as all configurations have been moved into
> + * each PMDs respectively.
>   *
>   * @param dev
>   *   A pointer to a rte_pci_device structure describing the device
>   *   to use
>   */
> -void pci_config_space_set(struct rte_pci_device *dev);
> +void pci_config_space_set(struct rte_pci_device *dev) __rte_deprecated;

There is a missing prototype error because
#include <rte_common.h> is missing.



More information about the dev mailing list