Show a patch.

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

{
    "id": 41569,
    "url": "http://patches.dpdk.org/api/patches/41569/",
    "web_url": "http://patches.dpdk.org/patch/41569/",
    "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-4-yskoh@mellanox.com>",
    "date": "2018-06-26T12:39:23",
    "name": "[v2,3/5] net/mlx5: add warning message for Multi-Packet RQ",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "08d9ce5794f040321de00364eab17199d26cb6d3",
    "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/41569/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/41569/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41569/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-4-yskoh@mellanox.com>",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-Microsoft-Antispam-Message-Info": "Q0hv5LkagDIqhjXU6IwkbFx8v7gGoriQ/8rr3s+bgtk7kzbCOgKZM/4LG8Lo3uETRc9LEKrW+yQ7WkrRN9XStdchRDvX/NVGK1rwPvGycf2KcQhuTvQ4Ll+HUYd1UVmrkPybJvjhOLFO4t+IBe19yew9ohgXAdgv39Q9IUnezvDRcByLhf1UhWpH1Y5QnHXz0lH7m4MyxApukmBaWxkC174ID6CCUBMDaVYVS9jR9VSgiTzouCqbJRSaEdNCdnfscy+AIIumzI6ay3gJMNiX0at1B0B6nNRqGV+axhfOqXxTA8kvgYHDCM+8RIblW67f10iveYxWpY41Ik4HwMkqi6IwPK1Y8PxZxA1sbcVZXvg=",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6775E1B59E;\n\tTue, 26 Jun 2018 14:40:09 +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 D59D31B57F\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:56 +0000"
        ],
        "References": "<20180626123925.37439-1-yskoh@mellanox.com>",
        "X-MS-Office365-Filtering-Correlation-Id": "0c9d2499-99b6-4e61-c89c-08d5db61ed58",
        "MIME-Version": "1.0",
        "From": "Yongseok Koh <yskoh@mellanox.com>",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "26 Jun 2018 12:39:56.9059\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:xNShbep+MInC1USnxXIgujJEebbLYbqVq6NQVrQYzwqdrfFJ/YWLjzafbI+BZ4BYLLUoALGU//MqlI0E+l7FKsSnB9j3oGGn7CmHXFsiC6HnGNsO78HRNDZ3yjn12DuZTuEQfFwgBcAfOhRC1np5UZH9pOcqodL/QhOmyWDNyGLpoedtrv5o1HaEi6dy6iro9QxsClDRkQ7mgCi5dgMy6XWjRbH+8rMS8SmTgQuLsQfgaz+evLzTIw0ugEuH9a1c;\n\t25:xGScUcS6QRImiE4f6OEhU45A9O0t4nLfCZAZTkz/wWLZsob2uE43VWDVLFwjGisWYCVrURidVSHi31GhYo9v6dKaMb3d9Vkv66/36GR3/8mcopsZ4j5vkrzdh7PejQ+WYyi1f1mblkBg7NoQb7z7isLERnEPlKNIR63AwaqUt4kLBs1eM/9LmFjP2o6icBAcsSXS1PDfMpHLnb4WmveAcb7pwtJb0/PK/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9MViq/Vcx4oMqUlZ++MfNyb1NFWTkvYGh8GywRp1bJP9BawIsLQQgwKxvc7UvQexnHLnBJRBpqpD4ZSwV2hXQEKxguBvo=",
            "1; HE1PR0501MB2043;\n\t7:A2ufTaAiQaepRd9qwq05gBU+I9VoMgNkVjM4b30lwFUzd1/wUGqlDhKVQjEu2f1nIbvBVBMtyDHzcNBm6Qhe56/Rg9GJCqZ1BVQxh2Q0oOAjz28X32VpPAR1LA+P8VU1t5RLjiDyeTzvbUxCgHeCOAGzwKAy+SYTiNz9Gh2P5LyQ2ugVIDcoyt0ffeMWeeMi7VKzDuk5Hnms1tA9EExSeCRjvErXJBuJdrQQda1MWNlfOj0MDxfz6/D3paJ2BVIy"
        ],
        "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:23 -0700",
        "X-Microsoft-Antispam-PRVS": "<HE1PR0501MB2043E59E20C2F07F43CCDA6FC3490@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": "0c9d2499-99b6-4e61-c89c-08d5db61ed58",
        "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=q8HEK9RyZQlwvgukjVXRuD+J2WdRY38cQ77XfJZjgeE=;\n\tb=HOtCKefWOyZkV4qLaVFGcc5iw7uMblrpWNX2agdbKSbT8TNL3J++D6K0B0qcS9c+kBgcesyKL/84UeE5gKscXLmo7uOq3fjOEsTaIewkqrRAtcIvtuMlp4FZK/ewYlhHJ3buCr9L6R/pBxcLX4CoRYJbZ9E/sVtpiMfqc8tkU2s=",
        "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 3/5] net/mlx5: add warning message for\n\tMulti-Packet RQ",
        "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)(575784001)(50466002)(486006)(15650500001)(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)(14444005);\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": "If Multi-Packet RQ is enabled but not supported by device or\nkernel/library, print out a warning message.\n\nSigned-off-by: Yongseok Koh <yskoh@mellanox.com>\n---\n drivers/net/mlx5/mlx5.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c\nindex 49b400503..f0e6ed726 100644\n--- a/drivers/net/mlx5/mlx5.c\n+++ b/drivers/net/mlx5/mlx5.c\n@@ -1024,8 +1024,7 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,\n \t\t\tDRV_LOG(WARNING, \"Rx CQE compression isn't supported\");\n \t\t\tconfig.cqe_comp = 0;\n \t\t}\n-\t\tconfig.mprq.enabled = config.mprq.enabled && mprq;\n-\t\tif (config.mprq.enabled) {\n+\t\tif (config.mprq.enabled && mprq) {\n \t\t\tif (config.mprq.stride_num_n > mprq_max_stride_num_n ||\n \t\t\t    config.mprq.stride_num_n < mprq_min_stride_num_n) {\n \t\t\t\tconfig.mprq.stride_num_n =\n@@ -1039,6 +1038,9 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,\n \t\t\t}\n \t\t\tconfig.mprq.min_stride_size_n = mprq_min_stride_size_n;\n \t\t\tconfig.mprq.max_stride_size_n = mprq_max_stride_size_n;\n+\t\t} else if (config.mprq.enabled && !mprq) {\n+\t\t\tDRV_LOG(WARNING, \"Multi-Packet RQ isn't supported\");\n+\t\t\tconfig.mprq.enabled = 0;\n \t\t}\n \t\teth_dev = rte_eth_dev_allocate(name);\n \t\tif (eth_dev == NULL) {\n",
    "prefixes": [
        "v2",
        "3/5"
    ]
}