[dpdk-dev] [PATCH v2 02/11] ethdev: add IPv6 fragment extension header item

Stephen Hemminger stephen at networkplumber.org
Thu Oct 1 23:27:54 CEST 2020


On Fri,  2 Oct 2020 00:14:59 +0300
Dekel Peled <dekelp at nvidia.com> wrote:

> diff --git a/lib/librte_ethdev/rte_flow.h b/lib/librte_ethdev/rte_flow.h
> index 5b5bed2..1443e6a 100644
> --- a/lib/librte_ethdev/rte_flow.h
> +++ b/lib/librte_ethdev/rte_flow.h
> @@ -368,6 +368,13 @@ enum rte_flow_item_type {
>  	RTE_FLOW_ITEM_TYPE_IPV6_EXT,
>  
>  	/**
> +	 * Matches the presence of IPv6 fragment extension header.
> +	 *
> +	 * See struct rte_flow_item_ipv6_frag_ext.
> +	 */
> +	RTE_FLOW_ITEM_TYPE_IPV6_FRAG_EXT,
> +
> +	/**
>  	 * Matches any ICMPv6 header.
>  	 *
>  	 * See struct rte_flow_item_icmp6

Putting new enum value in the middle of existing list will renumber
the ones below. This causes an ABI breakage.

Since the ABI breakage was not preannounced, this patch needs to
be revised or approved by the TAB.


More information about the dev mailing list