Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83986/?format=api
http://patches.dpdk.org/api/patches/83986/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1605080208-12165-1-git-send-email-michaelba@nvidia.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": "<1605080208-12165-1-git-send-email-michaelba@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1605080208-12165-1-git-send-email-michaelba@nvidia.com", "date": "2020-11-11T07:36:44", "name": "[1/5] net/mlx5: fix unused calculation in RSS expansion", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "0523173b2e341dfd65efae755d306cc393e79bfa", "submitter": { "id": 1949, "url": "http://patches.dpdk.org/api/people/1949/?format=api", "name": "Michael Baum", "email": "michaelba@nvidia.com" }, "delegate": { "id": 3268, "url": "http://patches.dpdk.org/api/users/3268/?format=api", "username": "rasland", "first_name": "Raslan", "last_name": "Darawsheh", "email": "rasland@nvidia.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1605080208-12165-1-git-send-email-michaelba@nvidia.com/mbox/", "series": [ { "id": 13800, "url": "http://patches.dpdk.org/api/series/13800/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13800", "date": "2020-11-11T07:36:44", "name": "[1/5] net/mlx5: fix unused calculation in RSS expansion", "version": 1, "mbox": "http://patches.dpdk.org/series/13800/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83986/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/83986/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 40998A09D2;\n\tWed, 11 Nov 2020 08:37:13 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 025EA137D;\n\tWed, 11 Nov 2020 08:37:11 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id E79CE137D\n for <dev@dpdk.org>; Wed, 11 Nov 2020 08:37:09 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n michaelba@nvidia.com) with SMTP; 11 Nov 2020 09:37:02 +0200", "from nvidia.com (pegasus07.mtr.labs.mlnx [10.210.16.112])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0AB7b2wl028356;\n Wed, 11 Nov 2020 09:37:02 +0200" ], "From": "Michael Baum <michaelba@nvidia.com>", "To": "dev@dpdk.org", "Cc": "Matan Azrad <matan@nvidia.com>, Raslan Darawsheh <rasland@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>, stable@dpdk.org", "Date": "Wed, 11 Nov 2020 07:36:44 +0000", "Message-Id": "<1605080208-12165-1-git-send-email-michaelba@nvidia.com>", "X-Mailer": "git-send-email 1.8.3.1", "Subject": "[dpdk-dev] [PATCH 1/5] net/mlx5: fix unused calculation in RSS\n\texpansion", "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": "The RSS flow expansion get a memory buffer to fill the new patterns of\nthe expanded flows.\nThis memory management saves the next address to write into the buffer\nin a dedicated variable.\n\nThe calculation for the next address was wrongly also done when all the\npatterns were ready.\n\nRemove it.\n\nFixes: 4ed05fcd441b (\"ethdev: add flow API to expand RSS flows\")\nCc: stable@dpdk.org\n\nSigned-off-by: Michael Baum <michaelba@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/net/mlx5/mlx5_flow.c | 2 --\n 1 file changed, 2 deletions(-)", "diff": "diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c\nindex 92adfca..ebd79c6 100644\n--- a/drivers/net/mlx5/mlx5_flow.c\n+++ b/drivers/net/mlx5/mlx5_flow.c\n@@ -377,8 +377,6 @@ struct mlx5_flow_expand_rss {\n \t\t\t\t user_pattern_size);\n \t\t\taddr = (void *)(((uintptr_t)addr) + user_pattern_size);\n \t\t\trte_memcpy(addr, flow_items, elt * sizeof(*item));\n-\t\t\taddr = (void *)(((uintptr_t)addr) +\n-\t\t\t\t\telt * sizeof(*item));\n \t\t}\n \t}\n \treturn lsize;\n", "prefixes": [ "1/5" ] }{ "id": 83986, "url": "