Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/41010/?format=api
http://patchwork.dpdk.org/api/patches/41010/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180612113811.8543-1-xuemingl@mellanox.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20180612113811.8543-1-xuemingl@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180612113811.8543-1-xuemingl@mellanox.com", "date": "2018-06-12T11:38:11", "name": "[v1] net/mlx5: fix pmd crash in device probe", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "00f7849f381640fe0ff22f394f753b132dfe71e1", "submitter": { "id": 814, "url": "http://patchwork.dpdk.org/api/people/814/?format=api", "name": "Xueming Li", "email": "xuemingl@mellanox.com" }, "delegate": { "id": 6624, "url": "http://patchwork.dpdk.org/api/users/6624/?format=api", "username": "shahafs", "first_name": "Shahaf", "last_name": "Shuler", "email": "shahafs@mellanox.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20180612113811.8543-1-xuemingl@mellanox.com/mbox/", "series": [ { "id": 96, "url": "http://patchwork.dpdk.org/api/series/96/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=96", "date": "2018-06-12T11:38:11", "name": "[v1] net/mlx5: fix pmd crash in device probe", "version": 1, "mbox": "http://patchwork.dpdk.org/series/96/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/41010/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/41010/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 490021E9EA;\n\tTue, 12 Jun 2018 13:38:24 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 5791F1E9EA\n\tfor <dev@dpdk.org>; Tue, 12 Jun 2018 13:38:23 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n\txuemingl@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 12 Jun 2018 14:40:42 +0300", "from dev-r630-06.mtbc.labs.mlnx (dev-r630-06.mtbc.labs.mlnx\n\t[10.12.205.180])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w5CBcJqk015517;\n\tTue, 12 Jun 2018 14:38:20 +0300", "from dev-r630-06.mtbc.labs.mlnx (localhost [127.0.0.1])\n\tby dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7) with ESMTP id\n\tw5CBcJGb008591; Tue, 12 Jun 2018 19:38:19 +0800", "(from xuemingl@localhost)\n\tby dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7/Submit) id\n\tw5CBcIVc008589; Tue, 12 Jun 2018 19:38:18 +0800" ], "From": "Xueming Li <xuemingl@mellanox.com>", "To": "", "Cc": "Xueming Li <xuemingl@mellanox.com>, dev@dpdk.org,\n\tAdrien Mazarguil <adrien.mazarguil@6wind.com>,\n\tShahaf Shuler <shahafs@mellanox.com>, stable@dpdk.org, orika@mellanox.com", "Date": "Tue, 12 Jun 2018 19:38:11 +0800", "Message-Id": "<20180612113811.8543-1-xuemingl@mellanox.com>", "X-Mailer": "git-send-email 2.13.3", "Subject": "[dpdk-dev] [PATCH v1] net/mlx5: fix pmd crash in device probe", "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": "This patch initializes counter descriptor struct before invoking Verbs\napi to avoid segment fault.\n\nFixes: 9a761de8ea14 (\"net/mlx5: flow counter support\")\nCc: orika@mellanox.com\nCc: stable@dpdk.org\n\nSigned-off-by: Xueming Li <xuemingl@mellanox.com>\n---\n drivers/net/mlx5/mlx5.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c\nindex c933e274f..9ab965968 100644\n--- a/drivers/net/mlx5/mlx5.c\n+++ b/drivers/net/mlx5/mlx5.c\n@@ -706,7 +706,7 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,\n \tint i;\n \tstruct mlx5dv_context attrs_out = {0};\n #ifdef HAVE_IBV_DEVICE_COUNTERS_SET_SUPPORT\n-\tstruct ibv_counter_set_description cs_desc;\n+\tstruct ibv_counter_set_description cs_desc = { .counter_type = 0 };\n #endif\n \n \t/* Prepare shared data between primary and secondary process. */\n", "prefixes": [ "v1" ] }{ "id": 41010, "url": "