From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id E623A2B95 for ; Fri, 18 Jan 2019 12:01:29 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 76FD4294BC; Fri, 18 Jan 2019 06:01:29 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 18 Jan 2019 06:01:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=XAwsqaIs485EDPy4s12XN6wVj2qcb5BksSloA7K1Zsc=; b=Zrvn5Y1PZipX /jbz81U3yM8mnsQEbIKpwfFMlFjxntsPQ0gMCn+YWnL7vUzPGiwEMEHwA8z7JSLw pPue+u2jYFnAdowPHGOfs82R8NYYE1+NVvNns7t7nBZM2D2LImfqTPSnFSMtZf2E CCsYjvlsf39pJkPwipF167061m6LOck= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=XAwsqaIs485EDPy4s12XN6wVj2qcb5BksSloA7K1Z sc=; b=XNHPbA0ztuUEFEeiKCFosyJspQuJoRtxBkN0WaQuPSqzBeA8OVyzjONaU +wIUqAA3pezz7uzWs4Wc7y/pr776fb+PWKZjW6No23DdWnlxeHnOWW5oOQ5wKf3K tg9flqRjB8tG65+7Nt0U2izCf3TuYpGd3iIL30GYcm6tA3n9BK3ftKw8lXwqRCel LZr78wAl/JX1aUxytF61sCTSmy7TXrQ5aU5fRJS+iBupbEba1FXTvlm10Xpmwr/6 cwp4YmKyKCW/jkXfCutJGcfMbsDsSWi5RpLdImWKZWHTNeOa0yS50j3lW/ZmIagP +fKSFl8A90zE5/5cKqn1tBwBsLkog== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrhedtgddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfh gggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceo thhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfe drudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DE996E4511; Fri, 18 Jan 2019 06:01:27 -0500 (EST) From: Thomas Monjalon To: Nemanja Marjanovic Cc: dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com, olivier.matz@6wind.com Date: Fri, 18 Jan 2019 12:01:26 +0100 Message-ID: <1715981.ViBQNhN3fe@xps> In-Reply-To: <20190118091222.70534-4-nemanja.marjanovic@intel.com> References: <20190115105535.8872-1-nemanja.marjanovic@intel.com> <20190118091222.70534-1-nemanja.marjanovic@intel.com> <20190118091222.70534-4-nemanja.marjanovic@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 4/4] net: add PPPoE ethertypes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2019 11:01:30 -0000 +Cc Olivier, maintainer 18/01/2019 10:12, Nemanja Marjanovic: > From: "Nemanja Marjanovic" > > Add PPPoE ethertypes in to rte_ether.h. > > Signed-off-by: Nemanja Marjanovic > --- > v4:Added PPPoE ethertypes in to rte_ether.h. > --- > lib/librte_net/rte_ether.h | 2 ++ > lib/librte_pipeline/rte_table_action.c | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/librte_net/rte_ether.h b/lib/librte_net/rte_ether.h > index c2c5e249f..54822df75 100644 > --- a/lib/librte_net/rte_ether.h > +++ b/lib/librte_net/rte_ether.h > @@ -301,6 +301,8 @@ struct vxlan_hdr { > #define ETHER_TYPE_RARP 0x8035 /**< Reverse Arp Protocol. */ > #define ETHER_TYPE_VLAN 0x8100 /**< IEEE 802.1Q VLAN tagging. */ > #define ETHER_TYPE_QINQ 0x88A8 /**< IEEE 802.1ad QinQ tagging. */ > +#define ETHER_TYPE_PPPOE_DISCOVERY 0x8863 /**< PPPoE Discovery Stage. */ > +#define ETHER_TYPE_PPPOE_SESSION 0x8864 /**< PPPoE Session Stage. */ > #define ETHER_TYPE_ETAG 0x893F /**< IEEE 802.1BR E-Tag. */ > #define ETHER_TYPE_1588 0x88F7 /**< IEEE 802.1AS 1588 Precise Time Protocol. */ > #define ETHER_TYPE_SLOW 0x8809 /**< Slow protocols (LACP and Marker). */ > diff --git a/lib/librte_pipeline/rte_table_action.c b/lib/librte_pipeline/rte_table_action.c > index 466019934..ac8109f00 100644 > --- a/lib/librte_pipeline/rte_table_action.c > +++ b/lib/librte_pipeline/rte_table_action.c > @@ -485,8 +485,6 @@ struct encap_mpls_data { > uint32_t mpls_count; > } __attribute__((__packed__)); > > -#define ETHER_TYPE_PPPOE_SESSION 0x8864 > - > #define PPP_PROTOCOL_IP 0x0021 > > struct pppoe_ppp_hdr { >