diff mbox series

net: fix pedantic build for L2TPv2 definitions

Message ID 20211024114552.6144-1-david.marchand@redhat.com (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers show
Series net: fix pedantic build for L2TPv2 definitions | expand

Checks

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

Commit Message

David Marchand Oct. 24, 2021, 11:45 a.m. UTC
Build is broken on RHEL7 following introduction of this new protocol.

Fixes: 3a929df1f286 ("ethdev: support L2TPv2 and PPP procotol")

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

Comments

Raslan Darawsheh Oct. 24, 2021, 1:12 p.m. UTC | #1
Hi,

> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of David Marchand
> Sent: Sunday, October 24, 2021 2:46 PM
> To: dev@dpdk.org
> Cc: Olivier Matz <olivier.matz@6wind.com>; Ferruh Yigit
> <ferruh.yigit@intel.com>; Ori Kam <orika@nvidia.com>; Jie Wang
> <jie1x.wang@intel.com>; Wenjun Wu <wenjun1.wu@intel.com>; Andrew
> Rybchenko <andrew.rybchenko@oktetlabs.ru>
> Subject: [dpdk-dev] [PATCH] net: fix pedantic build for L2TPv2 definitions
> 
> Build is broken on RHEL7 following introduction of this new protocol.
> 
> Fixes: 3a929df1f286 ("ethdev: support L2TPv2 and PPP procotol")
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Raslan Darawsheh <rasland@nvidia.com>

Kindest regards
Raslan Darawsheh
David Marchand Oct. 25, 2021, 7:32 a.m. UTC | #2
On Sun, Oct 24, 2021 at 3:12 PM Raslan Darawsheh <rasland@nvidia.com> wrote:
> > Build is broken on RHEL7 following introduction of this new protocol.
> >
> > Fixes: 3a929df1f286 ("ethdev: support L2TPv2 and PPP procotol")
> >
> > Signed-off-by: David Marchand <david.marchand@redhat.com>
> Tested-by: Raslan Darawsheh <rasland@nvidia.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/lib/net/rte_l2tpv2.h b/lib/net/rte_l2tpv2.h
index 4634964820..670fe5470e 100644
--- a/lib/net/rte_l2tpv2.h
+++ b/lib/net/rte_l2tpv2.h
@@ -86,6 +86,7 @@  struct rte_l2tpv2_common_hdr {
 	union {
 		/** header flags and protocol version */
 		rte_be16_t flags_version;
+		__extension__
 		struct {
 #if RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN
 			rte_be16_t t:1;		/**< message Type */