Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64228/?format=api
http://patches.dpdk.org/api/patches/64228/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200106043445.14334-1-nipun.gupta@nxp.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": "<20200106043445.14334-1-nipun.gupta@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200106043445.14334-1-nipun.gupta@nxp.com", "date": "2020-01-06T04:34:44", "name": "[1/2] examples/l3fwd: set default schedule type as atomic", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c4533577d719cdd6b8fdd8df87ef912b02d70a71", "submitter": { "id": 471, "url": "http://patches.dpdk.org/api/people/471/?format=api", "name": "Nipun Gupta", "email": "nipun.gupta@nxp.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200106043445.14334-1-nipun.gupta@nxp.com/mbox/", "series": [ { "id": 7985, "url": "http://patches.dpdk.org/api/series/7985/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7985", "date": "2020-01-06T04:34:44", "name": "[1/2] examples/l3fwd: set default schedule type as atomic", "version": 1, "mbox": "http://patches.dpdk.org/series/7985/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/64228/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/64228/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5D098A04F1;\n\tMon, 6 Jan 2020 05:51:56 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 259321D5A5;\n\tMon, 6 Jan 2020 05:51:56 +0100 (CET)", "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n by dpdk.org (Postfix) with ESMTP id F38771D5A4\n for <dev@dpdk.org>; Mon, 6 Jan 2020 05:51:54 +0100 (CET)", "from inva021.nxp.com (localhost [127.0.0.1])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 93F56200650;\n Mon, 6 Jan 2020 05:51:54 +0100 (CET)", "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n [165.114.16.14])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A5B6E200B57;\n Mon, 6 Jan 2020 05:51:48 +0100 (CET)", "from GDB1.ap.freescale.net (gdb1.ap.freescale.net [10.232.132.179])\n by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 0235640286;\n Mon, 6 Jan 2020 12:51:40 +0800 (SGT)" ], "From": "Nipun Gupta <nipun.gupta@nxp.com>", "To": "dev@dpdk.org", "Cc": "pbhagavatula@marvell.com, jerinj@marvell.com, hemant.agrawal@nxp.com,\n akhil.goyal@nxp.com, marko.kovacevic@intel.com, orika@mellanox.com,\n bruce.richardson@intel.com, radu.nicolau@intel.com,\n tomasz.kantecki@intel.com, skori@marvell.com,\n Nipun Gupta <nipun.gupta@nxp.com>", "Date": "Mon, 6 Jan 2020 10:04:44 +0530", "Message-Id": "<20200106043445.14334-1-nipun.gupta@nxp.com>", "X-Mailer": "git-send-email 2.17.1", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Subject": "[dpdk-dev] [PATCH 1/2] examples/l3fwd: set default schedule type as\n\tatomic", "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 <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": "Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>\n\n---\nThese patches are based over https://patchwork.dpdk.org/patch/63553/.\nFeel free to merge into the series.\n\n examples/l3fwd/l3fwd_event.h | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/examples/l3fwd/l3fwd_event.h b/examples/l3fwd/l3fwd_event.h\nindex fcc0ce51a..470aedc61 100644\n--- a/examples/l3fwd/l3fwd_event.h\n+++ b/examples/l3fwd/l3fwd_event.h\n@@ -100,7 +100,11 @@ l3fwd_get_eventdev_rsrc(void)\n \tmz = rte_memzone_reserve(name, sizeof(struct l3fwd_event_resources),\n \t\t\t\t 0, 0);\n \tif (mz != NULL) {\n+\t\tstruct l3fwd_event_resources *rsrc = mz->addr;\n+\n \t\tmemset(mz->addr, 0, sizeof(struct l3fwd_event_resources));\n+\t\trsrc->sched_type = RTE_SCHED_TYPE_ATOMIC;\n+\n \t\treturn mz->addr;\n \t}\n \n", "prefixes": [ "1/2" ] }{ "id": 64228, "url": "