Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83989/?format=api
http://patches.dpdk.org/api/patches/83989/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1605080208-12165-4-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-4-git-send-email-michaelba@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1605080208-12165-4-git-send-email-michaelba@nvidia.com", "date": "2020-11-11T07:36:47", "name": "[4/5] net/mlx5: fix compiler code arrangement in probe", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "5a99ce2175eb8a61abcb2f07cc9de86e00e6331f", "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-4-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/83989/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/83989/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 6A4B9A09D2;\n\tWed, 11 Nov 2020 08:38:07 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DB1C8493D;\n\tWed, 11 Nov 2020 08:37:39 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 8BFB4DED\n for <dev@dpdk.org>; Wed, 11 Nov 2020 08:37:38 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n michaelba@nvidia.com) with SMTP; 11 Nov 2020 09:37:34 +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 0AB7b2wo028356;\n Wed, 11 Nov 2020 09:37:33 +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:47 +0000", "Message-Id": "<1605080208-12165-4-git-send-email-michaelba@nvidia.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1605080208-12165-1-git-send-email-michaelba@nvidia.com>", "References": "<1605080208-12165-1-git-send-email-michaelba@nvidia.com>", "Subject": "[dpdk-dev] [PATCH 4/5] net/mlx5: fix compiler code arrangement in\n\tprobe", "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": "Bonding adjustment is done only when DEVX_PORT is supported in the\nrdma-core.\n\nSome bonding condition was done even when DEVX_PORT is not supported.\n\nRemove it.\n\nFixes: 2eb4d0107acc (\"net/mlx5: refactor PCI probing on Linux\")\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/linux/mlx5_os.c | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/drivers/net/mlx5/linux/mlx5_os.c b/drivers/net/mlx5/linux/mlx5_os.c\nindex c78d56f..ce25108 100644\n--- a/drivers/net/mlx5/linux/mlx5_os.c\n+++ b/drivers/net/mlx5/linux/mlx5_os.c\n@@ -1942,6 +1942,7 @@\n \t\t\t\t\t\t(list[ns].ifindex,\n \t\t\t\t\t\t &list[ns].info);\n \t\t\t}\n+#ifdef HAVE_MLX5DV_DR_DEVX_PORT\n \t\t\tif (!ret && bd >= 0) {\n \t\t\t\tswitch (list[ns].info.name_type) {\n \t\t\t\tcase MLX5_PHYS_PORT_NAME_TYPE_UPLINK:\n@@ -1959,6 +1960,7 @@\n \t\t\t\t}\n \t\t\t\tcontinue;\n \t\t\t}\n+#endif\n \t\t\tif (!ret && (list[ns].info.representor ^\n \t\t\t\t list[ns].info.master))\n \t\t\t\tns++;\n", "prefixes": [ "4/5" ] }{ "id": 83989, "url": "