Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/120474/?format=api
http://patches.dpdk.org/api/patches/120474/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20221206073659.385898-1-hongbox.li@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": "<20221206073659.385898-1-hongbox.li@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20221206073659.385898-1-hongbox.li@intel.com", "date": "2022-12-06T07:36:59", "name": "[V2] pmd/checksum_checking: supplement the test plan", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "5a51fa78481ba73fed5ea588462536ab6b927e06", "submitter": { "id": 2804, "url": "http://patches.dpdk.org/api/people/2804/?format=api", "name": "Li, HongboX", "email": "hongbox.li@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20221206073659.385898-1-hongbox.li@intel.com/mbox/", "series": [ { "id": 26006, "url": "http://patches.dpdk.org/api/series/26006/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=26006", "date": "2022-12-06T07:36:59", "name": "[V2] pmd/checksum_checking: supplement the test plan", "version": 2, "mbox": "http://patches.dpdk.org/series/26006/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/120474/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/120474/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 A7D26A0543;\n\tTue, 6 Dec 2022 09:39:25 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7DA804021D;\n\tTue, 6 Dec 2022 09:39:25 +0100 (CET)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id EEFF840156\n for <dts@dpdk.org>; Tue, 6 Dec 2022 09:39:23 +0100 (CET)", "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Dec 2022 00:39:22 -0800", "from unknown (HELO localhost.localdomain) ([10.239.252.19])\n by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Dec 2022 00:39:21 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1670315964; x=1701851964;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=RdWkDWAnYswxovLIyig+A2qB78I4b2IYQb3kRkpjyBM=;\n b=TXPzhdyKNnSEsZIK/1TpNern63LpIAlg/K2Ql4v3nqQMVVTnvW3HS4eZ\n hCZIErsZkZORuF+XBtcPlDBtWdy688nFE6z3bGS85JK4tunu7nAlcPxCF\n oM3GGAYU2Izhtby9SQmdQMf/ydpfFNAosxjvBAvJLVNX+wV1mLTNVPzg1\n bbfmNoEfk+4Vhph9Zw7D/2+V11qrWtnBiCDGPjL+5NTkJ1kQXQa4F7mMR\n ZPIPzeAsZg9bd4PJbZOmHQAmL5XfvE6EVti/CtrUnl770FX8St3gBLK2P\n Y8WgLGhHzDrzolWJnp8MjzsZ8EfCltPzIZwhzq+Dqk9HAikCH2c7PaOFF w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10552\"; a=\"315282046\"", "E=Sophos;i=\"5.96,220,1665471600\"; d=\"scan'208\";a=\"315282046\"", "E=McAfee;i=\"6500,9779,10552\"; a=\"770650873\"", "E=Sophos;i=\"5.96,220,1665471600\"; d=\"scan'208\";a=\"770650873\"" ], "From": "Hongbo Li <hongbox.li@intel.com>", "To": "dts@dpdk.org", "Cc": "Hongbo Li <hongbox.li@intel.com>", "Subject": "[dts][PATCH V2] pmd/checksum_checking: supplement the test plan", "Date": "Tue, 6 Dec 2022 07:36:59 +0000", "Message-Id": "<20221206073659.385898-1-hongbox.li@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "the case of pmd/checksum_checking only cover in testcase not in test plan. so supplement the test plan.\n\nSigned-off-by: Hongbo Li <hongbox.li@intel.com>\n---\nv2:\n-Expected results are added and formatted\n\n test_plans/pmd_test_plan.rst | 37 ++++++++++++++++++++++++++++++++++++\n 1 file changed, 37 insertions(+)", "diff": "diff --git a/test_plans/pmd_test_plan.rst b/test_plans/pmd_test_plan.rst\nindex c371edb1..ca2709a3 100644\n--- a/test_plans/pmd_test_plan.rst\n+++ b/test_plans/pmd_test_plan.rst\n@@ -73,6 +73,43 @@ Test Case: Packet Checking\n which will be forwarded by the DUT. The test checks if the packets are correctly forwarded and\n if both RX and TX packet sizes match by `show port all stats`\n \n+Test Case: Checksum checking\n+============================\n+\n+1. Start testpmd with rxfreet=0 and set forward mode to csum::\n+\n+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:18:00.0 -a 0000:1b:00.0 --file-prefix=dpdk_2179994_20221121150432 -- -i --portmask=0x3 --enable-rx-cksum --disable-rss --rxd=1024 --txd=1024 --rxfreet=0\n+ testpmd> set fwd csum\n+ testpmd> start\n+\n+2. The tester sends 4 messages with error checksum, and check whether the message is correctly forwarded by DUT::\n+\n+ sendp([Ether(dst=00:11:22:33:44:55, src=\"52:00:00:00:00:00\")/IP(len=46)/UDP(chksum=0x1)/Raw(load=\"P\"*18)], iface=\"ens9\", count=4)\n+\n+3. Stop testpmd and check whether the l4 checksum error reported by the Rx port is equal to 4.\n+\n+ ---------------------- Forward statistics for port 0 ----------------------\n+ RX-packets: 0 RX-dropped: 0 RX-total: 0\n+ Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0\n+ Bad-outer-ipcsum: 0\n+ TX-packets: 4 TX-dropped: 0 TX-total: 4\n+ ----------------------------------------------------------------------------\n+\n+ ---------------------- Forward statistics for port 1 ----------------------\n+ RX-packets: 4 RX-dropped: 0 RX-total: 4\n+ Bad-ipcsum: 0 Bad-l4csum: 4 Bad-outer-l4csum: 0\n+ Bad-outer-ipcsum: 0\n+ TX-packets: 0 TX-dropped: 0 TX-total: 0\n+ ----------------------------------------------------------------------------\n+\n+ +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++\n+ RX-packets: 4 RX-dropped: 0 RX-total: 4\n+ TX-packets: 4 TX-dropped: 0 TX-total: 4\n+ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n+\n+4. change the value of \"rxfreet\"(0, 8, 16, 32, 64, 128), and start testpmd, repeat step 1-3, check the result is same.\n+\n+\n Test Case: Packet Checking in scalar mode\n =========================================\n \n", "prefixes": [ "V2" ] }{ "id": 120474, "url": "