Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/41009/?format=api
https://patches.dpdk.org/api/patches/41009/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180612112224.8129-1-xuemingl@mellanox.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": "<20180612112224.8129-1-xuemingl@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180612112224.8129-1-xuemingl@mellanox.com", "date": "2018-06-12T11:22:24", "name": "net/mlx5: fix pmd crash in device probe", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "7cb14222580ec39d182d63729317fc96f2f18344", "submitter": { "id": 814, "url": "https://patches.dpdk.org/api/people/814/?format=api", "name": "Xueming Li", "email": "xuemingl@mellanox.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180612112224.8129-1-xuemingl@mellanox.com/mbox/", "series": [ { "id": 95, "url": "https://patches.dpdk.org/api/series/95/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=95", "date": "2018-06-12T11:22:24", "name": "net/mlx5: fix pmd crash in device probe", "version": 1, "mbox": "https://patches.dpdk.org/series/95/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/41009/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/41009/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 A7DDD1E99F;\n\tTue, 12 Jun 2018 13:22:39 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 5510A1E994\n\tfor <dev@dpdk.org>; Tue, 12 Jun 2018 13:22:37 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n\txuemingl@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 12 Jun 2018 14:24:55 +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 w5CBMWW9008747;\n\tTue, 12 Jun 2018 14:22:33 +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\tw5CBMVmc008174; Tue, 12 Jun 2018 19:22:31 +0800", "(from xuemingl@localhost)\n\tby dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7/Submit) id\n\tw5CBMRHx008173; Tue, 12 Jun 2018 19:22:27 +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>, orika@mellanox.com", "Date": "Tue, 12 Jun 2018 19:22:24 +0800", "Message-Id": "<20180612112224.8129-1-xuemingl@mellanox.com>", "X-Mailer": "git-send-email 2.13.3", "Subject": "[dpdk-dev] [PATCH] 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\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 216753ba6..cf9936ae2 100644\n--- a/drivers/net/mlx5/mlx5.c\n+++ b/drivers/net/mlx5/mlx5.c\n@@ -708,7 +708,7 @@ mlx5_dev_spawn_one(struct rte_device *dpdk_dev,\n \tunsigned int mprq_min_stride_num_n = 0;\n \tunsigned int mprq_max_stride_num_n = 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 \tstruct ether_addr mac;\n \tchar name[RTE_ETH_NAME_MAX_LEN];\n", "prefixes": [] }{ "id": 41009, "url": "