[dpdk-dev] [PATCH v4 01/14] common/dpaax: moving OF lib code from dpaa bus

Ferruh Yigit ferruh.yigit at intel.com
Thu Oct 10 19:01:05 CEST 2019


On 10/10/2019 7:32 AM, Gagandeep Singh wrote:
> From: Hemant Agrawal <hemant.agrawal at nxp.com>
> 
> This code is being shared by more than 1 type of driver.
> Common is most appropriate place for it.
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>

<...>

> diff --git a/drivers/common/dpaax/rte_common_dpaax_version.map b/drivers/common/dpaax/rte_common_dpaax_version.map
> index 8131c9e30..a7699ae4d 100644
> --- a/drivers/common/dpaax/rte_common_dpaax_version.map
> +++ b/drivers/common/dpaax/rte_common_dpaax_version.map
> @@ -9,3 +9,21 @@ DPDK_18.11 {
>  
>  	local: *;
>  };
> +
> +DPDK_19.11 {
> +	global:
> +	of_device_is_available;
> +	of_device_is_compatible;
> +	of_find_compatible_node;
> +	of_find_node_by_phandle;
> +	of_get_address;
> +	of_get_mac_address;
> +	of_get_parent;
> +	of_get_property;
> +	of_init_path;
> +	of_n_addr_cells;
> +	of_translate_address;
> +	of_get_next_child;

Seems forgot to remove following APIs from 'bus/dpaa' .map file, if it is just
.map file update, I can do while merging.

of_find_compatible_node
of_get_mac_address
of_get_property

> +
> +	local: *;

No need the "local: *;" on the blocks other than first block.



More information about the dev mailing list