stack: fix stubs header export

Message ID 20220210085543.17720-1-david.marchand@redhat.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series stack: fix stubs header export |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/github-robot: build success github build: passed
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-abi-testing success Testing PASS

Commit Message

David Marchand Feb. 10, 2022, 8:55 a.m. UTC
  The stubs header is included as part of rte_stack.h for architectures
other than x86_64 and aarch64 (i.e. x86 32 bits and ppc).

Note: chkincs won't catch this issue since it checks headers from within
the source directory.

Fixes: 7911ba0473e0 ("stack: enable lock-free implementation for aarch64")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 lib/stack/meson.build | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Thomas Monjalon Feb. 10, 2022, 4:07 p.m. UTC | #1
10/02/2022 09:55, David Marchand:
> The stubs header is included as part of rte_stack.h for architectures
> other than x86_64 and aarch64 (i.e. x86 32 bits and ppc).
> 
> Note: chkincs won't catch this issue since it checks headers from within
> the source directory.
> 
> Fixes: 7911ba0473e0 ("stack: enable lock-free implementation for aarch64")
> Cc: stable@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>

Applied, thanks.
  

Patch

diff --git a/lib/stack/meson.build b/lib/stack/meson.build
index 2f53f49677..18177a742f 100644
--- a/lib/stack/meson.build
+++ b/lib/stack/meson.build
@@ -9,4 +9,5 @@  indirect_headers += files(
         'rte_stack_lf.h',
         'rte_stack_lf_generic.h',
         'rte_stack_lf_c11.h',
+        'rte_stack_lf_stubs.h',
 )