test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xie wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie wei <weix.xie@intel.com>
Subject: [dts] [PATCH V1] tests/iavf_fdir:modify mpls packet format
Date: Thu, 13 Aug 2020 14:15:02 +0800	[thread overview]
Message-ID: <20200813061502.12248-1-weix.xie@intel.com> (raw)

According to test plan, modify MPLS packet format.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_iavf_fdir.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py
index 2e02006..c8a93d2 100644
--- a/tests/TestSuite_iavf_fdir.py
+++ b/tests/TestSuite_iavf_fdir.py
@@ -295,7 +295,7 @@ L2_Ethertype = [
     'Ether(dst="00:11:22:33:44:55",type=0x8100)',
     'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)',
     'Ether(dst="00:11:22:33:44:55",type=0x88f7)/"\\x00\\x02"',
-    'Ether(dst="00:11:22:33:44:55",type=0x8847)']
+    'Ether(dst="00:11:22:33:44:55",type=0x8847)/MPLS(label=0xee456)/IP()']
 
 PFCP = [
     'Ether(dst="00:11:22:33:44:55")/IP()/UDP(sport=22, dport=8805)/PFCP(Sfield=0)',
@@ -329,7 +329,7 @@ tv_l2_ethertype_queue_index = {
         {"port_id": 0, "queue": 4, "mark_id": 4},
         {"port_id": 0, "queue": 4, "mark_id": 4},
         {"port_id": 0, "queue": 5, "mark_id": 5},
-        {"port_id": 0, "queue": 0}]
+        {"port_id": 0, "passthru": 1}]
 }
 
 tv_l2_ethertype_queue_group = {
@@ -351,7 +351,7 @@ tv_l2_ethertype_queue_group = {
         {"port_id": 0, "queue": 0, "mark_id": 2},
         {"port_id": 0, "queue": 0, "mark_id": 2},
         {"port_id": 0, "queue": 0, "mark_id": 3},
-        {"port_id": 0, "queue": 0}]
+        {"port_id": 0, "passthru": 1}]
 }
 
 tv_l2_ethertype_passthru = {
@@ -373,7 +373,7 @@ tv_l2_ethertype_passthru = {
         {"port_id": 0, "queue": 0, "mark_id": 3},
         {"port_id": 0, "queue": 0, "mark_id": 3},
         {"port_id": 0, "queue": 0, "mark_id": 4},
-        {"port_id": 0, "queue": 0}]
+        {"port_id": 0, "passthru": 1}]
 }
 
 tv_l2_ethertype_mark_rss = {
@@ -395,7 +395,7 @@ tv_l2_ethertype_mark_rss = {
         {"port_id": 0, "queue": 0, "mark_id": 0},
         {"port_id": 0, "queue": 0, "mark_id": 0},
         {"port_id": 0, "queue": 0, "mark_id": 3},
-        {"port_id": 0, "queue": 0}]
+        {"port_id": 0, "passthru": 1}]
 }
 
 tv_l2_ethertype_mark = {
@@ -417,7 +417,7 @@ tv_l2_ethertype_mark = {
         {"port_id": 0, "queue": 0, "mark_id": 2},
         {"port_id": 0, "queue": 0, "mark_id": 2},
         {"port_id": 0, "queue": 0, "mark_id": 0},
-        {"port_id": 0, "queue": 0}]
+        {"port_id": 0, "passthru": 1}]
 }
 
 tv_l2_ethertype_drop = {
@@ -439,7 +439,7 @@ tv_l2_ethertype_drop = {
         {"port_id": 0, "drop": 1},
         {"port_id": 0, "drop": 1},
         {"port_id": 0, "drop": 1},
-        {"port_id": 0, "queue": 0}]
+        {"port_id": 0, "passthru": 1}]
 }
 
 tv_pfcp_queue_index = {
-- 
2.17.1


             reply	other threads:[~2020-08-13  6:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-13  6:15 Xie wei [this message]
2020-08-13  6:21 ` Xie, WeiX
2020-08-21  2:40 ` Tu, Lijuan

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=20200813061502.12248-1-weix.xie@intel.com \
    --to=weix.xie@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).