Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/9045/?format=api
http://patches.dpdk.org/api/patches/9045/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1448289889-9590-2-git-send-email-adrien.mazarguil@6wind.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": "<1448289889-9590-2-git-send-email-adrien.mazarguil@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1448289889-9590-2-git-send-email-adrien.mazarguil@6wind.com", "date": "2015-11-23T14:44:36", "name": "[dpdk-dev,01/14] mlx4: fix possible crash when clearing device statistics", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "738dd067f802cdaa2b022def7629f28ec06d949a", "submitter": { "id": 165, "url": "http://patches.dpdk.org/api/people/165/?format=api", "name": "Adrien Mazarguil", "email": "adrien.mazarguil@6wind.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1448289889-9590-2-git-send-email-adrien.mazarguil@6wind.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/9045/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/9045/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 8BCA88E96;\n\tMon, 23 Nov 2015 15:45:18 +0100 (CET)", "from mail-wm0-f50.google.com (mail-wm0-f50.google.com\n\t[74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 47E4A8E95\n\tfor <dev@dpdk.org>; Mon, 23 Nov 2015 15:45:17 +0100 (CET)", "by wmuu63 with SMTP id u63so57111142wmu.0\n\tfor <dev@dpdk.org>; Mon, 23 Nov 2015 06:45:17 -0800 (PST)", "from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by smtp.gmail.com with ESMTPSA id\n\tt5sm13466884wmt.1.2015.11.23.06.45.15\n\tfor <dev@dpdk.org> (version=TLSv1/SSLv3 cipher=OTHER);\n\tMon, 23 Nov 2015 06:45:16 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:subject:date:message-id:in-reply-to:references;\n\tbh=3KY/WicD332OWoCgfOPS0mLnEdCSieP7RjTAySVsnh8=;\n\tb=T8S1NlTpKbjG/gUUBFdaktcfSX3O/TRwnpp86R8L6hw9rWveNVkL9bZTf9deyT8+6d\n\tkxjlrdGmy9RdH+JkHSW9vyGcUiCjB2TVJQQANzQrv1TW6xf7ASDGgiFiU5fk6poMETs/\n\t2KbG2+RzZ0b7AzTCpanMmxaGj3x4ttNRbkJJqUjpOCTOwWxmP23TxNJ6gJMuVQZLAwh3\n\tNR9EKeBVIMaVSKEFCNeZZRlCUb2gW+zREk/8EMG/5A2tQ6bsdqSA7byKEBA4+llLv6Tj\n\tBnOC8eM9d7TbwsvrUYI5uqfInIQB2m87pH5o/chaCf4VT6/47F+I+ysqelS/miqJ8GdE\n\tPjyA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=3KY/WicD332OWoCgfOPS0mLnEdCSieP7RjTAySVsnh8=;\n\tb=cMC98c54YWwfuPWsXaUL0cRjE/stwQgxUrP87UeIstcNX2IjftpMNpqF/vxk2kqK+9\n\tcZkOd5s7SWntEuDJgCRTT39CNwx1SotywQCKpf/lufY+/7Q1I8OsRLaj5UmMlpNAY/gT\n\tZBHWuXgj/06iTLYZeKD5R5GBuexF4l5Q3JoRwnk1t4C348gUcugla+VY2fzLXD3oV1aJ\n\tCoktragmvfRy+fbVgZfiUryeEkXj0s6e8uN5UhDihcE7bwAP/AtVKWMLw+vllJ1PJPTY\n\tS2ad5EsPZEZoj06DSjZzPpXWSWqjgrN+E8XWfu1z4vuS385bCmq3cd6LY83mUGQE/Ckm\n\tOlig==", "X-Gm-Message-State": "ALoCoQl46ujbJt2/mdg1Gq6r0jkNGPDtotbvbREEetEM9zPoteoADGEo7YGPUZ5kixupKEk3wcG2", "X-Received": "by 10.28.21.196 with SMTP id 187mr17454831wmv.82.1448289917153; \n\tMon, 23 Nov 2015 06:45:17 -0800 (PST)", "From": "Adrien Mazarguil <adrien.mazarguil@6wind.com>", "To": "dev@dpdk.org", "Date": "Mon, 23 Nov 2015 15:44:36 +0100", "Message-Id": "<1448289889-9590-2-git-send-email-adrien.mazarguil@6wind.com>", "X-Mailer": "git-send-email 2.1.0", "In-Reply-To": "<1448289889-9590-1-git-send-email-adrien.mazarguil@6wind.com>", "References": "<1448289889-9590-1-git-send-email-adrien.mazarguil@6wind.com>", "Subject": "[dpdk-dev] [PATCH 01/14] mlx4: fix possible crash when clearing\n\tdevice statistics", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://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": "<http://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": "A typo causes TX stats indices to be retrieved from RX queues.\n\nFixes: 7fae69eeff13 (\"mlx4: new poll mode driver\")\n\nReported-by: Nicolas Harnois <nicolas.harnois@6wind.com>\nSigned-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>\n---\n drivers/net/mlx4/mlx4.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c\nindex 4198c04..d961a8a 100644\n--- a/drivers/net/mlx4/mlx4.c\n+++ b/drivers/net/mlx4/mlx4.c\n@@ -3958,7 +3958,7 @@ mlx4_stats_reset(struct rte_eth_dev *dev)\n \tfor (i = 0; (i != priv->txqs_n); ++i) {\n \t\tif ((*priv->txqs)[i] == NULL)\n \t\t\tcontinue;\n-\t\tidx = (*priv->rxqs)[i]->stats.idx;\n+\t\tidx = (*priv->txqs)[i]->stats.idx;\n \t\t(*priv->txqs)[i]->stats =\n \t\t\t(struct mlx4_txq_stats){ .idx = idx };\n \t}\n", "prefixes": [ "dpdk-dev", "01/14" ] }{ "id": 9045, "url": "