Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96366/?format=api
http://patchwork.dpdk.org/api/patches/96366/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/patch/1627539383-26588-2-git-send-email-yux.jiang@intel.com/", "project": { "id": 3, "url": "http://patchwork.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": "<1627539383-26588-2-git-send-email-yux.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1627539383-26588-2-git-send-email-yux.jiang@intel.com", "date": "2021-07-29T06:16:22", "name": "[V1,1/2] test_plans/rxtx_offload: add tx offload multi_segs setting", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "002dcb657caec1e7b7ca1827ade6dbf1121e4736", "submitter": { "id": 1709, "url": "http://patchwork.dpdk.org/api/people/1709/?format=api", "name": "Yu Jiang", "email": "yux.jiang@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dts/patch/1627539383-26588-2-git-send-email-yux.jiang@intel.com/mbox/", "series": [ { "id": 18047, "url": "http://patchwork.dpdk.org/api/series/18047/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=18047", "date": "2021-07-29T06:16:22", "name": "add test plan and tests: tx offload multi_segs setting", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18047/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96366/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/96366/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 50C62A0C43;\n\tThu, 29 Jul 2021 08:16:59 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2101040DFB;\n\tThu, 29 Jul 2021 08:16:59 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id DD90F40687\n for <dts@dpdk.org>; Thu, 29 Jul 2021 08:16:56 +0200 (CEST)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Jul 2021 23:16:55 -0700", "from odcacrnlx2.sh.intel.com ([10.240.183.163])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA;\n 28 Jul 2021 23:16:51 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10059\"; a=\"200028951\"", "E=Sophos;i=\"5.84,278,1620716400\"; d=\"scan'208\";a=\"200028951\"", "E=Sophos;i=\"5.84,278,1620716400\"; d=\"scan'208\";a=\"476213796\"" ], "From": "Yu Jiang <yux.jiang@intel.com>", "To": "dts@dpdk.org", "Cc": "Yu Jiang <yux.jiang@intel.com>", "Date": "Thu, 29 Jul 2021 14:16:22 +0800", "Message-Id": "<1627539383-26588-2-git-send-email-yux.jiang@intel.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1627539383-26588-1-git-send-email-yux.jiang@intel.com>", "References": "<1627539383-26588-1-git-send-email-yux.jiang@intel.com>", "Subject": "[dts] [PATCH V1 1/2] test_plans/rxtx_offload: add tx offload\n multi_segs setting", "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": "add tx offload multi_segs setting\n\nSigned-off-by: Yu Jiang <yux.jiang@intel.com>\n---\n test_plans/rxtx_offload_test_plan.rst | 56 +++++++++++++++++++++++++++++++++++\n 1 file changed, 56 insertions(+)", "diff": "diff --git a/test_plans/rxtx_offload_test_plan.rst b/test_plans/rxtx_offload_test_plan.rst\nindex 246e1e1..962ee9f 100644\n--- a/test_plans/rxtx_offload_test_plan.rst\n+++ b/test_plans/rxtx_offload_test_plan.rst\n@@ -677,3 +677,59 @@ Test case: FVL Tx offload per-queue setting\n \n Note 1: there is no tx_offload per_queue parameter in ixgbe driver,\n so this case is just only for i40e.\n+\n+Test case: Tx offload multi_segs setting\n+======================================================\n+\n+1. Start testpmd with \"--tx-offloads=0x00008000\" to enable tx_offload multi_segs ::\n+\n+ ./testpmd -c 0xf -n 4 -- -i --tx-offloads==0x00008000\n+ testpmd> show port 0 tx_offload configuration\n+ Tx Offloading Configuration of port 0 :\n+ Port : MULTI_SEGS\n+ Queue[ 0] : MULTI_SEGS\n+\n+2. Set fwd to txonly, Set the length of each segment of the TX-ONLY packets, Set the split policy for TX packets, then start to send pkgs::\n+\n+ testpmd> set fwd txonly\n+ testpmd> set txpkts 64,64\n+ testpmd> set txsplit rand\n+ testpmd> start\n+\n+3. Check TX-packets will not hang and continue to increase::\n+ Wait 15s or more, check TX-packets will continue to increase and can be more than 300K\n+\n+ testpmd> show port stats all\n+ testpmd> stop\n+ testpmd> quit\n+\n+4. Start testpmd again without \"--tx-offloads\", check multi-segs is disabled by default::\n+\n+ ./testpmd -c 0xf -n 4 -- -i\n+ testpmd> show port 0 tx_offload configuration\n+ No MULTI_SEGS in Tx Offloading Configuration of ports\n+\n+5. Enable tx_offload multi_segs ::\n+ testpmd> port stop all\n+ testpmd> port config 0 tx_offload multi_segs on\n+ testpmd> port config 1 tx_offload multi_segs on\n+ testpmd> port start all\n+ testpmd> show port 0 tx_offload configuration\n+ Tx Offloading Configuration of port 0 :\n+ Port : MULTI_SEGS\n+ Queue[ 0] : MULTI_SEGS\n+\n+6. Set fwd to txonly, Set the length of each segment of the TX-ONLY packets, Set the split policy for TX packets, then start to send pkgs::\n+\n+ testpmd> set fwd txonly\n+ testpmd> set txpkts 64,64\n+ testpmd> set txsplit rand\n+ testpmd> start\n+ testpmd> show port stats all\n+\n+7. Check TX-packets will not hang and continue to increase::\n+ Wait 15s or more, check TX-packets will continue to increase and can be more than 300K\n+\n+ testpmd> show port stats all\n+ testpmd> stop\n+ testpmd> quit\n", "prefixes": [ "V1", "1/2" ] }{ "id": 96366, "url": "