Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/41189/?format=api
http://patches.dpdk.org/api/patches/41189/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/beacbf81ad9ce0ffce6cde380973ca98ac2fd535.1529071026.git.anatoly.burakov@intel.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": "<beacbf81ad9ce0ffce6cde380973ca98ac2fd535.1529071026.git.anatoly.burakov@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/beacbf81ad9ce0ffce6cde380973ca98ac2fd535.1529071026.git.anatoly.burakov@intel.com", "date": "2018-06-15T14:25:04", "name": "[4/8] eal: bring forward init of interrupt handling", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f6a85b4a392cedd09fda8141710dc28ac6ddfe51", "submitter": { "id": 4, "url": "http://patches.dpdk.org/api/people/4/?format=api", "name": "Anatoly Burakov", "email": "anatoly.burakov@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/beacbf81ad9ce0ffce6cde380973ca98ac2fd535.1529071026.git.anatoly.burakov@intel.com/mbox/", "series": [ { "id": 145, "url": "http://patches.dpdk.org/api/series/145/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=145", "date": "2018-06-15T14:25:00", "name": "Remove IPC threads", "version": 1, "mbox": "http://patches.dpdk.org/series/145/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/41189/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/41189/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 0F15F1D69A;\n\tFri, 15 Jun 2018 16:25:24 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id A7FC61D616\n\tfor <dev@dpdk.org>; Fri, 15 Jun 2018 16:25:13 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t15 Jun 2018 07:25:11 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga005.jf.intel.com with ESMTP; 15 Jun 2018 07:25:09 -0700", "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw5FEP9Bc028185; Fri, 15 Jun 2018 15:25:09 +0100", "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id w5FEP8Jx019468;\n\tFri, 15 Jun 2018 15:25:08 +0100", "(from aburakov@localhost)\n\tby sivswdev01.ir.intel.com with LOCAL id w5FEP83e019462;\n\tFri, 15 Jun 2018 15:25:08 +0100" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.51,227,1526367600\"; d=\"scan'208\";a=\"232866776\"", "From": "Anatoly Burakov <anatoly.burakov@intel.com>", "To": "dev@dpdk.org", "Cc": "Jianfeng Tan <jianfeng.tan@intel.com>,\n\tBruce Richardson <bruce.richardson@intel.com>,\n\tkonstantin.ananyev@intel.com, thomas@monjalon.net", "Date": "Fri, 15 Jun 2018 15:25:04 +0100", "Message-Id": "<beacbf81ad9ce0ffce6cde380973ca98ac2fd535.1529071026.git.anatoly.burakov@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "In-Reply-To": [ "<cover.1529071026.git.anatoly.burakov@intel.com>", "<cover.1529071026.git.anatoly.burakov@intel.com>" ], "References": [ "<cover.1529071026.git.anatoly.burakov@intel.com>", "<cover.1529071026.git.anatoly.burakov@intel.com>" ], "Subject": "[dpdk-dev] [PATCH 4/8] eal: bring forward init of interrupt handling", "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://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": "<https://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": "From: Jianfeng Tan <jianfeng.tan@intel.com>\n\nIPC will reply on interrupt handling, so we move forward the init\nof interrupt handling.\n\nSigned-off-by: Jianfeng Tan <jianfeng.tan@intel.com>\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n lib/librte_eal/bsdapp/eal/eal.c | 10 +++++-----\n lib/librte_eal/linuxapp/eal/eal.c | 10 +++++-----\n 2 files changed, 10 insertions(+), 10 deletions(-)", "diff": "diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c\nindex dc279542d..f70f7aecd 100644\n--- a/lib/librte_eal/bsdapp/eal/eal.c\n+++ b/lib/librte_eal/bsdapp/eal/eal.c\n@@ -625,6 +625,11 @@ rte_eal_init(int argc, char **argv)\n \n \trte_config_init();\n \n+\tif (rte_eal_intr_init() < 0) {\n+\t\trte_eal_init_alert(\"Cannot init interrupt-handling thread\\n\");\n+\t\treturn -1;\n+\t}\n+\n \t/* Put mp channel init before bus scan so that we can init the vdev\n \t * bus through mp channel in the secondary process before the bus scan.\n \t */\n@@ -713,11 +718,6 @@ rte_eal_init(int argc, char **argv)\n \t\treturn -1;\n \t}\n \n-\tif (rte_eal_intr_init() < 0) {\n-\t\trte_eal_init_alert(\"Cannot init interrupt-handling thread\\n\");\n-\t\treturn -1;\n-\t}\n-\n \tif (rte_eal_timer_init() < 0) {\n \t\trte_eal_init_alert(\"Cannot init HPET or TSC timers\\n\");\n \t\trte_errno = ENOTSUP;\ndiff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c\nindex 8655b8691..f8a0c06d7 100644\n--- a/lib/librte_eal/linuxapp/eal/eal.c\n+++ b/lib/librte_eal/linuxapp/eal/eal.c\n@@ -839,6 +839,11 @@ rte_eal_init(int argc, char **argv)\n \n \trte_config_init();\n \n+\tif (rte_eal_intr_init() < 0) {\n+\t\trte_eal_init_alert(\"Cannot init interrupt-handling thread\\n\");\n+\t\treturn -1;\n+\t}\n+\n \t/* Put mp channel init before bus scan so that we can init the vdev\n \t * bus through mp channel in the secondary process before the bus scan.\n \t */\n@@ -968,11 +973,6 @@ rte_eal_init(int argc, char **argv)\n \t\trte_config.master_lcore, (int)thread_id, cpuset,\n \t\tret == 0 ? \"\" : \"...\");\n \n-\tif (rte_eal_intr_init() < 0) {\n-\t\trte_eal_init_alert(\"Cannot init interrupt-handling thread\\n\");\n-\t\treturn -1;\n-\t}\n-\n \tRTE_LCORE_FOREACH_SLAVE(i) {\n \n \t\t/*\n", "prefixes": [ "4/8" ] }{ "id": 41189, "url": "