test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yan Xia <yanx.xia@intel.com>
To: dts@dpdk.org
Cc: Yan Xia <yanx.xia@intel.com>
Subject: [dts] [PATCH V1 2/2] tests/generic_flow_api: delete test_L2_tunnel_filter
Date: Tue, 26 Oct 2021 14:41:06 +0000	[thread overview]
Message-ID: <20211026144106.74603-3-yanx.xia@intel.com> (raw)
In-Reply-To: <20211026144106.74603-1-yanx.xia@intel.com>

The case only support sagepond and sageville, but these two types NIC
have been removed, so delete the case after confirmed with Peng,Yuan.

Signed-off-by: Yan Xia <yanx.xia@intel.com>
---
 tests/TestSuite_generic_flow_api.py | 47 -----------------------------
 1 file changed, 47 deletions(-)

diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py
index e06919c1..e6b04ab6 100644
--- a/tests/TestSuite_generic_flow_api.py
+++ b/tests/TestSuite_generic_flow_api.py
@@ -912,53 +912,6 @@ class TestGeneric_flow_api(TestCase):
             rule_num = extrapkt_rulenum['rulenum']
             self.verify_rulenum(rule_num)
 
-    def test_L2_tunnel_filter(self):
-        """
-        only supported by ixgbe
-        """
-        self.verify(self.nic in ["sagepond", "sageville", "foxville"], "%s nic not support fdir L2 tunnel filter" % self.nic)
-
-        self.setup_env()
-        # start testpmd on pf
-        self.pmdout.start_testpmd("1S/4C/1T", "--rxq=4 --txq=4", "-a %s --file-prefix=pf -m 1024" % self.pf_pci)
-        self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
-        self.dut.send_expect("set verbose 1", "testpmd> ", 120)
-        self.dut.send_expect("start", "testpmd> ", 120)
-        time.sleep(2)
-        # start testpmd on vf0
-        self.session_secondary.send_expect("%s -c 0x1e0 -n 4 -m 1024 -a %s --file-prefix=vf1 -- -i --rxq=4 --txq=4" % (self.app_path, self.sriov_vfs_port[0].pci), "testpmd>", 120)
-        self.session_secondary.send_expect("set fwd rxonly", "testpmd> ")
-        self.session_secondary.send_expect("set verbose 1", "testpmd> ")
-        self.session_secondary.send_expect("start", "testpmd> ")
-        time.sleep(2)
-        # start testpmd on vf1
-        self.session_third.send_expect("%s -c 0x1e00 -n 4 -m 1024 -a %s --file-prefix=vf2 -- -i --rxq=4 --txq=4" % (self.app_path, self.sriov_vfs_port[1].pci), "testpmd>", 120)
-        self.session_third.send_expect("set fwd rxonly", "testpmd> ")
-        self.session_third.send_expect("set verbose 1", "testpmd> ")
-        self.session_third.send_expect("start", "testpmd> ")
-        time.sleep(2)
-
-        # Enabling ability of parsing E-tag packet
-        self.dut.send_expect("port config 0 l2-tunnel E-tag enable", "testpmd> ")
-        # Enable E-tag packet forwarding, set on pf
-        self.dut.send_expect("E-tag set forwarding on port 0", "testpmd> ")
-
-        # create the flow rules
-        basic_flow_actions = [
-            {'create': 'validate', 'flows': ['etag'], 'actions': ['vf0']},
-            {'create': 'validate', 'flows': ['etag'], 'actions': ['vf1']},
-            {'create': 'validate', 'flows': ['etag'], 'actions': ['pf']},
-            {'create': 'create', 'flows': ['etag'], 'actions': ['vf0']},
-            {'create': 'create', 'flows': ['etag'], 'actions': ['vf1']},
-            {'create': 'create', 'flows': ['etag'], 'actions': ['pf']},
-        ]
-        extrapkt_rulenum = self.all_flows_process(basic_flow_actions)
-        extra_packet = extrapkt_rulenum['extrapacket']
-        self.sendpkt('Ether(dst="%s")/Dot1BR(GRP=0x2, ECIDbase=%s)/Raw("x" * 20)' % (self.pf_mac, extra_packet[0]['etag']))
-        self.verify_result("pf", expect_rxpkts="0", expect_queue="NULL", verify_mac=self.pf_mac)
-        rule_num = extrapkt_rulenum['rulenum']
-        self.verify_rulenum(rule_num)
-
     def test_fdir_for_L2_payload(self):
         """
         only supported by i40e
-- 
2.33.1


  parent reply	other threads:[~2021-10-26  6:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26 14:41 [dts] [PATCH V1 0/2] *** delete test_L2_tunnel_filter *** Yan Xia
2021-10-26 14:41 ` [dts] [PATCH V1 1/2] test_plans/generic_flow_api: delete test_L2_tunnel_filter Yan Xia
2021-10-26 14:41 ` Yan Xia [this message]
2021-10-26  7:31   ` [dts] [PATCH V1 2/2] tests/generic_flow_api: " Peng, Yuan
2021-10-26  7:53     ` 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=20211026144106.74603-3-yanx.xia@intel.com \
    --to=yanx.xia@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).