Show a patch.

GET /api/patches/74606/
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 74606,
    "url": "https://patches.dpdk.org/api/patches/74606/",
    "web_url": "https://patches.dpdk.org/patch/74606/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<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/",
        "name": "Suanming Mou",
        "email": "suanmingm@mellanox.com"
    },
    "delegate": {
        "id": 3268,
        "url": "https://patches.dpdk.org/api/users/3268/",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@mellanox.com"
    },
    "mbox": "https://patches.dpdk.org/patch/74606/mbox/",
    "series": [
        {
            "id": 11229,
            "url": "https://patches.dpdk.org/api/series/11229/",
            "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": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "References": "<1594903224-20442-1-git-send-email-suanmingm@mellanox.com>\n <1595404727-164521-1-git-send-email-suanmingm@mellanox.com>",
        "X-BeenThere": "dev@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v2 2/3] common/mlx5: add counter batch query ID\n\talignment define",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "From": "Suanming Mou <suanmingm@mellanox.com>",
        "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)"
        ],
        "To": "viacheslavo@mellanox.com,\n\tmatan@mellanox.com",
        "X-Mailer": "git-send-email 1.8.3.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Date": "Wed, 22 Jul 2020 15:58:46 +0800",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "In-Reply-To": "<1595404727-164521-1-git-send-email-suanmingm@mellanox.com>",
        "Cc": "rasland@mellanox.com,\n\tdev@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<1595404727-164521-2-git-send-email-suanmingm@mellanox.com>",
        "Return-Path": "<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"
    ]
}