Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/84088/?format=api
http://patches.dpdk.org/api/patches/84088/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/1605254605-31556-3-git-send-email-churchill.khangar@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": "<1605254605-31556-3-git-send-email-churchill.khangar@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1605254605-31556-3-git-send-email-churchill.khangar@intel.com", "date": "2020-11-13T08:03:23", "name": "[v2,2/4] test_plans: add pipeline test plan document", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "d36bf746cedd2ded0faa96795d0e1a083ae36f82", "submitter": { "id": 2045, "url": "http://patches.dpdk.org/api/people/2045/?format=api", "name": "Churchill Khangar", "email": "churchill.khangar@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/1605254605-31556-3-git-send-email-churchill.khangar@intel.com/mbox/", "series": [ { "id": 13862, "url": "http://patches.dpdk.org/api/series/13862/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=13862", "date": "2020-11-13T08:03:21", "name": "add pipeline suite", "version": 2, "mbox": "http://patches.dpdk.org/series/13862/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/84088/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/84088/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3C8ADA0545;\n\tFri, 13 Nov 2020 09:05:57 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 376665B30;\n\tFri, 13 Nov 2020 09:05:56 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 4839C5ABB\n for <dts@dpdk.org>; Fri, 13 Nov 2020 09:05:54 +0100 (CET)", "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Nov 2020 00:05:44 -0800", "from unknown (HELO bdcdev09.localdomain) ([10.190.193.143])\n by orsmga003.jf.intel.com with ESMTP; 13 Nov 2020 00:05:42 -0800" ], "IronPort-SDR": [ "\n eHppeHcQOigj7iutblLkWkEfBdsfQz1ufHX3RLtAgBta3DmhaEaEeFthi/nuMaLIRMkrCr+DDE\n c9tM5MEUMaiQ==", "\n MRtvsqxkYSrjOygXgSNi3aR/74m2aZxBd0ZpBnMr7yM6NGlEjL5UX6jERvmmuV7+hzk4IrAb+4\n 5p+tu49za8/Q==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9803\"; a=\"234600844\"", "E=Sophos;i=\"5.77,474,1596524400\"; d=\"scan'208\";a=\"234600844\"", "E=Sophos;i=\"5.77,474,1596524400\"; d=\"scan'208\";a=\"323924156\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Churchill Khangar <churchill.khangar@intel.com>", "To": "dts@dpdk.org", "Cc": "cristian.dumitrescu@intel.com, venkata.suresh.kumar.p@intel.com,\n churchill.khangar@intel.com, yogesh.jangra@intel.com", "Date": "Fri, 13 Nov 2020 03:03:23 -0500", "Message-Id": "<1605254605-31556-3-git-send-email-churchill.khangar@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1605254605-31556-1-git-send-email-churchill.khangar@intel.com>", "References": "<1605254605-31556-1-git-send-email-churchill.khangar@intel.com>", "Subject": "[dts] [PATCH v2 2/4] test_plans: add pipeline test plan document", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.15", "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 pipeline test plan document pipeline_test_plan.rst\n\nSigned-off-by: Yogesh Jangra <yogesh.jangra@intel.com>\nSigned-off-by: Churchill Khangar <churchill.khangar@intel.com>\nTested-by: Venkata Suresh Kumar P <venkata.suresh.kumar.p@intel.com>\n---\n test_plans/pipeline_test_plan.rst | 122 ++++++++++++++++++++++++++++++++++++++\n 1 file changed, 122 insertions(+)\n create mode 100644 test_plans/pipeline_test_plan.rst", "diff": "diff --git a/test_plans/pipeline_test_plan.rst b/test_plans/pipeline_test_plan.rst\nnew file mode 100644\nindex 0000000..c492fd6\n--- /dev/null\n+++ b/test_plans/pipeline_test_plan.rst\n@@ -0,0 +1,122 @@\n+.. Copyright (c) <2020>, Intel Corporation\n+ All rights reserved.\n+\n+ Redistribution and use in source and binary forms, with or without\n+ modification, are permitted provided that the following conditions\n+ are met:\n+\n+ - Redistributions of source code must retain the above copyright\n+ notice, this list of conditions and the following disclaimer.\n+\n+ - Redistributions in binary form must reproduce the above copyright\n+ notice, this list of conditions and the following disclaimer in\n+ the documentation and/or other materials provided with the\n+ distribution.\n+\n+ - Neither the name of Intel Corporation nor the names of its\n+ contributors may be used to endorse or promote products derived\n+ from this software without specific prior written permission.\n+\n+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n+ OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+=============================\n+Pipeline Tests\n+=============================\n+\n+Description\n+===========\n+The \"examples/pipeline\" application is the main DPDK Packet Framework\n+application.\n+\n+Prerequisites\n+==============\n+The DUT must have four 10G Ethernet ports connected to four ports on\n+Tester that are controlled by the Scapy packet generator::\n+\n+ dut_port_0 <---> tester_port_0\n+ dut_port_1 <---> tester_port_1\n+ dut_port_2 <---> tester_port_2\n+ dut_port_3 <---> tester_port_3\n+\n+Assume four DUT 10G Ethernet ports' pci device id is as the following::\n+\n+ dut_port_0 : \"0000:00:04.0\"\n+ dut_port_1 : \"0000:00:05.0\"\n+ dut_port_2 : \"0000:00:06.0\"\n+ dut_port_3 : \"0000:00:07.0\"\n+\n+Bind them to dpdk igb_uio driver::\n+\n+ ./usertools/dpdk-devbind.py -b igb_uio 0000:00:04.0 0000:00:05.0 0000:00:06.0 0000:00:07.0\n+\n+Supporting Files\n+================\n+All the supporting files for this test suite are maintained in a tar file named \"pipeline.tar.gz\"\n+present in the {DTS_SRC_DIR}/dep directory.\n+\n+Directory Structure of Each Test Case\n+=====================================\n+Within {DTS_SRC_DIR}/dep/pipeline.tar.gz, all files related to a particular test case are maintained\n+in a separate directory of which the directory structure is shown below:\n+\n+ test_case_name [directory]\n+ test_case_name.spec\n+ test_case_name.cli\n+ table.txt [applicable for test cases requiring it]\n+ readme.txt\n+ pcap_files [subdirectory]\n+ in_x.txt [x: 1-4; depending on test case]\n+ out_x.txt [x: 1-4; depending on test case]\n+\n+For an example, files related to mov_001 test case are maintained as shown below:\n+\n+ mov_001 [directory]\n+ mov_001.spec\n+ mov_001.cli\n+ readme.txt\n+ pcap_files [subdirectory]\n+ in_1.txt\n+ out_1.txt\n+\n+Template of each Test Case\n+===========================\n+1. Edit test_case_name/test_case_name.cli:\n+ change pci device id of LINK0, LINK1, LINK2, LINK3 to pci device id of\n+ dut_port_0, dut_port_1, dut_port_2, dut_port_3\n+\n+2. Run pipeline app as the following::\n+\n+ x86_64-native-linuxapp-gcc/examples/dpdk-pipeline -c 0x3 -n 4 -- -s /tmp/pipeline/test_case_name/test_case_name.cli\n+\n+3. Send packets at tester side using scapy. The packets to be sent are maintained in pipeline/test_case_name/pcap_files/in_x.txt\n+\n+4. Verify the packets received using tcpdump. The expected packets are maintained in pipeline/test_case_name/pcap_files/out_x.txt\n+\n+5. Test case is considered as successful if the received packets and the expected packets match for all the port combinations used.\n+\n+Example Test Case: test_mov_001\n+=========================================\n+1. Edit mov_001/mov_001.cli:\n+ change pci device id of LINK0, LINK1, LINK2, LINK3 to pci device id of\n+ dut_port_0, dut_port_1, dut_port_2, dut_port_3\n+\n+2. Run pipeline app as the following::\n+\n+ x86_64-native-linuxapp-gcc/examples/dpdk-pipeline -c 0x3 -n 4 -- -s /tmp/pipeline/mov_001/mov_001.cli\n+\n+3. Send packets at tester side using scapy. The packets to be sent are maintained in pipeline/mov_001/pcap_files/in_1.txt\n+\n+4. Verify the packets received using tcpdump. The expected packets are maintained in pipeline/mov_001/pcap_files/out_1.txt\n+\n+5. test_mov_001 is considered as successful if the received packets and the expected packets match for all 4 port combinations used.\n", "prefixes": [ "v2", "2/4" ] }{ "id": 84088, "url": "