From: Yong Liu <yong.liu@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH 1/2] framework packet: support more default packet type
Date: Thu, 28 Jan 2016 15:55:19 +0800 [thread overview]
Message-ID: <1453967720-21839-1-git-send-email-yong.liu@intel.com> (raw)
Signed-off-by: Marvin Liu <yong.liu@intel.com>
diff --git a/framework/packet.py b/framework/packet.py
index 0fa4df9..7f7e9d2 100755
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -326,6 +326,11 @@ class Packet(object):
'TCP': {'layers': ['ether', 'ipv4', 'tcp', 'raw'], 'cfgload': True},
'UDP': {'layers': ['ether', 'ipv4', 'udp', 'raw'], 'cfgload': True},
'VLAN_UDP': {'layers': ['ether', 'dot1q', 'ipv4', 'udp', 'raw'], 'cfgload': True},
+ 'VLAN_TCP': {'layers': ['ether', 'dot1q', 'ipv4', 'tcp', 'raw'], 'cfgload': True},
+ 'VLAN_SCTP': {'layers': ['ether', 'dot1q', 'ipv4', 'sctp', 'raw'], 'cfgload': True},
+ 'VLAN_IPv6_UDP': {'layers': ['ether', 'dot1q', 'ipv6', 'udp', 'raw'], 'cfgload': True},
+ 'VLAN_IPv6_TCP': {'layers': ['ether', 'dot1q', 'ipv6', 'tcp', 'raw'], 'cfgload': True},
+ 'VLAN_IPv6_SCTP': {'layers': ['ether', 'dot1q', 'ipv6', 'sctp', 'raw'], 'cfgload': True},
'SCTP': {'layers': ['ether', 'ipv4', 'sctp', 'raw'], 'cfgload': True},
'IPv6_TCP': {'layers': ['ether', 'ipv6', 'tcp', 'raw'], 'cfgload': True},
'IPv6_UDP': {'layers': ['ether', 'ipv6', 'udp', 'raw'], 'cfgload': True},
--
1.8.4.2
next reply other threads:[~2016-01-28 7:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 7:55 Yong Liu [this message]
2016-01-28 7:55 ` [dts] [PATCH 2/2] tests vf_vlan: support fm10k VF device Yong Liu
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=1453967720-21839-1-git-send-email-yong.liu@intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
/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).