patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 1/2] eal: fix missing installation of mcslock headers
@ 2020-11-04 17:03 Olivier Matz
  2020-11-04 17:03 ` [dpdk-stable] [PATCH 2/2] eal: fix missing installation of ticketlock headers Olivier Matz
  2020-11-05  6:27 ` [dpdk-stable] [PATCH 1/2] eal: fix missing installation of mcslock headers Ruifeng Wang
  0 siblings, 2 replies; 7+ messages in thread
From: Olivier Matz @ 2020-11-04 17:03 UTC (permalink / raw)
  To: dev
  Cc: Jerin Jacob, Ruifeng Wang, Jan Viktorin, David Christensen,
	Bruce Richardson, Konstantin Ananyev, Honnappa Nagarahalli,
	Phil Yang, Gavin Hu, Steve Capper, Joyce Kong, stable

Add missing arch-specific headers in meson.build.

Fixes: 2173f3333b61 ("mcslock: add MCS queued lock implementation")
Cc: stable@dpdk.org

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
 lib/librte_eal/arm/include/meson.build | 1 +
 lib/librte_eal/ppc/include/meson.build | 1 +
 lib/librte_eal/x86/include/meson.build | 1 +
 3 files changed, 3 insertions(+)

diff --git a/lib/librte_eal/arm/include/meson.build b/lib/librte_eal/arm/include/meson.build
index 73b750a18f..70b2382c0b 100644
--- a/lib/librte_eal/arm/include/meson.build
+++ b/lib/librte_eal/arm/include/meson.build
@@ -14,6 +14,7 @@ arch_headers = files(
 	'rte_cycles.h',
 	'rte_io_64.h',
 	'rte_io.h',
+	'rte_mcslock.h',
 	'rte_memcpy_32.h',
 	'rte_memcpy_64.h',
 	'rte_memcpy.h',
diff --git a/lib/librte_eal/ppc/include/meson.build b/lib/librte_eal/ppc/include/meson.build
index ab4bd28092..e46ae899e6 100644
--- a/lib/librte_eal/ppc/include/meson.build
+++ b/lib/librte_eal/ppc/include/meson.build
@@ -8,6 +8,7 @@ arch_headers = files(
 	'rte_cpuflags.h',
 	'rte_cycles.h',
 	'rte_io.h',
+	'rte_mcslock.h',
 	'rte_memcpy.h',
 	'rte_pause.h',
 	'rte_prefetch.h',
diff --git a/lib/librte_eal/x86/include/meson.build b/lib/librte_eal/x86/include/meson.build
index f0e998c2fe..9be5b318de 100644
--- a/lib/librte_eal/x86/include/meson.build
+++ b/lib/librte_eal/x86/include/meson.build
@@ -11,6 +11,7 @@ arch_headers = files(
 	'rte_cpuflags.h',
 	'rte_cycles.h',
 	'rte_io.h',
+	'rte_mcslock.h',
 	'rte_memcpy.h',
 	'rte_prefetch.h',
 	'rte_pause.h',
-- 
2.25.1


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

* [dpdk-stable] [PATCH 2/2] eal: fix missing installation of ticketlock headers
  2020-11-04 17:03 [dpdk-stable] [PATCH 1/2] eal: fix missing installation of mcslock headers Olivier Matz
@ 2020-11-04 17:03 ` Olivier Matz
  2020-11-04 17:28   ` [dpdk-stable] [dpdk-dev] " David Marchand
                     ` (2 more replies)
  2020-11-05  6:27 ` [dpdk-stable] [PATCH 1/2] eal: fix missing installation of mcslock headers Ruifeng Wang
  1 sibling, 3 replies; 7+ messages in thread
From: Olivier Matz @ 2020-11-04 17:03 UTC (permalink / raw)
  To: dev
  Cc: Jerin Jacob, Ruifeng Wang, Jan Viktorin, David Christensen,
	Bruce Richardson, Konstantin Ananyev, Honnappa Nagarahalli,
	Phil Yang, Gavin Hu, Steve Capper, Joyce Kong, stable

Add missing arch-specific headers in meson.build.

Fixes: ca49b92079df ("ticketlock: enable generic ticketlock on all arch")
Cc: stable@dpdk.org

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
 lib/librte_eal/arm/include/meson.build | 1 +
 lib/librte_eal/ppc/include/meson.build | 1 +
 lib/librte_eal/x86/include/meson.build | 1 +
 3 files changed, 3 insertions(+)

diff --git a/lib/librte_eal/arm/include/meson.build b/lib/librte_eal/arm/include/meson.build
index 70b2382c0b..844fa324f3 100644
--- a/lib/librte_eal/arm/include/meson.build
+++ b/lib/librte_eal/arm/include/meson.build
@@ -26,6 +26,7 @@ arch_headers = files(
 	'rte_prefetch.h',
 	'rte_rwlock.h',
 	'rte_spinlock.h',
+	'rte_ticketlock.h',
 	'rte_vect.h',
 )
 install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
diff --git a/lib/librte_eal/ppc/include/meson.build b/lib/librte_eal/ppc/include/meson.build
index e46ae899e6..dcd91e2f85 100644
--- a/lib/librte_eal/ppc/include/meson.build
+++ b/lib/librte_eal/ppc/include/meson.build
@@ -14,6 +14,7 @@ arch_headers = files(
 	'rte_prefetch.h',
 	'rte_rwlock.h',
 	'rte_spinlock.h',
+	'rte_ticketlock.h',
 	'rte_vect.h',
 )
 install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
diff --git a/lib/librte_eal/x86/include/meson.build b/lib/librte_eal/x86/include/meson.build
index 9be5b318de..b25b176bcc 100644
--- a/lib/librte_eal/x86/include/meson.build
+++ b/lib/librte_eal/x86/include/meson.build
@@ -18,6 +18,7 @@ arch_headers = files(
 	'rte_rtm.h',
 	'rte_rwlock.h',
 	'rte_spinlock.h',
+	'rte_ticketlock.h',
 	'rte_vect.h',
 )
 install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
-- 
2.25.1


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

* Re: [dpdk-stable] [dpdk-dev] [PATCH 2/2] eal: fix missing installation of ticketlock headers
  2020-11-04 17:03 ` [dpdk-stable] [PATCH 2/2] eal: fix missing installation of ticketlock headers Olivier Matz
@ 2020-11-04 17:28   ` David Marchand
  2020-11-05 15:57     ` David Marchand
  2020-11-04 17:52   ` [dpdk-stable] " David Christensen
  2020-11-05  6:24   ` Ruifeng Wang
  2 siblings, 1 reply; 7+ messages in thread
From: David Marchand @ 2020-11-04 17:28 UTC (permalink / raw)
  To: Olivier Matz
  Cc: dev, Jerin Jacob, Ruifeng Wang, Jan Viktorin, David Christensen,
	Bruce Richardson, Konstantin Ananyev, Honnappa Nagarahalli,
	Phil Yang, Gavin Hu, Steve Capper, Joyce Kong, dpdk stable

On Wed, Nov 4, 2020 at 6:04 PM Olivier Matz <olivier.matz@6wind.com> wrote:
>
> Add missing arch-specific headers in meson.build.
>
> Fixes: ca49b92079df ("ticketlock: enable generic ticketlock on all arch")
> Cc: stable@dpdk.org
>
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

Issue can be seen with:

diff --git a/examples/helloworld/main.c b/examples/helloworld/main.c
index 8a4cee60ff..627becb01b 100644
--- a/examples/helloworld/main.c
+++ b/examples/helloworld/main.c
@@ -14,6 +14,8 @@
 #include <rte_per_lcore.h>
 #include <rte_lcore.h>
 #include <rte_debug.h>
+#include <rte_mcslock.h>
+#include <rte_ticketlock.h>

 static int
 lcore_hello(__rte_unused void *arg)


For the series:
Acked-by: David Marchand <david.marchand@redhat.com>


-- 
David Marchand


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

* Re: [dpdk-stable] [PATCH 2/2] eal: fix missing installation of ticketlock headers
  2020-11-04 17:03 ` [dpdk-stable] [PATCH 2/2] eal: fix missing installation of ticketlock headers Olivier Matz
  2020-11-04 17:28   ` [dpdk-stable] [dpdk-dev] " David Marchand
@ 2020-11-04 17:52   ` David Christensen
  2020-11-05  6:24   ` Ruifeng Wang
  2 siblings, 0 replies; 7+ messages in thread
From: David Christensen @ 2020-11-04 17:52 UTC (permalink / raw)
  To: Olivier Matz, dev
  Cc: Jerin Jacob, Ruifeng Wang, Jan Viktorin, Bruce Richardson,
	Konstantin Ananyev, Honnappa Nagarahalli, Phil Yang, Gavin Hu,
	Steve Capper, Joyce Kong, stable



On 11/4/20 9:03 AM, Olivier Matz wrote:
> Add missing arch-specific headers in meson.build.
> 
> Fixes: ca49b92079df ("ticketlock: enable generic ticketlock on all arch")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> ---
>   lib/librte_eal/arm/include/meson.build | 1 +
>   lib/librte_eal/ppc/include/meson.build | 1 +
>   lib/librte_eal/x86/include/meson.build | 1 +
>   3 files changed, 3 insertions(+)
> 
> diff --git a/lib/librte_eal/arm/include/meson.build b/lib/librte_eal/arm/include/meson.build
> index 70b2382c0b..844fa324f3 100644
> --- a/lib/librte_eal/arm/include/meson.build
> +++ b/lib/librte_eal/arm/include/meson.build
> @@ -26,6 +26,7 @@ arch_headers = files(
>   	'rte_prefetch.h',
>   	'rte_rwlock.h',
>   	'rte_spinlock.h',
> +	'rte_ticketlock.h',
>   	'rte_vect.h',
>   )
>   install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
> diff --git a/lib/librte_eal/ppc/include/meson.build b/lib/librte_eal/ppc/include/meson.build
> index e46ae899e6..dcd91e2f85 100644
> --- a/lib/librte_eal/ppc/include/meson.build
> +++ b/lib/librte_eal/ppc/include/meson.build
> @@ -14,6 +14,7 @@ arch_headers = files(
>   	'rte_prefetch.h',
>   	'rte_rwlock.h',
>   	'rte_spinlock.h',
> +	'rte_ticketlock.h',
>   	'rte_vect.h',
>   )
>   install_headers(arch_headers, subdir: get_option('include_subdir_arch'))

Acked-by: David Christensen <drc@linux.vnet.ibm.com>


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

* Re: [dpdk-stable] [PATCH 2/2] eal: fix missing installation of ticketlock headers
  2020-11-04 17:03 ` [dpdk-stable] [PATCH 2/2] eal: fix missing installation of ticketlock headers Olivier Matz
  2020-11-04 17:28   ` [dpdk-stable] [dpdk-dev] " David Marchand
  2020-11-04 17:52   ` [dpdk-stable] " David Christensen
@ 2020-11-05  6:24   ` Ruifeng Wang
  2 siblings, 0 replies; 7+ messages in thread
From: Ruifeng Wang @ 2020-11-05  6:24 UTC (permalink / raw)
  To: Olivier Matz, dev
  Cc: jerinj, Jan Viktorin, David Christensen, Bruce Richardson,
	Konstantin Ananyev, Honnappa Nagarahalli, Phil Yang, Gavin Hu,
	Steve Capper, Joyce Kong, stable, nd


> -----Original Message-----
> From: Olivier Matz <olivier.matz@6wind.com>
> Sent: Thursday, November 5, 2020 1:04 AM
> To: dev@dpdk.org
> Cc: jerinj@marvell.com; Ruifeng Wang <Ruifeng.Wang@arm.com>; Jan
> Viktorin <viktorin@rehivetech.com>; David Christensen
> <drc@linux.vnet.ibm.com>; Bruce Richardson <bruce.richardson@intel.com>;
> Konstantin Ananyev <konstantin.ananyev@intel.com>; Honnappa
> Nagarahalli <Honnappa.Nagarahalli@arm.com>; Phil Yang
> <Phil.Yang@arm.com>; Gavin Hu <Gavin.Hu@arm.com>; Steve Capper
> <Steve.Capper@arm.com>; Joyce Kong <Joyce.Kong@arm.com>;
> stable@dpdk.org
> Subject: [PATCH 2/2] eal: fix missing installation of ticketlock headers
> 
> Add missing arch-specific headers in meson.build.
> 
> Fixes: ca49b92079df ("ticketlock: enable generic ticketlock on all arch")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> ---
>  lib/librte_eal/arm/include/meson.build | 1 +
> lib/librte_eal/ppc/include/meson.build | 1 +
> lib/librte_eal/x86/include/meson.build | 1 +
>  3 files changed, 3 insertions(+)
> 
> diff --git a/lib/librte_eal/arm/include/meson.build
> b/lib/librte_eal/arm/include/meson.build
> index 70b2382c0b..844fa324f3 100644
> --- a/lib/librte_eal/arm/include/meson.build
> +++ b/lib/librte_eal/arm/include/meson.build
> @@ -26,6 +26,7 @@ arch_headers = files(
>  	'rte_prefetch.h',
>  	'rte_rwlock.h',
>  	'rte_spinlock.h',
> +	'rte_ticketlock.h',
>  	'rte_vect.h',
>  )
>  install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
> diff --git a/lib/librte_eal/ppc/include/meson.build
> b/lib/librte_eal/ppc/include/meson.build
> index e46ae899e6..dcd91e2f85 100644
> --- a/lib/librte_eal/ppc/include/meson.build
> +++ b/lib/librte_eal/ppc/include/meson.build
> @@ -14,6 +14,7 @@ arch_headers = files(
>  	'rte_prefetch.h',
>  	'rte_rwlock.h',
>  	'rte_spinlock.h',
> +	'rte_ticketlock.h',
>  	'rte_vect.h',
>  )
>  install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
> diff --git a/lib/librte_eal/x86/include/meson.build
> b/lib/librte_eal/x86/include/meson.build
> index 9be5b318de..b25b176bcc 100644
> --- a/lib/librte_eal/x86/include/meson.build
> +++ b/lib/librte_eal/x86/include/meson.build
> @@ -18,6 +18,7 @@ arch_headers = files(
>  	'rte_rtm.h',
>  	'rte_rwlock.h',
>  	'rte_spinlock.h',
> +	'rte_ticketlock.h',
>  	'rte_vect.h',
>  )
>  install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
> --
> 2.25.1

Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>

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

* Re: [dpdk-stable] [PATCH 1/2] eal: fix missing installation of mcslock headers
  2020-11-04 17:03 [dpdk-stable] [PATCH 1/2] eal: fix missing installation of mcslock headers Olivier Matz
  2020-11-04 17:03 ` [dpdk-stable] [PATCH 2/2] eal: fix missing installation of ticketlock headers Olivier Matz
@ 2020-11-05  6:27 ` Ruifeng Wang
  1 sibling, 0 replies; 7+ messages in thread
From: Ruifeng Wang @ 2020-11-05  6:27 UTC (permalink / raw)
  To: Olivier Matz, dev
  Cc: jerinj, Jan Viktorin, David Christensen, Bruce Richardson,
	Konstantin Ananyev, Honnappa Nagarahalli, Phil Yang, Gavin Hu,
	Steve Capper, Joyce Kong, stable, nd


> -----Original Message-----
> From: Olivier Matz <olivier.matz@6wind.com>
> Sent: Thursday, November 5, 2020 1:04 AM
> To: dev@dpdk.org
> Cc: jerinj@marvell.com; Ruifeng Wang <Ruifeng.Wang@arm.com>; Jan
> Viktorin <viktorin@rehivetech.com>; David Christensen
> <drc@linux.vnet.ibm.com>; Bruce Richardson <bruce.richardson@intel.com>;
> Konstantin Ananyev <konstantin.ananyev@intel.com>; Honnappa
> Nagarahalli <Honnappa.Nagarahalli@arm.com>; Phil Yang
> <Phil.Yang@arm.com>; Gavin Hu <Gavin.Hu@arm.com>; Steve Capper
> <Steve.Capper@arm.com>; Joyce Kong <Joyce.Kong@arm.com>;
> stable@dpdk.org
> Subject: [PATCH 1/2] eal: fix missing installation of mcslock headers
> 
> Add missing arch-specific headers in meson.build.
> 
> Fixes: 2173f3333b61 ("mcslock: add MCS queued lock implementation")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> ---
>  lib/librte_eal/arm/include/meson.build | 1 +
> lib/librte_eal/ppc/include/meson.build | 1 +
> lib/librte_eal/x86/include/meson.build | 1 +
>  3 files changed, 3 insertions(+)
> 
> diff --git a/lib/librte_eal/arm/include/meson.build
> b/lib/librte_eal/arm/include/meson.build
> index 73b750a18f..70b2382c0b 100644
> --- a/lib/librte_eal/arm/include/meson.build
> +++ b/lib/librte_eal/arm/include/meson.build
> @@ -14,6 +14,7 @@ arch_headers = files(
>  	'rte_cycles.h',
>  	'rte_io_64.h',
>  	'rte_io.h',
> +	'rte_mcslock.h',
>  	'rte_memcpy_32.h',
>  	'rte_memcpy_64.h',
>  	'rte_memcpy.h',
> diff --git a/lib/librte_eal/ppc/include/meson.build
> b/lib/librte_eal/ppc/include/meson.build
> index ab4bd28092..e46ae899e6 100644
> --- a/lib/librte_eal/ppc/include/meson.build
> +++ b/lib/librte_eal/ppc/include/meson.build
> @@ -8,6 +8,7 @@ arch_headers = files(
>  	'rte_cpuflags.h',
>  	'rte_cycles.h',
>  	'rte_io.h',
> +	'rte_mcslock.h',
>  	'rte_memcpy.h',
>  	'rte_pause.h',
>  	'rte_prefetch.h',
> diff --git a/lib/librte_eal/x86/include/meson.build
> b/lib/librte_eal/x86/include/meson.build
> index f0e998c2fe..9be5b318de 100644
> --- a/lib/librte_eal/x86/include/meson.build
> +++ b/lib/librte_eal/x86/include/meson.build
> @@ -11,6 +11,7 @@ arch_headers = files(
>  	'rte_cpuflags.h',
>  	'rte_cycles.h',
>  	'rte_io.h',
> +	'rte_mcslock.h',
>  	'rte_memcpy.h',
>  	'rte_prefetch.h',
>  	'rte_pause.h',
> --
> 2.25.1

Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>

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

* Re: [dpdk-stable] [dpdk-dev] [PATCH 2/2] eal: fix missing installation of ticketlock headers
  2020-11-04 17:28   ` [dpdk-stable] [dpdk-dev] " David Marchand
@ 2020-11-05 15:57     ` David Marchand
  0 siblings, 0 replies; 7+ messages in thread
From: David Marchand @ 2020-11-05 15:57 UTC (permalink / raw)
  To: Olivier Matz
  Cc: dev, Jerin Jacob, Ruifeng Wang, Jan Viktorin, David Christensen,
	Bruce Richardson, Konstantin Ananyev, Honnappa Nagarahalli,
	Phil Yang, Gavin Hu, Steve Capper, Joyce Kong, dpdk stable

On Wed, Nov 4, 2020 at 6:28 PM David Marchand <david.marchand@redhat.com> wrote:
> On Wed, Nov 4, 2020 at 6:04 PM Olivier Matz <olivier.matz@6wind.com> wrote:
> >
> > Add missing arch-specific headers in meson.build.
> >
> > Fixes: ca49b92079df ("ticketlock: enable generic ticketlock on all arch")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> Acked-by: David Marchand <david.marchand@redhat.com>
Acked-by: David Christensen <drc@linux.vnet.ibm.com>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>

Applied, thanks Olivier.

-- 
David Marchand


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

end of thread, other threads:[~2020-11-05 15:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 17:03 [dpdk-stable] [PATCH 1/2] eal: fix missing installation of mcslock headers Olivier Matz
2020-11-04 17:03 ` [dpdk-stable] [PATCH 2/2] eal: fix missing installation of ticketlock headers Olivier Matz
2020-11-04 17:28   ` [dpdk-stable] [dpdk-dev] " David Marchand
2020-11-05 15:57     ` David Marchand
2020-11-04 17:52   ` [dpdk-stable] " David Christensen
2020-11-05  6:24   ` Ruifeng Wang
2020-11-05  6:27 ` [dpdk-stable] [PATCH 1/2] eal: fix missing installation of mcslock headers Ruifeng Wang

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ https://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git