Show a patch.

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

{
    "id": 41568,
    "url": "http://patches.dpdk.org/api/patches/41568/",
    "web_url": "http://patches.dpdk.org/patch/41568/",
    "project": {
        "id": 1,
        "url": "http://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": "<20180626123925.37439-3-yskoh@mellanox.com>",
    "date": "2018-06-26T12:39:22",
    "name": "[v2,2/5] net/mlx5: add new fields in Rx completion entry",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "021ff53668b1fadf00fed313b45200a8abc2f981",
    "submitter": {
        "id": 636,
        "url": "http://patches.dpdk.org/api/people/636/",
        "name": "Yongseok Koh",
        "email": "yskoh@mellanox.com"
    },
    "delegate": {
        "id": 6624,
        "url": "http://patches.dpdk.org/api/users/6624/",
        "username": "shahafs",
        "first_name": "Shahaf",
        "last_name": "Shuler",
        "email": "shahafs@mellanox.com"
    },
    "mbox": "http://patches.dpdk.org/patch/41568/mbox/",
    "series": [
        {
            "id": 242,
            "url": "http://patches.dpdk.org/api/series/242/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=242",
            "date": "2018-06-26T12:39:20",
            "name": "net/mlx5: support new completion field for Multi-Packet RQ",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/242/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/41568/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41568/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "In-Reply-To": "<20180626123925.37439-1-yskoh@mellanox.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20180626123925.37439-3-yskoh@mellanox.com>",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-Microsoft-Antispam-Message-Info": "1GeiqYCPwTw0krtbkK6tXxKlI/3Wb7zUn1wRZM9IJuHfCQyrFeDXp6qq2cVX31AkNjdHtVl6I94M9tAHLHuDFIMfYgquVaVenbLQSvBG5O1Pk0QRnfsrHl5i2lfKKwcSsAlQtDQL4cltKGugQxR44ym4knxhMCQetp7VP7vwizOn/MF2/Tz4KZeeXvp1BWA6osYlKKE6b5Q3rO9L9lmU9xYM5JnTAhaKdz2IGLewn1CIL8d7fnXyjDy/TTwfo0XDKYD6D9yTrPNA7WDvL8EVqLjqf6Tvdp45yuBvTdE03I2WNGuvVkfzx+p+0kW725OuIfngWQ4rak0qxY9TAAFmQoxyR/IsOpRG541gxtrFl18=",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 244971B599;\n\tTue, 26 Jun 2018 14:40:07 +0200 (CEST)",
            "from EUR04-HE1-obe.outbound.protection.outlook.com\n\t(mail-eopbgr70048.outbound.protection.outlook.com [40.107.7.48])\n\tby dpdk.org (Postfix) with ESMTP id B4C311B57E\n\tfor <dev@dpdk.org>; Tue, 26 Jun 2018 14:40:01 +0200 (CEST)",
            "from mellanox.com (209.116.155.178) by\n\tHE1PR0501MB2043.eurprd05.prod.outlook.com (2603:10a6:3:35::21) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.884.23; Tue, 26 Jun 2018 12:39:54 +0000"
        ],
        "References": "<20180626123925.37439-1-yskoh@mellanox.com>",
        "X-MS-Office365-Filtering-Correlation-Id": "33840157-9aa8-4d46-abc2-08d5db61ec1b",
        "MIME-Version": "1.0",
        "From": "Yongseok Koh <yskoh@mellanox.com>",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "26 Jun 2018 12:39:54.7495\n\t(UTC)",
        "X-Exchange-Antispam-Report-Test": "UriScan:;",
        "X-ClientProxiedBy": "CO1PR15CA0100.namprd15.prod.outlook.com\n\t(2603:10b6:101:21::20) To HE1PR0501MB2043.eurprd05.prod.outlook.com\n\t(2603:10a6:3:35::21)",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Content-Type": "text/plain",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Microsoft-Antispam": "UriScan:; BCL:0; PCL:0;\n\tRULEID:(7020095)(4652020)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020);\n\tSRVR:HE1PR0501MB2043; ",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "To": "adrien.mazarguil@6wind.com,\n\tnelio.laranjeiro@6wind.com",
        "X-LD-Processed": "a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; HE1PR0501MB2043;\n\t3:vX2q/X9naKMIlqIZxuYmuSzGQM1ep09aAwbkl/WWN8Iukm93N+srnqGv5TeI7ec93APtsOxjdLgRXJp8EmVe08at2MwVEJ/MtVvMts4HNcaVSfnsk4DhqkAYz1j1EPH/lHYQx77BjpFH3dsfwWnwNVIP/xpjWi7C4gUwX0WQbyVYLm9n9cqvnVyKZakcxSOXmQNpYx9aKHRJhoHT7wX0HEJ6ZJlgEwMxPgE9CTTZ3W0GP8ghKuwskLQk+hdFqYxT;\n\t25:9btG115pnkpx4VybhP9as/0XhUUWSO9CMnAV4GTOcqP4ey1WynyUIFeuDlffjhIqFdTjrBJzvWUf7mbjotbtzQpf8VI0B6yQwucy5kTV3iN4dSG5nApx/bof8jEZPmKWwLTWfxanWsGOj1jLfLsHT+H+vCok/ZWyezuqfGvBxyFgDMg8NerJty8vb70BbNwEcmt6Vj6vSBqubbv6a02P3D63Hrz+0SwJql9Dx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CzehoABLPdsI7MOXY=",
            "1; HE1PR0501MB2043;\n\t7:+6WmYkaHdyrcdf9YT0fGhKNK13qZEeF7nJ0xcL5yDKdeB/OY6ZFV/YvEoaNqpbvnSRQnT7QreUVfvsYwFCf8SFYdkC39jVquuUo9TGo1x+7jI9ZA+EuctCLrp4IyYbuae3fwt3qDWsBVTsEq3xjfGAWBjpeQcZuOgWANzjyHp6BJzT8cwl2JmktK4BXt79fp4c67oiEjmGfTZughiiSIAGcWxBYv+dskXnWWfVXa43wGooH78ixJvnrT8afA0hj2"
        ],
        "X-MS-TrafficTypeDiagnostic": "HE1PR0501MB2043:",
        "Cc": "dev@dpdk.org,\n\tshahafs@mellanox.com,\n\tYongseok Koh <yskoh@mellanox.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Date": "Tue, 26 Jun 2018 05:39:22 -0700",
        "X-Microsoft-Antispam-PRVS": "<HE1PR0501MB20438BBF7A058A9ACA991B39C3490@HE1PR0501MB2043.eurprd05.prod.outlook.com>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Received-SPF": "None (protection.outlook.com: mellanox.com does not designate\n\tpermitted sender hosts)",
        "X-Originating-IP": "[209.116.155.178]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "33840157-9aa8-4d46-abc2-08d5db61ec1b",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com;\n\ts=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=8crTx+5m0CixQE2pV4Kj6pUZJXHws180wKA+XNM8pTo=;\n\tb=WIwfpmX8MkYaj/lR7T7t0HJcUNQ3yAGiZvUO76qwSEHbgzrJI0yvMebgGbgG9+7Z6zT2DK6CHHKsSl6Bo+4P9q66GJFqlaNLXXE/iDIOSrY3LCynKUN1UuYBm2/j+KlA4jfOZGMV/OnYy4yqWHjijDHxVgUtx5S5emj8vqQydtE=",
        "SpamDiagnosticOutput": "1:99",
        "Authentication-Results": "spf=none (sender IP is )\n\tsmtp.mailfrom=yskoh@mellanox.com; ",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016);\n\tSRVR:HE1PR0501MB2043; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0501MB2043; ",
        "SpamDiagnosticMetadata": "NSPM",
        "X-Mailer": "git-send-email 2.11.0",
        "X-OriginatorOrg": "Mellanox.com",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-MS-Exchange-CrossTenant-Id": "a652971c-7d2e-4d9b-a6a4-d149256f461b",
        "X-MS-PublicTrafficType": "Email",
        "Precedence": "list",
        "X-Forefront-PRVS": "071518EF63",
        "X-BeenThere": "dev@dpdk.org",
        "Subject": "[dpdk-dev] [PATCH v2 2/5] net/mlx5: add new fields in Rx completion\n\tentry",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "HE1PR0501MB2043",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Forefront-Antispam-Report": "SFV:NSPM;\n\tSFS:(10009020)(396003)(346002)(136003)(39860400002)(376002)(366004)(189003)(199004)(66066001)(7736002)(956004)(478600001)(386003)(8676002)(48376002)(50466002)(486006)(107886003)(86362001)(16586007)(47776003)(316002)(186003)(68736007)(6666003)(4326008)(69596002)(25786009)(2616005)(11346002)(305945005)(476003)(446003)(81166006)(81156014)(21086003)(55016002)(2906002)(53936002)(76176011)(51416003)(97736004)(26005)(1076002)(105586002)(7696005)(5660300001)(36756003)(50226002)(3846002)(52116002)(6116002)(106356001)(8936002)(16526019);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2043; H:mellanox.com; FPR:;\n\tSPF:None; \n\tLANG:en; PTR:InfoNoRecords; MX:1; A:1; "
    },
    "content": "Stride index is added to mlx5_mini_cqe8 structure and WQE ID is added to\nmlx5_cqe structure.\n\nSigned-off-by: Yongseok Koh <yskoh@mellanox.com>\nAcked-by: Shahaf Shuler <shahafs@mellanox.com>\n---\n drivers/net/mlx5/mlx5_prm.h  | 9 +++++++--\n drivers/net/mlx5/mlx5_rxtx.h | 2 +-\n 2 files changed, 8 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_prm.h b/drivers/net/mlx5/mlx5_prm.h\nindex 0cf370cd7..f9fae1e50 100644\n--- a/drivers/net/mlx5/mlx5_prm.h\n+++ b/drivers/net/mlx5/mlx5_prm.h\n@@ -240,7 +240,9 @@ struct mlx5_cqe {\n \tuint8_t padding[64];\n #endif\n \tuint8_t pkt_info;\n-\tuint8_t rsvd0[11];\n+\tuint8_t rsvd0;\n+\tuint16_t wqe_id;\n+\tuint8_t rsvd3[8];\n \tuint32_t rx_hash_res;\n \tuint8_t rx_hash_type;\n \tuint8_t rsvd1[11];\n@@ -285,7 +287,10 @@ struct mlx5_cqe {\n struct mlx5_mini_cqe8 {\n \tunion {\n \t\tuint32_t rx_hash_result;\n-\t\tuint32_t checksum;\n+\t\tstruct {\n+\t\t\tuint16_t checksum;\n+\t\t\tuint16_t stride_idx;\n+\t\t};\n \t\tstruct {\n \t\t\tuint16_t wqe_counter;\n \t\t\tuint8_t  s_wqe_opcode;\ndiff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h\nindex f53bb43c3..04a432adf 100644\n--- a/drivers/net/mlx5/mlx5_rxtx.h\n+++ b/drivers/net/mlx5/mlx5_rxtx.h\n@@ -362,7 +362,7 @@ static inline int\n check_cqe_seen(volatile struct mlx5_cqe *cqe)\n {\n \tstatic const uint8_t magic[] = \"seen\";\n-\tvolatile uint8_t (*buf)[sizeof(cqe->rsvd0)] = &cqe->rsvd0;\n+\tvolatile uint8_t (*buf)[sizeof(cqe->rsvd1)] = &cqe->rsvd1;\n \tint ret = 1;\n \tunsigned int i;\n \n",
    "prefixes": [
        "v2",
        "2/5"
    ]
}