Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/74606/?format=api
https://patches.dpdk.org/api/patches/74606/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1595404727-164521-2-git-send-email-suanmingm@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": "<1595404727-164521-2-git-send-email-suanmingm@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1595404727-164521-2-git-send-email-suanmingm@mellanox.com", "date": "2020-07-22T07:58:46", "name": "[v2,2/3] common/mlx5: add counter batch query ID alignment define", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4ada27bb3c2372d76e86f0fb2fff6a713ab24d69", "submitter": { "id": 1358, "url": "https://patches.dpdk.org/api/people/1358/?format=api", "name": "Suanming Mou", "email": "suanmingm@mellanox.com" }, "delegate": { "id": 3268, "url": "https://patches.dpdk.org/api/users/3268/?format=api", "username": "rasland", "first_name": "Raslan", "last_name": "Darawsheh", "email": "rasland@nvidia.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1595404727-164521-2-git-send-email-suanmingm@mellanox.com/mbox/", "series": [ { "id": 11229, "url": "https://patches.dpdk.org/api/series/11229/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11229", "date": "2020-07-22T07:58:45", "name": "[v2,1/3] net/mlx5: separate aging counter pool range", "version": 2, "mbox": "https://patches.dpdk.org/series/11229/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/74606/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/74606/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 EA953A0526;\n\tWed, 22 Jul 2020 09:59:01 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9987F1C001;\n\tWed, 22 Jul 2020 09:58:56 +0200 (CEST)", "from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130])\n by dpdk.org (Postfix) with ESMTP id E40E91BE90\n for <dev@dpdk.org>; Wed, 22 Jul 2020 09:58:53 +0200 (CEST)" ], "From": "Suanming Mou <suanmingm@mellanox.com>", "To": "viacheslavo@mellanox.com,\n\tmatan@mellanox.com", "Cc": "rasland@mellanox.com,\n\tdev@dpdk.org", "Date": "Wed, 22 Jul 2020 15:58:46 +0800", "Message-Id": "<1595404727-164521-2-git-send-email-suanmingm@mellanox.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1595404727-164521-1-git-send-email-suanmingm@mellanox.com>", "References": "<1594903224-20442-1-git-send-email-suanmingm@mellanox.com>\n <1595404727-164521-1-git-send-email-suanmingm@mellanox.com>", "Subject": "[dpdk-dev] [PATCH v2 2/3] common/mlx5: add counter batch query ID\n\talignment define", "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 counter batch query requires ID to be aligned with 4.\n\nSigned-off-by: Suanming Mou <suanmingm@mellanox.com>\nAcked-by: Matan Azrad <matan@mellanox.com>\n---\n drivers/common/mlx5/mlx5_prm.h | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm.h\nindex cb5f968..8565d25 100644\n--- a/drivers/common/mlx5/mlx5_prm.h\n+++ b/drivers/common/mlx5/mlx5_prm.h\n@@ -818,6 +818,9 @@ enum {\n */\n #define MLX5_CNT_BATCH_OFFSET 0x800000\n \n+/* The counter batch query requires ID align with 4. */\n+#define MLX5_CNT_BATCH_QUERY_ID_ALIGNMENT 4\n+\n /* Flow counters. */\n struct mlx5_ifc_alloc_flow_counter_out_bits {\n \tu8 status[0x8];\n", "prefixes": [ "v2", "2/3" ] }{ "id": 74606, "url": "