[dpdk-dev] [PATCH 1/4] eal: provide functions to access PCI config

Panu Matilainen pmatilai at redhat.com
Wed Jun 17 09:31:26 CEST 2015


On 06/17/2015 02:51 AM, Stephen Hemminger wrote:
> From: Stephen Hemminger <shemming at brocade.com>
>
> Some drivers need ability to access PCI config (for example for power
> management). This adds an abstraction to do this for both Linux
> and BSD.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
[...]
> diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
> index 7e850a9..494aae0 100644
> --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map
> +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
> @@ -42,9 +42,11 @@ DPDK_2.0 {
>   	rte_eal_pci_dump;
>   	rte_eal_pci_probe;
>   	rte_eal_pci_probe_one;
> +	rte_eal_pci_read_config;
>   	rte_eal_pci_register;
>   	rte_eal_pci_scan;
>   	rte_eal_pci_unregister;
> +	rte_eal_pci_write_config;
>   	rte_eal_process_type;
>   	rte_eal_remote_launch;
>   	rte_eal_tailq_lookup;
>

DPDK_2.0 does not have those symbols, 2.1 will. You need to add a new 
DPDK_2.1 {} block and introduce these new symbols there.

	- Panu -


More information about the dev mailing list