Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/90851/?format=api
http://patches.dpdk.org/api/patches/90851/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/1617869755-4362-1-git-send-email-zhiminx.huang@intel.com/", "project": { "id": 3, "url": "http://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": "<1617869755-4362-1-git-send-email-zhiminx.huang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1617869755-4362-1-git-send-email-zhiminx.huang@intel.com", "date": "2021-04-08T08:15:55", "name": "[V1] switch_filter: add reload ice code", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "4c1e8f4c2ceafca427c2696878db53ae31059868", "submitter": { "id": 1685, "url": "http://patches.dpdk.org/api/people/1685/?format=api", "name": "Huang, ZhiminX", "email": "zhiminx.huang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/1617869755-4362-1-git-send-email-zhiminx.huang@intel.com/mbox/", "series": [ { "id": 16193, "url": "http://patches.dpdk.org/api/series/16193/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=16193", "date": "2021-04-08T08:15:55", "name": "[V1] switch_filter: add reload ice code", "version": 1, "mbox": "http://patches.dpdk.org/series/16193/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/90851/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/90851/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 4DC73A0579;\n\tThu, 8 Apr 2021 10:29:06 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 484A3141120;\n\tThu, 8 Apr 2021 10:29:06 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id A696014111E\n for <dts@dpdk.org>; Thu, 8 Apr 2021 10:29:04 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Apr 2021 01:29:02 -0700", "from unknown (HELO dpdk-huangzm-d.sh.intel.com) ([10.240.183.72])\n by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Apr 2021 01:29:00 -0700" ], "IronPort-SDR": [ "\n TkcHqNzlBZmyZU/dQX5ptMu8MVNwVhJqr2Qu/MouvPAHQ7KF1TrDIeuAQLEIM6o7yjJvqMj8vD\n A2p9PQRW3EXQ==", "\n pxeFOAN4JNOV33wG4fXTd1nTHU+GWGo4bpMhSM6cb0oCNPB0QrsmpMnX6wKOZJjPwTGaRuURkp\n /+VAGWTwDBiQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9947\"; a=\"254829274\"", "E=Sophos;i=\"5.82,205,1613462400\"; d=\"scan'208\";a=\"254829274\"", "E=Sophos;i=\"5.82,205,1613462400\"; d=\"scan'208\";a=\"458732411\"" ], "From": "Zhimin Huang <zhiminx.huang@intel.com>", "To": "dts@dpdk.org", "Cc": "Zhimin Huang <zhiminx.huang@intel.com>", "Date": "Thu, 8 Apr 2021 16:15:55 +0800", "Message-Id": "<1617869755-4362-1-git-send-email-zhiminx.huang@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "Subject": "[dts] [PATCH V1] switch_filter: add reload ice code", "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": "*.about switch filter kernel issue need reload ice to release resources.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n tests/TestSuite_cvl_dcf_switch_filter.py | 6 +++++-\n tests/TestSuite_cvl_dcf_switch_filter_pppoe.py | 6 +++++-\n tests/TestSuite_cvl_switch_filter.py | 5 +++++\n tests/TestSuite_cvl_switch_filter_pppoe.py | 5 +++++\n 4 files changed, 20 insertions(+), 2 deletions(-)", "diff": "diff --git a/tests/TestSuite_cvl_dcf_switch_filter.py b/tests/TestSuite_cvl_dcf_switch_filter.py\nindex b9b6d3b..fc257cb 100644\n--- a/tests/TestSuite_cvl_dcf_switch_filter.py\n+++ b/tests/TestSuite_cvl_dcf_switch_filter.py\n@@ -1052,11 +1052,15 @@ class CVLDCFSwitchFilterTest(TestCase):\n port.bind_driver(self.vf_driver)\n time.sleep(5)\n \n+ def reload_ice(self):\n+ self.dut.send_expect(\"rmmod ice\", \"# \", 15)\n+ self.dut.send_expect(\"modprobe ice\", \"# \", 15)\n+\n def set_up(self):\n \"\"\"\n Run before each test case.\n \"\"\"\n- pass\n+ self.reload_ice()\n \n def create_testpmd_command(self):\n \"\"\"\ndiff --git a/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py b/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py\nindex 247561c..a3f09ec 100644\n--- a/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py\n+++ b/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py\n@@ -548,11 +548,15 @@ class CVLDCFSwitchFilterPPPOETest(TestCase):\n port.bind_driver(self.vf_driver)\n time.sleep(5)\n \n+ def reload_ice(self):\n+ self.dut.send_expect(\"rmmod ice\", \"# \", 15)\n+ self.dut.send_expect(\"modprobe ice\", \"# \", 15)\n+\n def set_up(self):\n \"\"\"\n Run before each test case.\n \"\"\"\n- pass\n+ self.reload_ice()\n \n def create_testpmd_command(self):\n \"\"\"\ndiff --git a/tests/TestSuite_cvl_switch_filter.py b/tests/TestSuite_cvl_switch_filter.py\nindex dcf9a57..5ec8b18 100644\n--- a/tests/TestSuite_cvl_switch_filter.py\n+++ b/tests/TestSuite_cvl_switch_filter.py\n@@ -2566,10 +2566,15 @@ class CVLSwitchFilterTest(TestCase):\n self.generate_file_with_fdir_rules()\n self.path = self.dut.apps_name['test-pmd']\n \n+ def reload_ice(self):\n+ self.dut.send_expect(\"rmmod ice\", \"# \", 15)\n+ self.dut.send_expect(\"modprobe ice\", \"# \", 15)\n+\n def set_up(self):\n \"\"\"\n Run before each test case.\n \"\"\"\n+ self.reload_ice()\n \n def generate_file_with_fdir_rules(self):\n \"\"\"\ndiff --git a/tests/TestSuite_cvl_switch_filter_pppoe.py b/tests/TestSuite_cvl_switch_filter_pppoe.py\nindex 8904b47..c294954 100644\n--- a/tests/TestSuite_cvl_switch_filter_pppoe.py\n+++ b/tests/TestSuite_cvl_switch_filter_pppoe.py\n@@ -2048,6 +2048,11 @@ class CVLSwitchFilterPPPOETest(TestCase):\n \"\"\"\n Run before each test case.\n \"\"\"\n+ self.reload_ice()\n+\n+ def reload_ice(self):\n+ self.dut.send_expect(\"rmmod ice\", \"# \", 15)\n+ self.dut.send_expect(\"modprobe ice\", \"# \", 15)\n \n def generate_file_with_fdir_rules(self):\n \"\"\"\n", "prefixes": [ "V1" ] }{ "id": 90851, "url": "