patch 'eal/x86: drop export of internal alignment macro' has been queued to stable release 21.11.2

Kevin Traynor ktraynor at redhat.com
Fri Jun 24 18:42:16 CEST 2022


On 24/06/2022 16:01, Kevin Traynor wrote:
> Hi,
> 
> FYI, your patch has been queued to stable release 21.11.2
> 
> Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
> It will be pushed if I get no objections before 06/27/22. So please
> shout if anyone has objections.
> 
> Also note that after the patch there's a diff of the upstream commit vs the
> patch applied to the branch. This will indicate if there was any rebasing
> needed to apply to the stable branch. If there were code changes for rebasing
> (ie: not only metadata diffs), please double check that the rebase was
> correctly done.
> 
> Queued patches are on a temporary branch at:
> https://github.com/kevintraynor/dpdk-stable
> 
> This queued commit can be viewed at:
> https://github.com/kevintraynor/dpdk-stable/commit/4fb54298161f5e8ffa3dc05867f8c544828214e2
> 
> Thanks.
> 
> Kevin
> 
> ---
>  From 4fb54298161f5e8ffa3dc05867f8c544828214e2 Mon Sep 17 00:00:00 2001
> From: David Marchand <david.marchand at redhat.com>
> Date: Tue, 21 Jun 2022 16:13:25 +0200
> Subject: [PATCH] eal/x86: drop export of internal alignment macro
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> [ upstream commit 11f61ea2f6fcdd88df2a81b82235ddb7033c3e5d ]
> 
> ALIGNMENT_MASK is only used internally.
> Besides it lacks a DPDK-related prefix.
> Hide it from external eyes.
> 

Hi Christian, what do you think about having this backport? I can drop 
it from the queue if that is the preference.

> Fixes: f5472703c0bd ("eal: optimize aligned memcpy on x86")
> 
> Reported-by: Morten Brørup <mb at smartsharesystems.com>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
>   lib/eal/x86/include/rte_memcpy.h | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/lib/eal/x86/include/rte_memcpy.h b/lib/eal/x86/include/rte_memcpy.h
> index 18aa4e43a7..b678b5c942 100644
> --- a/lib/eal/x86/include/rte_memcpy.h
> +++ b/lib/eal/x86/include/rte_memcpy.h
> @@ -852,4 +852,6 @@ rte_memcpy(void *dst, const void *src, size_t n)
>   }
>   
> +#undef ALIGNMENT_MASK
> +
>   #if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 100000)
>   #pragma GCC diagnostic pop



More information about the stable mailing list