[PATCH v4 2/2] ip_frag: updated name for IP frag define

Stephen Hemminger stephen at networkplumber.org
Wed Oct 9 20:38:27 CEST 2024


On Mon,  8 Jan 2024 11:36:14 +0000
Euan Bourke <euan.bourke at intel.com> wrote:

> diff --git a/config/rte_config.h b/config/rte_config.h
> index da265d7dd2..e2fa2a58fa 100644
> --- a/config/rte_config.h
> +++ b/config/rte_config.h
> @@ -85,7 +85,7 @@
>  #define RTE_RAWDEV_MAX_DEVS 64
>  
>  /* ip_fragmentation defines */
> -#define RTE_LIBRTE_IP_FRAG_MAX_FRAG 8
> +#define RTE_IP_FRAG_MAX_FRAG 8
>  // RTE_LIBRTE_IP_FRAG_TBL_STAT is not set
>  
Any change to a visible define should be documented as an API change
in the release notes.

Also if changing the name for MAX_FRAG shouldn't the name
for the statistics be changed as well as in: RTE_IP_FRAG_TBL_STAT?


More information about the dev mailing list