DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net: fix pedantic build for L2TPv2 definitions
@ 2021-10-24 11:45 David Marchand
  2021-10-24 13:12 ` Raslan Darawsheh
  0 siblings, 1 reply; 3+ messages in thread
From: David Marchand @ 2021-10-24 11:45 UTC (permalink / raw)
  To: dev
  Cc: Olivier Matz, Ferruh Yigit, Ori Kam, Jie Wang, Wenjun Wu,
	Andrew Rybchenko

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(+)

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 */
-- 
2.23.0


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

* Re: [dpdk-dev] [PATCH] net: fix pedantic build for L2TPv2 definitions
  2021-10-24 11:45 [dpdk-dev] [PATCH] net: fix pedantic build for L2TPv2 definitions David Marchand
@ 2021-10-24 13:12 ` Raslan Darawsheh
  2021-10-25  7:32   ` David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: Raslan Darawsheh @ 2021-10-24 13:12 UTC (permalink / raw)
  To: David Marchand, dev
  Cc: Olivier Matz, Ferruh Yigit, Ori Kam, Jie Wang, Wenjun Wu,
	Andrew Rybchenko

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

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

* Re: [dpdk-dev] [PATCH] net: fix pedantic build for L2TPv2 definitions
  2021-10-24 13:12 ` Raslan Darawsheh
@ 2021-10-25  7:32   ` David Marchand
  0 siblings, 0 replies; 3+ messages in thread
From: David Marchand @ 2021-10-25  7:32 UTC (permalink / raw)
  To: David Marchand
  Cc: dev, Raslan Darawsheh, Olivier Matz, Ferruh Yigit, Ori Kam,
	Jie Wang, Wenjun Wu, Andrew Rybchenko

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.


-- 
David Marchand


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

end of thread, other threads:[~2021-10-25  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-24 11:45 [dpdk-dev] [PATCH] net: fix pedantic build for L2TPv2 definitions David Marchand
2021-10-24 13:12 ` Raslan Darawsheh
2021-10-25  7:32   ` David Marchand

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).