[dpdk-dev] [PATCH v5 2/5] ethdev: increase port_id range

Ferruh Yigit ferruh.yigit at intel.com
Mon Sep 25 14:06:45 CEST 2017


On 9/25/2017 4:22 AM, Zhiyong Yang wrote:
> Extend port_id definition from uint8_t to uint16_t in lib and drivers
> data structures, specifically rte_eth_dev_data. Modify the APIs,
> drivers and app using port_id at the same time.
> 
> Fix some checkpatch issues from the original code and remove some
> unnecessary cast operations.
> 
> release_17_11 and deprecation have been updated in this patch.
> 
> Signed-off-by: Zhiyong Yang <zhiyong.yang at intel.com>
> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>

<...>

> diff --git a/drivers/net/af_packet/Makefile b/drivers/net/af_packet/Makefile
> index 70d517c16..4d62b7dbd 100644
> --- a/drivers/net/af_packet/Makefile
> +++ b/drivers/net/af_packet/Makefile
> @@ -40,7 +40,7 @@ LIB = librte_pmd_af_packet.a
>  
>  EXPORT_MAP := rte_pmd_af_packet_version.map
>  
> -LIBABIVER := 1
> +LIBABIVER := 2

I have just recognized this one. This shouldn't be updated. Only
LIABIVER of the libraries that their API modified should be updated.

The release notes "Shared Library Versions" updates and Makefile
LIBABIVER updates should be compatible. I mean either both needs to be
updated or both not updated.

There is no way to split this patch more without breaking build right?
It would be possible to do it if port_t used, but that has been decided
not to...

<...>


More information about the dev mailing list