Show a patch.

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

{
    "id": 73569,
    "url": "https://patches.dpdk.org/api/patches/73569/?format=api",
    "web_url": "https://patches.dpdk.org/patch/73569/",
    "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"
    },
    "msgid": "<20200709014825.13690-1-ting.xu@intel.com>",
    "date": "2020-07-09T01:48:25",
    "name": "[v3] lib/table: fix cache alignment issue",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1d0e3258bb82fcab819fda5a300b1badc6ce5e37",
    "submitter": {
        "id": 1363,
        "url": "https://patches.dpdk.org/api/people/1363/?format=api",
        "name": "Ting Xu",
        "email": "ting.xu@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/patch/73569/mbox/",
    "series": [
        {
            "id": 10904,
            "url": "https://patches.dpdk.org/api/series/10904/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10904",
            "date": "2020-07-09T01:48:25",
            "name": "[v3] lib/table: fix cache alignment issue",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/10904/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73569/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/73569/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9676\"; a=\"127994425\"",
            "E=Sophos;i=\"5.75,330,1589266800\"; d=\"scan'208\";a=\"127994425\"",
            "E=Sophos;i=\"5.75,330,1589266800\"; d=\"scan'208\";a=\"283978584\""
        ],
        "IronPort-SDR": [
            "\n RN57TjqkJ5k8Ab7w+VxigtK96UEHMeIAVgApImXIUR9C/AT6LtINq/3i2KFV2WvWH8NQ3RTl5s\n pZ/7UQjwpQZw==",
            "\n 1YPgKhRKzcjE4tNeXX6W8S6HWV6iIAGhf5/zmk2ZT4vs2U1FbgvWr6KZ1OHo8og6D0Xj4TAprJ\n 5fEoTRaGbvig=="
        ],
        "X-Amp-File-Uploaded": "False",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<20200616162705.83575-1-ting.xu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3] lib/table: fix cache alignment issue",
        "Sender": "\"dev\" <dev-bounces@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 A5C2AA0526;\n\tThu,  9 Jul 2020 03:44:38 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 379071DA81;\n\tThu,  9 Jul 2020 03:44:38 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id 7DE131DA7B;\n Thu,  9 Jul 2020 03:44:36 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Jul 2020 18:44:35 -0700",
            "from dpdk-xuting-second.sh.intel.com ([10.67.116.154])\n by orsmga006.jf.intel.com with ESMTP; 08 Jul 2020 18:44:33 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.17.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-ExtLoop1": "1",
        "Date": "Thu,  9 Jul 2020 09:48:25 +0800",
        "To": "dev@dpdk.org",
        "From": "Ting Xu <ting.xu@intel.com>",
        "In-Reply-To": "<20200616162705.83575-1-ting.xu@intel.com>",
        "Cc": "cristian.dumitrescu@intel.com, Ting Xu <ting.xu@intel.com>,\n stable@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20200709014825.13690-1-ting.xu@intel.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "When create softnic hash table with 16 keys, it failed on 32bit\nenvironment because of the structure rte_bucket_4_16 alignment\nissue. Add __rte_cache_aligned to ensure correct cache align.\n\nFixes: 8aa327214c (\"table: hash\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ting Xu <ting.xu@intel.com>\n\n---\nv2->v3: Rebase\nv1->v2: Correct patch time\n---\n lib/librte_table/rte_table_hash_key16.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_table/rte_table_hash_key16.c b/lib/librte_table/rte_table_hash_key16.c\nindex 2cca1c924..5e1665c15 100644\n--- a/lib/librte_table/rte_table_hash_key16.c\n+++ b/lib/librte_table/rte_table_hash_key16.c\n@@ -44,7 +44,7 @@ struct rte_bucket_4_16 {\n \tuint64_t key[4][2];\n \n \t/* Cache line 2 */\n-\tuint8_t data[0];\n+\tuint8_t data[0] __rte_cache_aligned;\n };\n \n struct rte_table_hash {\n",
    "prefixes": [
        "v3"
    ]
}