Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/97091/?format=api
https://patches.dpdk.org/api/patches/97091/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20210819113524.8190-2-yanx.xia@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": "<20210819113524.8190-2-yanx.xia@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20210819113524.8190-2-yanx.xia@intel.com", "date": "2021-08-19T11:35:22", "name": "[V1,1/3] test_plan/etag_test_plan: remove this test plan", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "c046617418cc8fd88dc1bcf754c60fae1faa13c5", "submitter": { "id": 2034, "url": "https://patches.dpdk.org/api/people/2034/?format=api", "name": "Yan Xia", "email": "yanx.xia@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20210819113524.8190-2-yanx.xia@intel.com/mbox/", "series": [ { "id": 18342, "url": "https://patches.dpdk.org/api/series/18342/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=18342", "date": "2021-08-19T11:35:21", "name": "remove etag test plan and testsuite", "version": 1, "mbox": "https://patches.dpdk.org/series/18342/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/97091/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/97091/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 95D3DA0C47;\n\tThu, 19 Aug 2021 05:03:35 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8D27D4069E;\n\tThu, 19 Aug 2021 05:03:35 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id C1CEE40141\n for <dts@dpdk.org>; Thu, 19 Aug 2021 05:03:33 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Aug 2021 20:03:32 -0700", "from unknown (HELO DPDK-CVL-tetser102.icx.intel.com)\n ([10.240.183.102])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Aug 2021 20:03:31 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10080\"; a=\"238586237\"", "E=Sophos;i=\"5.84,333,1620716400\"; d=\"scan'208\";a=\"238586237\"", "E=Sophos;i=\"5.84,333,1620716400\"; d=\"scan'208\";a=\"521404479\"" ], "From": "Yan Xia <yanx.xia@intel.com>", "To": "dts@dpdk.org", "Cc": "Yan Xia <yanx.xia@intel.com>", "Date": "Thu, 19 Aug 2021 11:35:22 +0000", "Message-Id": "<20210819113524.8190-2-yanx.xia@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210819113524.8190-1-yanx.xia@intel.com>", "References": "<20210819113524.8190-1-yanx.xia@intel.com>", "Subject": "[dts] [PATCH V1 1/3] test_plan/etag_test_plan: remove this test plan", "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": "remove etag test plan based on dpdk commit-id cf47acc0f(remove L2 tunnel offload control API E-tag set)\nand 99a1b6895(remove API to config L2 tunnel EtherType port config all l2-tunnel E-tag xxx).\n\nSigned-off-by: Yan Xia <yanx.xia@intel.com>\n---\n test_plans/etag_test_plan.rst | 151 ----------------------------------\n 1 file changed, 151 deletions(-)\n delete mode 100644 test_plans/etag_test_plan.rst", "diff": "diff --git a/test_plans/etag_test_plan.rst b/test_plans/etag_test_plan.rst\ndeleted file mode 100644\nindex 6350d64e..00000000\n--- a/test_plans/etag_test_plan.rst\n+++ /dev/null\n@@ -1,151 +0,0 @@\n-.. Copyright (c) <2015-2017>, 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-External Tag (E-tag) Tests\n-==========================\n-\n-In some systems an additional external tag (E-tag) can be present before the\n-VLAN. NIC X550 support VLANs in presence of external tags.\n-E-tag mode is used for systems where the device adds a tag to identify a\n-subsystem (usually a VM) and the near end switch adds a tag indicating the\n-destination subsystem.\n-\n-The support of E-tag features by X550 consists in:\n-- The filtering of received E-tag packets\n-- E-tag header stripping by VF device in received packets\n-- E-tag header insertion by VF device in transmitted packets\n-- E-tag forwarding to assigned VF by E-tag id\n-\n-Prerequisites\n-=============\n-\n-1. Create 2VF devices from PF device::\n-\n- ./dpdk_nic_bind.py --st\n- 0000:84:00.0 'Device 1563' drv=igb_uio unused=\n- echo 2 > /sys/bus/pci/devices/0000\\:84\\:00.0/max_vfs\n-\n-2. Detach VFs from the host, bind them to pci-stub driver::\n-\n- /sbin/modprobe pci-stub\n-\n- using `lspci -nn|grep -i ethernet` got VF device id, for example \"8086 1565\"::\n-\n- echo \"8086 1565\" > /sys/bus/pci/drivers/pci-stub/new_id\n- echo 0000:84:10.0 > /sys/bus/pci/devices/0000:84:10.0/driver/unbind\n- echo 0000:84:10.0 > /sys/bus/pci/drivers/pci-stub/bind\n- echo 0000:84:10.2 > /sys/bus/pci/devices/0000:84:10.2/driver/unbind\n- echo 0000:84:10.2 > /sys/bus/pci/drivers/pci-stub/bind\n-\n-3. Passthrough VF 84:10.0 & 84:10.2 to vm0 and start vm0::\n-\n- /usr/bin/qemu-system-x86_64 -name vm0 -enable-kvm \\\n- -cpu host -smp 4 -m 2048 -drive file=/home/image/sriov-fc20-1.img -vnc :1 \\\n- -device pci-assign,host=84:10.0,id=pt_0 \\\n- -device pci-assign,host=84:10.2,id=pt_1\n-\n-4. Login vm0 and them bind VF devices to igb_uio driver::\n-\n- ./tools/dpdk_nic_bind.py --bind=igb_uio 00:04.0 00:05.0\n-\n-5. Start host testpmd, set it in rxonly mode and enable verbose output::\n-\n- testpmd -c f -n 3 -- -i\n- testpmd> set fwd rxonly\n- testpmd> set verbose 1\n- testpmd> start\n-\n-6. Start guest testpmd, set it in mac forward mode::\n-\n- testpmd -c 0x3 -n 1 -- -i --tx-offloads=0x8fff\n- testpmd> set fwd mac\n- testpmd> start\n-\n-Test Case 1: L2 tunnel filter\n-=============================\n-\n-Enable E-tag l2 tunnel support means enabling ability of parsing E-tag packet.\n-This ability should be enabled before we enable filtering, forwarding,\n-offloading for this specific type of tunnel::\n-\n- testpmd> port config 0 l2-tunnel E-tag enable\n-\n-Send 802.1BR packet to PF and VFs, check packet normally received.\n-\n- - type=0x893f - length=150 - nb_segs=1 - (outer) L2 type: Unknown\n- - (outer) L3 type: IPV4 - (outer) L4 type: UDP\n-\n-Test Case 2: E-tag filter\n-=========================\n-\n-Enable E-tag packet forwarding and add E-tag on VF0, Send 802.1BR packet with\n-broadcast mac and check packet only received on VF0::\n-\n- testpmd> E-tag set forwarding on port 0\n- testpmd> E-tag set filter add e-tag-id 1000 dst-pool 0 port 0\n-\n-Same E-tag forwarding to VF1, Send 802.1BR packet with broadcast mac and\n-check packet only received on VF1::\n-\n- testpmd> E-tag set filter add e-tag-id 1000 dst-pool 1 port 0\n-\n-Same E-tag forwarding to PF0, Send 802.1BR packet with broadcast mac and\n-check packet only received on PF::\n-\n- testpmd> E-tag set filter add e-tag-id 1000 dst-pool 2 port 0\n-\n-Remove E-tag, Send 802.1BR packet with broadcast mac and check packet not\n-received::\n-\n- testpmd> E-tag set filter del e-tag-id 1000 port 0\n-\n-Test Case 3: E-tag insertion\n-============================\n-\n-Enable E-tag insertion in VF0, send normal packet to VF1 and check forwarded\n-packet contain E-tag::\n-\n- testpmd> E-tag set insertion on port-tag-id 1000 port 0 vf 0\n-\n-Test Case 4: E-tag strip\n-========================\n-\n-Enable E-tag strip on PF, Send 802.1BR packet to VF and check forwarded packet\n-without E-tag::\n-\n- testpmd> E-tag set stripping on port 0\n-\n-Disable E-tag strip on PF, Send 802.1BR packet and check forwarded packet with\n-E-tag::\n-\n- testpmd> E-tag set stripping off port 0\n", "prefixes": [ "V1", "1/3" ] }{ "id": 97091, "url": "