patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH 20.11] table: fix missing headers on ARM64
@ 2021-12-09  2:38 Xiaoyu Min
  2021-12-09  6:07 ` Xueming(Steven) Li
  0 siblings, 1 reply; 2+ messages in thread
From: Xiaoyu Min @ 2021-12-09  2:38 UTC (permalink / raw)
  To: stable, Cristian Dumitrescu, Bruce Richardson, Harry van Haaren,
	Keith Wiles, Luca Boccassi

rte_lru_arm64.h is included from rte_lru.h if arch is ARM64.
However this file is missed in meson's headers list on ARM64 platform so
it'll not be installed on system.

Add it in headers list if arch is ARM64.

Fixes: 5b9656b157d3 ("lib: build with meson")
Cc: stable@dpdk.org

Signed-off-by: Xiaoyu Min <jackmin@nvidia.com>
---
 lib/librte_table/meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_table/meson.build b/lib/librte_table/meson.build
index d69678386e..657ea7d193 100644
--- a/lib/librte_table/meson.build
+++ b/lib/librte_table/meson.build
@@ -30,4 +30,6 @@ deps += ['mbuf', 'port', 'lpm', 'hash', 'acl']
 
 if arch_subdir == 'x86'
 	headers += files('rte_lru_x86.h')
+elif arch_subdir == 'arm' and dpdk_conf.has('RTE_ARCH_ARM64')
+	headers += files('rte_lru_arm64.h')
 endif
-- 
2.34.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 20.11] table: fix missing headers on ARM64
  2021-12-09  2:38 [PATCH 20.11] table: fix missing headers on ARM64 Xiaoyu Min
@ 2021-12-09  6:07 ` Xueming(Steven) Li
  0 siblings, 0 replies; 2+ messages in thread
From: Xueming(Steven) Li @ 2021-12-09  6:07 UTC (permalink / raw)
  To: harry.van.haaren, cristian.dumitrescu, Jack Min, luca.boccassi,
	stable, bruce.richardson, keith.wiles

Thanks, applied.

On Thu, 2021-12-09 at 10:38 +0800, Xiaoyu Min wrote:
> rte_lru_arm64.h is included from rte_lru.h if arch is ARM64.
> However this file is missed in meson's headers list on ARM64 platform so
> it'll not be installed on system.
> 
> Add it in headers list if arch is ARM64.
> 
> Fixes: 5b9656b157d3 ("lib: build with meson")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Xiaoyu Min <jackmin@nvidia.com>
> ---
>  lib/librte_table/meson.build | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/librte_table/meson.build b/lib/librte_table/meson.build
> index d69678386e..657ea7d193 100644
> --- a/lib/librte_table/meson.build
> +++ b/lib/librte_table/meson.build
> @@ -30,4 +30,6 @@ deps += ['mbuf', 'port', 'lpm', 'hash', 'acl']
>  
>  if arch_subdir == 'x86'
>  	headers += files('rte_lru_x86.h')
> +elif arch_subdir == 'arm' and dpdk_conf.has('RTE_ARCH_ARM64')
> +	headers += files('rte_lru_arm64.h')
>  endif


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-09  6:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09  2:38 [PATCH 20.11] table: fix missing headers on ARM64 Xiaoyu Min
2021-12-09  6:07 ` Xueming(Steven) Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).