Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/6053/?format=api
https://patches.dpdk.org/api/patches/6053/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1435913919-13196-8-git-send-email-maciejx.t.gajdzica@intel.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": "<1435913919-13196-8-git-send-email-maciejx.t.gajdzica@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1435913919-13196-8-git-send-email-maciejx.t.gajdzica@intel.com", "date": "2015-07-03T08:58:35", "name": "[dpdk-dev,v4,07/11] ip_pipeline: moved config files to separate folder", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "1f6277e862efa1f49d1c0d1369c9b263a7a588bd", "submitter": { "id": 18, "url": "https://patches.dpdk.org/api/people/18/?format=api", "name": "Maciej Gajdzica", "email": "maciejx.t.gajdzica@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1435913919-13196-8-git-send-email-maciejx.t.gajdzica@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/6053/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/6053/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id AF133DE0;\n\tFri, 3 Jul 2015 11:19:57 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id BC5069E7\n\tfor <dev@dpdk.org>; Fri, 3 Jul 2015 11:19:55 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga102.fm.intel.com with ESMTP; 03 Jul 2015 02:19:55 -0700", "from unknown (HELO stargo) ([10.217.248.233])\n\tby orsmga002.jf.intel.com with SMTP; 03 Jul 2015 02:19:52 -0700", "by stargo (sSMTP sendmail emulation);\n\tFri, 03 Jul 2015 11:18:48 +0200" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.15,399,1432623600\"; d=\"scan'208\";a=\"757811210\"", "From": "Maciej Gajdzica <maciejx.t.gajdzica@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 3 Jul 2015 10:58:35 +0200", "Message-Id": "<1435913919-13196-8-git-send-email-maciejx.t.gajdzica@intel.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1435913919-13196-1-git-send-email-maciejx.t.gajdzica@intel.com>", "References": "<1435913919-13196-1-git-send-email-maciejx.t.gajdzica@intel.com>", "Subject": "[dpdk-dev] [PATCH v4 07/11] ip_pipeline: moved config files to\n\tseparate folder", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Created new folder for config(.cfg) and script(.sh) files.\n\nSigned-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>\n---\n examples/ip_pipeline/config/ip_pipeline.cfg | 9 +++\n examples/ip_pipeline/config/ip_pipeline.sh | 5 ++\n examples/ip_pipeline/config/tm_profile.cfg | 105 +++++++++++++++++++++++++++\n examples/ip_pipeline/ip_pipeline.cfg | 56 --------------\n examples/ip_pipeline/ip_pipeline.sh | 18 -----\n 5 files changed, 119 insertions(+), 74 deletions(-)\n create mode 100644 examples/ip_pipeline/config/ip_pipeline.cfg\n create mode 100644 examples/ip_pipeline/config/ip_pipeline.sh\n create mode 100644 examples/ip_pipeline/config/tm_profile.cfg\n delete mode 100644 examples/ip_pipeline/ip_pipeline.cfg\n delete mode 100644 examples/ip_pipeline/ip_pipeline.sh", "diff": "diff --git a/examples/ip_pipeline/config/ip_pipeline.cfg b/examples/ip_pipeline/config/ip_pipeline.cfg\nnew file mode 100644\nindex 0000000..095ed25\n--- /dev/null\n+++ b/examples/ip_pipeline/config/ip_pipeline.cfg\n@@ -0,0 +1,9 @@\n+[PIPELINE0]\n+type = MASTER\n+core = 0\n+\n+[PIPELINE1]\n+type = PASS-THROUGH\n+core = 1\n+pktq_in = RXQ0.0 RXQ1.0 RXQ2.0 RXQ3.0\n+pktq_out = TXQ0.0 TXQ1.0 TXQ2.0 TXQ3.0\ndiff --git a/examples/ip_pipeline/config/ip_pipeline.sh b/examples/ip_pipeline/config/ip_pipeline.sh\nnew file mode 100644\nindex 0000000..4fca259\n--- /dev/null\n+++ b/examples/ip_pipeline/config/ip_pipeline.sh\n@@ -0,0 +1,5 @@\n+#\n+#run config/ip_pipeline.sh\n+#\n+\n+p 1 ping\ndiff --git a/examples/ip_pipeline/config/tm_profile.cfg b/examples/ip_pipeline/config/tm_profile.cfg\nnew file mode 100644\nindex 0000000..53edb67\n--- /dev/null\n+++ b/examples/ip_pipeline/config/tm_profile.cfg\n@@ -0,0 +1,105 @@\n+; BSD LICENSE\n+;\n+; Copyright(c) 2010-2014 Intel Corporation. All rights reserved.\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+; * 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+; * 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 FOR\n+; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+; This file enables the following hierarchical scheduler configuration for each\n+; 10GbE output port:\n+;\t* Single subport (subport 0):\n+;\t\t- Subport rate set to 100% of port rate\n+;\t\t- Each of the 4 traffic classes has rate set to 100% of port rate\n+;\t* 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration:\n+;\t\t- Pipe rate set to 1/4K of port rate\n+;\t\t- Each of the 4 traffic classes has rate set to 100% of pipe rate\n+;\t\t- Within each traffic class, the byte-level WRR weights for the 4 queues\n+; are set to 1:1:1:1\n+;\n+; For more details, please refer to chapter \"Quality of Service (QoS) Framework\"\n+; of Intel Data Plane Development Kit (Intel DPDK) Programmer's Guide.\n+\n+; Port configuration\n+[port]\n+frame overhead = 24 ; frame overhead = Preamble (7) + SFD (1) + FCS (4) + IFG (12)\n+mtu = 1522; mtu = Q-in-Q MTU (FCS not included)\n+number of subports per port = 1\n+number of pipes per subport = 4096\n+queue sizes = 64 64 64 64\n+\n+; Subport configuration\n+[subport 0]\n+tb rate = 1250000000 ; Bytes per second\n+tb size = 1000000 ; Bytes\n+\n+tc 0 rate = 1250000000 ; Bytes per second\n+tc 1 rate = 1250000000 ; Bytes per second\n+tc 2 rate = 1250000000 ; Bytes per second\n+tc 3 rate = 1250000000 ; Bytes per second\n+tc period = 10 ; Milliseconds\n+\n+pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0\n+\n+; Pipe configuration\n+[pipe profile 0]\n+tb rate = 305175 ; Bytes per second\n+tb size = 1000000 ; Bytes\n+\n+tc 0 rate = 305175 ; Bytes per second\n+tc 1 rate = 305175 ; Bytes per second\n+tc 2 rate = 305175 ; Bytes per second\n+tc 3 rate = 305175 ; Bytes per second\n+tc period = 40 ; Milliseconds\n+\n+tc 3 oversubscription weight = 1\n+\n+tc 0 wrr weights = 1 1 1 1\n+tc 1 wrr weights = 1 1 1 1\n+tc 2 wrr weights = 1 1 1 1\n+tc 3 wrr weights = 1 1 1 1\n+\n+; RED params per traffic class and color (Green / Yellow / Red)\n+[red]\n+tc 0 wred min = 48 40 32\n+tc 0 wred max = 64 64 64\n+tc 0 wred inv prob = 10 10 10\n+tc 0 wred weight = 9 9 9\n+\n+tc 1 wred min = 48 40 32\n+tc 1 wred max = 64 64 64\n+tc 1 wred inv prob = 10 10 10\n+tc 1 wred weight = 9 9 9\n+\n+tc 2 wred min = 48 40 32\n+tc 2 wred max = 64 64 64\n+tc 2 wred inv prob = 10 10 10\n+tc 2 wred weight = 9 9 9\n+\n+tc 3 wred min = 48 40 32\n+tc 3 wred max = 64 64 64\n+tc 3 wred inv prob = 10 10 10\n+tc 3 wred weight = 9 9 9\ndiff --git a/examples/ip_pipeline/ip_pipeline.cfg b/examples/ip_pipeline/ip_pipeline.cfg\ndeleted file mode 100644\nindex 428830d..0000000\n--- a/examples/ip_pipeline/ip_pipeline.cfg\n+++ /dev/null\n@@ -1,56 +0,0 @@\n-; BSD LICENSE\n-;\n-; Copyright(c) 2010-2014 Intel Corporation. All rights reserved.\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-; * 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-; * 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 FOR\n-; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n-; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n-; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n-; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n-; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n-; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n-; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n-; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n-\n-; Core configuration\n-[core 0]\n-type = MASTER\n-queues in = 15 16 17 -1 -1 -1 -1 -1\n-queues out = 12 13 14 -1 -1 -1 -1 -1\n-\n-[core 1]\n-type = RX\n-queues in = -1 -1 -1 -1 -1 -1 -1 12\n-queues out = 0 1 2 3 -1 -1 -1 15\n-\n-[core 2]\n-type = FC\n-queues in = 0 1 2 3 -1 -1 -1 13\n-queues out = 4 5 6 7 -1 -1 -1 16\n-\n-[core 3]\n-type = RT\n-queues in = 4 5 6 7 -1 -1 -1 14\n-queues out = 8 9 10 11 -1 -1 -1 17\n-\n-[core 4]\n-type = TX\n-queues in = 8 9 10 11 -1 -1 -1 -1\n-queues out = -1 -1 -1 -1 -1 -1 -1 -1\ndiff --git a/examples/ip_pipeline/ip_pipeline.sh b/examples/ip_pipeline/ip_pipeline.sh\ndeleted file mode 100644\nindex c3419ca..0000000\n--- a/examples/ip_pipeline/ip_pipeline.sh\n+++ /dev/null\n@@ -1,18 +0,0 @@\n-#Address Resolution Protocol (ARP) Table\n-#arp add iface ipaddr macaddr\n-arp add 0 0.0.0.1 0a:0b:0c:0d:0e:0f\n-arp add 1 0.128.0.1 1a:1b:1c:1d:1e:1f\n-\n-#Routing Table\n-#route add ipaddr prefixlen iface gateway\n-route add 0.0.0.0 9 0 0.0.0.1\n-route add 0.128.0.0 9 1 0.128.0.1\n-\n-#Flow Table\n-flow add all\n-#flow add 0.0.0.0 1.2.3.4 0 0 6 0\n-#flow add 10.11.12.13 0.0.0.0 0 0 6 1\n-\n-#Firewall\n-#firewall add 1 0.0.0.0 0 0.0.0.0 9 0 65535 0 65535 6 0xf 0\n-#firewall add 1 0.0.0.0 0 0.128.0.0 9 0 65535 0 65535 6 0xf 1\n", "prefixes": [ "dpdk-dev", "v4", "07/11" ] }{ "id": 6053, "url": "