Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/43809/?format=api
http://patches.dpdk.org/api/patches/43809/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180823080554.10695-1-i.maximets@samsung.com/", "project": { "id": 1, "url": "http://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": "<20180823080554.10695-1-i.maximets@samsung.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180823080554.10695-1-i.maximets@samsung.com", "date": "2018-08-23T08:05:54", "name": "doc: fix style and syntax errors in flow API guide", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4144690ce6a19c25562d6f2c801f75af4e34b997", "submitter": { "id": 323, "url": "http://patches.dpdk.org/api/people/323/?format=api", "name": "Ilya Maximets", "email": "i.maximets@samsung.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180823080554.10695-1-i.maximets@samsung.com/mbox/", "series": [ { "id": 1037, "url": "http://patches.dpdk.org/api/series/1037/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1037", "date": "2018-08-23T08:05:54", "name": "doc: fix style and syntax errors in flow API guide", "version": 1, "mbox": "http://patches.dpdk.org/series/1037/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/43809/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/43809/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 648142C38;\n\tThu, 23 Aug 2018 10:04:53 +0200 (CEST)", "from mailout1.w1.samsung.com (mailout1.w1.samsung.com\n\t[210.118.77.11]) by dpdk.org (Postfix) with ESMTP id DDDF3293B;\n\tThu, 23 Aug 2018 10:04:51 +0200 (CEST)", "from eucas1p2.samsung.com (unknown [182.198.249.207])\n\tby mailout1.w1.samsung.com (KnoxPortal) with ESMTP id\n\t20180823080450euoutp0169565a5c2004a724b2ba69aa07712d0f~NdNFXwhDU3267732677euoutp01X;\n\tThu, 23 Aug 2018 08:04:50 +0000 (GMT)", "from eusmges3new.samsung.com (unknown [203.254.199.245]) by\n\teucas1p1.samsung.com (KnoxPortal) with ESMTP id\n\t20180823080449eucas1p1d9b17ff8d7fae51a60c4eb122aa4087f~NdNE3_Awy1448114481eucas1p1E;\n\tThu, 23 Aug 2018 08:04:49 +0000 (GMT)", "from eucas1p2.samsung.com ( [182.198.249.207]) by\n\teusmges3new.samsung.com (EUCPMTA) with SMTP id C0.CB.04806.1AA6E7B5;\n\tThu, 23 Aug 2018 09:04:49 +0100 (BST)", "from eusmgms1.samsung.com (unknown [182.198.249.179]) by\n\teucas1p1.samsung.com (KnoxPortal) with ESMTP id\n\t20180823080448eucas1p1f2a3c25bbd7773ad9f510320f4796d4d~NdND9xi3R2372723727eucas1p1q;\n\tThu, 23 Aug 2018 08:04:48 +0000 (GMT)", "from eusync3.samsung.com ( [203.254.199.213]) by\n\teusmgms1.samsung.com (EUCPMTA) with SMTP id 76.50.04284.0AA6E7B5;\n\tThu, 23 Aug 2018 09:04:48 +0100 (BST)", "from imaximets.rnd.samsung.ru ([106.109.129.180]) by\n\teusync3.samsung.com (Oracle Communications Messaging Server\n\t7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id\n\t<0PDW00L3KMFSUI10@eusync3.samsung.com>; \n\tThu, 23 Aug 2018 09:04:48 +0100 (BST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com\n\t20180823080450euoutp0169565a5c2004a724b2ba69aa07712d0f~NdNFXwhDU3267732677euoutp01X", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;\n\ts=mail20170921; t=1535011490;\n\tbh=tMTcT5rosO5aCIR3bL/XdLifkw40I+FhQdTvSVlEhAg=;\n\th=From:To:Cc:Subject:Date:References:From;\n\tb=RsTIXuj1gNJWPT/hOrcmPWsM/AqEwmbPIRwnmSx1FMFZIxWx73KGaGp3JFPRR4xSb\n\tpwvDKfOhXYJGmIUOLpEG8JEADoxDACLjN7PW9+Q2GUk3+ykTbXQNVe15paqAl8tHWH\n\tksRCppTA36UpFFjZdcN320b6BUUYW5kGoWkb/vqo=", "X-AuditID": "cbfec7f5-34dff700000012c6-09-5b7e6aa1a8f0", "From": "Ilya Maximets <i.maximets@samsung.com>", "To": "dev@dpdk.org", "Cc": "Ori Kam <orika@mellanox.com>, John McNamara <john.mcnamara@intel.com>,\n\tMarko Kovacevic <marko.kovacevic@intel.com>, Ilya Maximets\n\t<i.maximets@samsung.com>, stable@dpdk.org", "Date": "Thu, 23 Aug 2018 11:05:54 +0300", "Message-id": "<20180823080554.10695-1-i.maximets@samsung.com>", "X-Mailer": "git-send-email 2.17.1", "X-Brightmail-Tracker": [ "H4sIAAAAAAAAA+NgFprMIsWRmVeSWpSXmKPExsWy7djP87oLs+qiDZq+y1q8+7SdyeJK+092\n\ti/PztrJanN/Yy2rRe/gLm8W/jj/sDmwevxYsZfVYvOclk8ez6YeZPPq2rGIMYInisklJzcks\n\tSy3St0vgytj6eQ9jwVXRiitHrrM3ME4V7GLk5JAQMJGYt+cgYxcjF4eQwApGiVcXN7NAOJ8Z\n\tJTa3HGCHq5reBpVYxihx62MPlNPMJHFj40Q2kCo2AR2JU6uPMILYIgICEp87F7OBFDELbGaU\n\t2PDrBFMXIweHsICzRN9qGZA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1TIf7zr+8/Nhhf1Pzv1Y\n\tMf3Jrm+H2KL2Hf/p4xKS2h/qIPboY+3Sm/LR9U4BGyNNvyZzzpoUWt/GNqVTIfXwo4v9nesq\n\tHggwOddz1PFvfK2t/nrjb5nHfRcTfMLE3hxMXSN078c3J/aVvu+Nz5xt+V3fwfbZ4qWhyMyQ\n\tZq/YaOPWo/zblFiKMxINtZiLihMBT56qUfkBAAA=" ], "X-CMS-MailID": "20180823080448eucas1p1f2a3c25bbd7773ad9f510320f4796d4d", "X-Msg-Generator": "CA", "CMS-TYPE": "201P", "X-CMS-RootMailID": "20180823080448eucas1p1f2a3c25bbd7773ad9f510320f4796d4d", "References": "<CGME20180823080448eucas1p1f2a3c25bbd7773ad9f510320f4796d4d@eucas1p1.samsung.com>", "Subject": "[dpdk-dev] [PATCH] doc: fix style and syntax errors in flow API\n\tguide", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Fixes: 3e0ceb9f17ff (\"doc: add basic howto for flow API\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ilya Maximets <i.maximets@samsung.com>\n---\n doc/guides/howto/rte_flow.rst | 20 ++++++++++----------\n 1 file changed, 10 insertions(+), 10 deletions(-)", "diff": "diff --git a/doc/guides/howto/rte_flow.rst b/doc/guides/howto/rte_flow.rst\nindex caa4e1afd..c71152161 100644\n--- a/doc/guides/howto/rte_flow.rst\n+++ b/doc/guides/howto/rte_flow.rst\n@@ -32,7 +32,7 @@ Code\n .. code-block:: c\n \n /* create the attribute structure */\n- struct rte_flow_attr attr = {.ingress = 1};\n+ struct rte_flow_attr attr = { .ingress = 1 };\n struct rte_flow_item pattern[MAX_PATTERN_IN_FLOW];\n struct rte_flow_action actions[MAX_ACTIONS_IN_FLOW];\n struct rte_flow_item_etc eth;\n@@ -62,8 +62,8 @@ Code\n actions[1].type = RTE_FLOW_ACTION_TYPE_END;\n \n /* validate and create the flow rule */\n- if (!rte_flow_validate(port_id, &attr, pattern, actions, &error)\n- flow = rte_flow_create(port_id, &attr, pattern, actions, &error)\n+ if (!rte_flow_validate(port_id, &attr, pattern, actions, &error))\n+ flow = rte_flow_create(port_id, &attr, pattern, actions, &error);\n \n Output\n ~~~~~~\n@@ -120,7 +120,7 @@ clarity)::\n \n tpmd> flow create 0 ingress pattern eth / vlan /\n ipv4 dst spec 192.168.3.0 dst mask 255.255.255.0 /\n-\t end actions drop / end\n+ end actions drop / end\n \n Code\n ~~~~\n@@ -160,8 +160,8 @@ Code\n actions[1].type = RTE_FLOW_ACTION_TYPE_END;\n \n /* validate and create the flow rule */\n- if (!rte_flow_validate(port_id, &attr, pattern, actions, &error)\n- flow = rte_flow_create(port_id, &attr, pattern, actions, &error)\n+ if (!rte_flow_validate(port_id, &attr, pattern, actions, &error))\n+ flow = rte_flow_create(port_id, &attr, pattern, actions, &error);\n \n Output\n ~~~~~~\n@@ -227,7 +227,7 @@ Code\n \n .. code-block:: c\n \n- struct rte_flow_attr attr = {.ingress = 1};\n+ struct rte_flow_attr attr = { .ingress = 1 };\n struct rte_flow_item pattern[MAX_PATTERN_IN_FLOW];\n struct rte_flow_action actions[MAX_ACTIONS_IN_FLOW];\n struct rte_flow_item_etc eth;\n@@ -250,12 +250,12 @@ Code\n \n /* create the queue action */\n actions[0].type = RTE_FLOW_ACTION_TYPE_QUEUE;\n- actions[0].conf = &queue\n+ actions[0].conf = &queue;\n actions[1].type = RTE_FLOW_ACTION_TYPE_END;\n \n /* validate and create the flow rule */\n- if (!rte_flow_validate(port_id, &attr, pattern, actions, &error)\n- flow = rte_flow_create(port_id, &attr, pattern, actions, &error)\n+ if (!rte_flow_validate(port_id, &attr, pattern, actions, &error))\n+ flow = rte_flow_create(port_id, &attr, pattern, actions, &error);\n \n Output\n ~~~~~~\n", "prefixes": [] }{ "id": 43809, "url": "