Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/102367/?format=api
https://patches.dpdk.org/api/patches/102367/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/1634717221-221075-2-git-send-email-songx.jiale@intel.com/", "project": { "id": 3, "url": "https://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<1634717221-221075-2-git-send-email-songx.jiale@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1634717221-221075-2-git-send-email-songx.jiale@intel.com", "date": "2021-10-20T08:06:54", "name": "[V1,2/9] tests/cvl_qinq: update case code for driver change", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "aa06fa3ef9e654fff2d15eb407c2d7b415603ebd", "submitter": { "id": 2352, "url": "https://patches.dpdk.org/api/people/2352/?format=api", "name": "Jiale, SongX", "email": "songx.jiale@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/1634717221-221075-2-git-send-email-songx.jiale@intel.com/mbox/", "series": [ { "id": 19823, "url": "https://patches.dpdk.org/api/series/19823/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=19823", "date": "2021-10-20T08:06:53", "name": "[V1,1/9] tests/cvl_dcf_flow_priority: update case code for driver change", "version": 1, "mbox": "https://patches.dpdk.org/series/19823/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/102367/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/102367/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 76D0CA0C4B;\n\tWed, 20 Oct 2021 09:53:12 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 717D341196;\n\tWed, 20 Oct 2021 09:53:12 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id 0FCC840142\n for <dts@dpdk.org>; Wed, 20 Oct 2021 09:53:10 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Oct 2021 00:53:10 -0700", "from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Oct 2021 00:53:09 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10142\"; a=\"252203315\"", "E=Sophos;i=\"5.87,166,1631602800\"; d=\"scan'208\";a=\"252203315\"", "E=Sophos;i=\"5.87,166,1631602800\"; d=\"scan'208\";a=\"494506952\"" ], "From": "Jiale Song <songx.jiale@intel.com>", "To": "dts@dpdk.org", "Cc": "Jiale Song <songx.jiale@intel.com>", "Date": "Wed, 20 Oct 2021 16:06:54 +0800", "Message-Id": "<1634717221-221075-2-git-send-email-songx.jiale@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1634717221-221075-1-git-send-email-songx.jiale@intel.com>", "References": "<1634717221-221075-1-git-send-email-songx.jiale@intel.com>", "Subject": "[dts] [PATCH V1 2/9] tests/cvl_qinq: update case code for driver\n change", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "Signed-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/cvl_qinq_test_plan.rst | 8 ++++----\n tests/TestSuite_cvl_qinq.py | 16 ++++++++--------\n 2 files changed, 12 insertions(+), 12 deletions(-)\n mode change 100644 => 100755 tests/TestSuite_cvl_qinq.py", "diff": "diff --git a/test_plans/cvl_qinq_test_plan.rst b/test_plans/cvl_qinq_test_plan.rst\nindex 4f44150..e725861 100644\n--- a/test_plans/cvl_qinq_test_plan.rst\n+++ b/test_plans/cvl_qinq_test_plan.rst\n@@ -73,7 +73,7 @@ Prerequisites\n \n 6. Enable vlan prune flag::\n \n- ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable on\n+ ethtool --set-priv-flags ens785f0 vf-vlan-pruning off\n \n 7. Generate 4 VFs on PF0(not all the VFs are used)::\n \n@@ -130,7 +130,7 @@ Prerequisites\n 13. For AVF QinQ test cases(10-14), recreate Generate 1 VFs on PF0, reconfig the VF then launch testpmd::\n \n echo 0 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs\n- ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable off\n+ ethtool --set-priv-flags ens785f0 vf-vlan-pruning on\n echo 1 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs\n ip link set ens785f0 vf 0 mac 00:11:22:33:44:11\n ip link set dev ens785f0 vf 0 spoofchk off\n@@ -908,7 +908,7 @@ Test case 09: vlan filter when pvid enable\n \n 1. reset test environment, create vfs and disable vlan prune flag::\n \n- ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable off\n+ ethtool --set-priv-flags ens785f0 vf-vlan-pruning on\n \n 2. repeat Prerequisites steps from 7 to 12\n \n@@ -1116,7 +1116,7 @@ Test case 12: Enable/Disable IAVF VLAN header insertion\n 1. enable vf-vlan-prune-disable flag::\n \n echo 0 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs\n- ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable on\n+ ethtool --set-priv-flags ens785f0 vf-vlan-pruning off\n \n 2. set up test environment again::\n \ndiff --git a/tests/TestSuite_cvl_qinq.py b/tests/TestSuite_cvl_qinq.py\nold mode 100644\nnew mode 100755\nindex 0c950b0..01fae96\n--- a/tests/TestSuite_cvl_qinq.py\n+++ b/tests/TestSuite_cvl_qinq.py\n@@ -253,7 +253,7 @@ class TestCvlQinq(TestCase):\n Run before each test case.\n '''\n self.pci_list = []\n- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable on' % self.pf_interface, \"#\")\n+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, \"# \")\n \n def setup_pf_vfs_env(self, vfs_num=4):\n \n@@ -644,7 +644,7 @@ class TestCvlQinq(TestCase):\n 'Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac]\n pkt_list2 = ['Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=21,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac,\n 'Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=21,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac]\n- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')\n+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ')\n self.setup_pf_vfs_env()\n self.launch_testpmd(dcf_param=True)\n self.pmd_output.execute_cmd(\"vlan set filter on 1\")\n@@ -677,7 +677,7 @@ class TestCvlQinq(TestCase):\n 'Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac]\n pkt_list2 = ['Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=11,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac,\n 'Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac]\n- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')\n+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ')\n self.setup_pf_vfs_env(vfs_num=1)\n self.launch_testpmd(vfs_num=1)\n self.pmd_output.execute_cmd(\"vlan set filter on 0\")\n@@ -710,7 +710,7 @@ class TestCvlQinq(TestCase):\n \"\"\"\n pkt_list = ['Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac,\n 'Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac]\n- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')\n+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ')\n self.setup_pf_vfs_env(vfs_num=1)\n self.launch_testpmd(vfs_num=1)\n self.pmd_output.execute_cmd(\"vlan set filter on 0\")\n@@ -744,7 +744,7 @@ class TestCvlQinq(TestCase):\n out_vlan = 1\n pkt_list = ['Ether(dst=\"%s\",type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac,\n 'Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac]\n- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable on' % self.pf_interface, '#')\n+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, '# ')\n self.setup_pf_vfs_env(vfs_num=1)\n self.launch_testpmd(vfs_num=1)\n self.pmd_output.execute_cmd(\"stop\")\n@@ -787,7 +787,7 @@ class TestCvlQinq(TestCase):\n \"\"\"\n param = '--rxq=16 --txq=16 --disable-crc-strip'\n pkt = 'Ether(dst=\"%s\",type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac\n- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')\n+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ')\n self.setup_pf_vfs_env(vfs_num=1)\n self.pmd_output.start_testpmd(cores='1S/4C/1T', param=param, ports=self.pci_list, socket=self.ports_socket)\n self.pmd_output.execute_cmd(\"set fwd mac\")\n@@ -819,7 +819,7 @@ class TestCvlQinq(TestCase):\n AVF CRC strip and Vlan strip co-exists\n \"\"\"\n pkt = 'Ether(dst=\"%s\",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)' % self.vf1_mac\n- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, \"#\")\n+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, \"# \")\n self.setup_pf_vfs_env(vfs_num=1)\n self.launch_testpmd(vfs_num=1)\n self.check_vlan_offload(vlan_type=\"strip\", stats=\"off\")\n@@ -873,4 +873,4 @@ class TestCvlQinq(TestCase):\n self.destroy_iavf()\n \n def tear_down_all(self):\n- self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#')\n\\ No newline at end of file\n+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, '# ')\n", "prefixes": [ "V1", "2/9" ] }{ "id": 102367, "url": "