From: "Pei, Yulong" <yulong.pei@intel.com>
To: "Wu, Jingjing" <jingjing.wu@intel.com>,
"Zhang, Helin" <helin.zhang@intel.com>
Cc: "Wu, Jingjing" <jingjing.wu@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH 1/2] mbuf: new NSH packet type
Date: Thu, 26 May 2016 08:41:57 +0000 [thread overview]
Message-ID: <188971FCDA171749BED5DA74ABF3E6F003572C5F@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1462254672-6563-2-git-send-email-jingjing.wu@intel.com>
Test-by: Yulong.pei@intel.com
ether+nsh
ether+nsh+ip
ether+nsh+ip+icmp
ether+nsh+ip_frag
ether+nsh+ip+tcp
ether+nsh+ip+udp
ether+nsh+ip+sctp
ether+nsh+ipv6
ether+nsh+ipv6+icmp
ether+nsh+ipv6_frag
ether+nsh+ipv6+tcp
ether+nsh+ipv6+udp
ether+nsh+ipv6+sctp
Above combos can be recognized correctly.
-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jingjing Wu
Sent: Tuesday, May 3, 2016 1:51 PM
To: Zhang, Helin <helin.zhang@intel.com>
Cc: Wu, Jingjing <jingjing.wu@intel.com>; dev@dpdk.org
Subject: [dpdk-dev] [PATCH 1/2] mbuf: new NSH packet type
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
---
lib/librte_mbuf/rte_mbuf.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 529debb..79edae3 100644
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.h
@@ -274,6 +274,13 @@ extern "C" {
*/
#define RTE_PTYPE_L2_ETHER_LLDP 0x00000004
/**
+ * NSH (Network Service Header) packet type.
+ *
+ * Packet format:
+ * <'ether type'=0x894F>
+ */
+#define RTE_PTYPE_L2_ETHER_NSH 0x00000005
+/**
* Mask of layer 2 packet types.
* It is used for outer packet for tunneling cases.
*/
--
2.4.0
next prev parent reply other threads:[~2016-05-26 8:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-03 5:51 [dpdk-dev] [PATCH 0/2] NSH packet type support in i40e Jingjing Wu
2016-05-03 5:51 ` [dpdk-dev] [PATCH 1/2] mbuf: new NSH packet type Jingjing Wu
2016-05-19 12:26 ` Olivier Matz
2016-05-26 8:41 ` Pei, Yulong [this message]
2016-05-03 5:51 ` [dpdk-dev] [PATCH 2/2] i40e: NSH packet type support Jingjing Wu
2016-06-01 18:39 ` [dpdk-dev] [PATCH 0/2] NSH packet type support in i40e Zhe Tao
2016-06-23 19:38 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=188971FCDA171749BED5DA74ABF3E6F003572C5F@shsmsx102.ccr.corp.intel.com \
--to=yulong.pei@intel.com \
--cc=dev@dpdk.org \
--cc=helin.zhang@intel.com \
--cc=jingjing.wu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).