Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/89193/?format=api
https://patches.dpdk.org/api/patches/89193/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210316080832.22541-7-salems@nvidia.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20210316080832.22541-7-salems@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210316080832.22541-7-salems@nvidia.com", "date": "2021-03-16T08:08:30", "name": "[v2,6/7] doc: update sample actions support in testpmd guide", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "865029695231d7d2dc72682953c203b23fa354e0", "submitter": { "id": 2138, "url": "https://patches.dpdk.org/api/people/2138/?format=api", "name": "Salem Sol", "email": "salems@nvidia.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210316080832.22541-7-salems@nvidia.com/mbox/", "series": [ { "id": 15684, "url": "https://patches.dpdk.org/api/series/15684/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15684", "date": "2021-03-16T08:08:25", "name": "Add support for VXLAN and NVGRE encap as a sample actions", "version": 2, "mbox": "https://patches.dpdk.org/series/15684/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/89193/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/89193/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-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 92001A054F;\n\tTue, 16 Mar 2021 09:09:36 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 418DA24286E;\n\tTue, 16 Mar 2021 09:08:58 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 6F7E324284D\n for <dev@dpdk.org>; Tue, 16 Mar 2021 09:08:51 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n salems@nvidia.com) with SMTP; 16 Mar 2021 10:08:48 +0200", "from nvidia.com ([10.228.128.224])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 12G88i8g022749;\n Tue, 16 Mar 2021 10:08:48 +0200" ], "From": "Salem Sol <salems@nvidia.com>", "To": "dev@dpdk.org", "Cc": "Salem Sol <salems@nvidia.com>, Xiaoyun Li <xiaoyun.li@intel.com>", "Date": "Tue, 16 Mar 2021 10:08:30 +0200", "Message-Id": "<20210316080832.22541-7-salems@nvidia.com>", "X-Mailer": "git-send-email 2.21.0", "In-Reply-To": "<20210316080832.22541-1-salems@nvidia.com>", "References": "<20210316080832.22541-1-salems@nvidia.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 6/7] doc: update sample actions support in\n testpmd guide", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Update documentation for sample action usage in testpmd utilizing\nrte_flow_action_vxlan_encap and rte_flow_action_nvgre_encap and\nshow the command line example.\n\nSigned-off-by: Salem Sol <salems@nvidia.com>\n---\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 22 +++++++++++++++++++++\n 1 file changed, 22 insertions(+)", "diff": "diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\nindex 3a31cc6237..392e3a31cf 100644\n--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n@@ -4901,6 +4901,28 @@ and also mirrored the packets with encapsulation header and sent to port id 0.\n testpmd> flow create 0 ingress transfer pattern eth / end actions\n sample ratio 1 index 0 / port_id id 2 / end\n \n+E-Switch Mirroring rule, the matched ingress packets are sent to port id 2,\n+and also mirrored the packets with VXLAN encapsulation header and sent to port id 0.\n+\n+::\n+\n+ testpmd> set vxlan ip-version ipv4 vni 4 udp-src 4 udp-dst 4 ip-src 127.0.0.1\n+ ip-dst 128.0.0.1 eth-src 11:11:11:11:11:11 eth-dst 22:22:22:22:22:22\n+ testpmd> set sample_actions 0 vxlan_encap / port_id id 0 / end\n+ testpmd> flow create 0 ingress transfer pattern eth / end actions\n+ sample ratio 1 index 0 / port_id id 2 / end\n+\n+E-Switch Mirroring rule, the matched ingress packets are sent to port id 2,\n+and also mirrored the packets with NVGRE encapsulation header and sent to port id 0.\n+\n+::\n+\n+ testpmd> set nvgre ip-version ipv4 tni 4 ip-src 127.0.0.1 ip-dst 128.0.0.1\n+ eth-src 11:11:11:11:11:11 eth-dst 22:22:22:22:22:22\n+ testpmd> set sample_actions 0 nvgre_encap / port_id id 0 / end\n+ testpmd> flow create 0 ingress transfer pattern eth / end actions\n+ sample ratio 1 index 0 / port_id id 2 / end\n+\n BPF Functions\n --------------\n \n", "prefixes": [ "v2", "6/7" ] }{ "id": 89193, "url": "