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/4] tests/ipgre: delete GRE_packet_filter
Date: Wed, 17 Nov 2021 18:04:04 +0000	[thread overview]
Message-ID: <20211117180405.116883-3-yanx.xia@intel.com> (raw)
In-Reply-To: <20211117180405.116883-1-yanx.xia@intel.com>

delete GRE_packet_filter that legcay command not be supported and not new
command to replace
dpdk commit-id:251baec36  ethdev: remove legacy tunnel filter type support 

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

diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index 2a15e07a..da5b7025 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -300,61 +300,6 @@ class TestIpgre(TestCase):
         self.check_packet_transmission(pkt_types_ipv6_ipv6_SCTP, config_layers)
         self.dut.send_expect("quit", "#")
 
-    def test_GRE_packet_filter(self):
-        """
-        Start testpmd with multi queues, add GRE filter that forward
-        inner/outer ip address 0.0.0.0 to queue 3, Send packet inner
-        ip address matched and check packet received by queue 3
-        """
-        outer_mac = self.tester_iface_mac
-        inner_mac = "10:00:00:00:00:00"
-
-        # Start testpmd with multi queues
-        #testpmd_cmd = "./%s/app/testpmd -c ff -n 3 -- -i  --rxq=4 --txq=4" % self.target
-        self.pmdout.start_testpmd("Default", "--portmask=%s " %
-                                  (self.portMask) + " --enable-rx-cksum --rxq=4 --txq=4 "
-                                  , socket=self.ports_socket)
-        self.dut.send_expect("set fwd rxonly", "testpmd>")
-        self.dut.send_expect("set nbcore 4", "testpmd>")
-        self.dut.send_expect("set verbose 1", "testpmd>")
-        self.dut.send_expect("start", "testpmd>")
-
-        # Add GRE filter that forward inner ip address 0.0.0.0 to queue 3
-        cmd = "tunnel_filter add 0 %s %s 0.0.0.0 1 ipingre iip 0 3"%(outer_mac, inner_mac)
-        self.dut.send_expect( cmd, "testpmd>")
-
-        # Send packet inner ip address matched and check packet received by queue 3
-        pkt_types = {"MAC_IP_GRE_IPv4-TUNNEL_UDP_PKT":  ["TUNNEL_GRENAT",  "INNER_L4_UDP"]}
-        config_layers = {'ether': {'src': self.outer_mac_src},
-                         'ipv4': {'proto': 'gre',
-                                  'src': self.outer_ip_src,
-                                  'dst': self.outer_ip_dst},
-                         'inner_ipv4':{'dst': "0.0.0.0"}}
-        self.check_packet_transmission(pkt_types, config_layers, "3", 1)
-
-        # Remove tunnel filter and check same packet received by queue 0
-        cmd = "tunnel_filter rm 0 %s %s 0.0.0.0 1 ipingre iip 0 3"%(outer_mac, inner_mac)
-        self.dut.send_expect( cmd, "testpmd>")
-        self.check_packet_transmission(pkt_types, config_layers, "3")
-
-        # Add GRE filter that forward outer ip address 0.0.0.0 to queue 3
-        cmd = "tunnel_filter add 0 %s %s 0.0.0.0 1 ipingre oip 0 3"%(outer_mac, inner_mac)
-        self.dut.send_expect( cmd, "testpmd>")
-
-        # Send packet outer ip address matched and check packet received by queue 3.
-        pkt_types = {"MAC_IP_GRE_IPv4-TUNNEL_UDP_PKT": ["TUNNEL_GRENAT", "INNER_L4_UDP"]}
-        config_layers = {'ether': {'src': self.outer_mac_src},
-                         'ipv4': {'dst': "0.0.0.0", 'proto': 'gre'}}
-        self.check_packet_transmission(pkt_types, config_layers, "3", 1)
-
-        # Add GRE filter that forward outer ip address 0.0.0.0 to queue 3
-        cmd = "tunnel_filter rm 0 %s %s 0.0.0.0 1 ipingre oip 0 3"%(outer_mac, inner_mac)
-        self.dut.send_expect( cmd, "testpmd>")
-        self.check_packet_transmission(pkt_types, config_layers, "3")
-
-        time.sleep(2)
-        self.dut.send_expect("quit", "#")
-
     def test_GRE_packet_chksum_offload(self):
         """
         Start testpmd with hardware checksum offload enabled,
-- 
2.33.1


  parent reply	other threads:[~2021-11-17 10:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17 18:04 [dts][PATCH V1 0/4] *** delete test case *** Yan Xia
2021-11-17 18:04 ` [dts][PATCH V1 1/4] test_plans/ipgre_test_plan: delete GRE_packet_filter Yan Xia
2021-11-17 18:04 ` Yan Xia [this message]
2021-11-17 18:04 ` [dts][PATCH V1 3/4] test_plans/vxlan_gpe_support_in_i40e: delete tunnel_filter_vxlan_gpe Yan Xia

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=20211117180405.116883-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).