Show a patch.

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

{
    "id": 73587,
    "url": "https://patches.dpdk.org/api/patches/73587/",
    "web_url": "https://patches.dpdk.org/patch/73587/",
    "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": "<20200709073452.948894-6-parav@mellanox.com>",
    "date": "2020-07-09T07:34:48",
    "name": "[v5,5/9] common/mlx5: use common rte priority",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "90d817a0da4dfff054b60bf367f213c81b0052e4",
    "submitter": {
        "id": 1780,
        "url": "https://patches.dpdk.org/api/people/1780/",
        "name": "Parav Pandit",
        "email": "parav@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/73587/mbox/",
    "series": [
        {
            "id": 10912,
            "url": "https://patches.dpdk.org/api/series/10912/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10912",
            "date": "2020-07-09T07:34:43",
            "name": "Improve mlx5 PMD driver framework for multiple classes",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/10912/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73587/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73587/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "In-Reply-To": "<20200709073452.948894-1-parav@mellanox.com>",
        "X-MS-Exchange-CrossTenant-AuthSource": "DB7PR05MB4876.eurprd05.prod.outlook.com",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-Microsoft-Antispam-Message-Info": "\n NvyXhZ9vmwKlH01PDB30bEIp3mDCDGE6672ZmpbX9uSAZx1h8WXIgtjUyDtN5fzi5ipMELaXlz/CDAmfdIi9dVf72P7QexwYu19sEHWknxC08r8uSAeymqivcqHwbtz7JJbTy/AS7mA7rwVdftclMs58/JJLEHpqeCr0T054E4tEFmElzhYmTIs5BTGf37rNI4NEIXVtgiUqwFRty7zcVdNmdf0hTghhWI1TQc4NZLRuTi91uo/EezszLdLEuKo8ZGDRBMbNacGNvmaFJoLRYUHmFtMUyEEbIQvV180vMVG+hbFGKsr8WO1gX6ZYVGQDGCT15/3G7ocZPNo7YWEW9A==",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 7DF6CA0526;\n\tThu,  9 Jul 2020 09:36:19 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C58561DCC9;\n\tThu,  9 Jul 2020 09:35:57 +0200 (CEST)",
            "from EUR01-DB5-obe.outbound.protection.outlook.com\n (mail-eopbgr150058.outbound.protection.outlook.com [40.107.15.58])\n by dpdk.org (Postfix) with ESMTP id 0F2E51DCC3\n for <dev@dpdk.org>; Thu,  9 Jul 2020 09:35:56 +0200 (CEST)",
            "from DB7PR05MB4876.eurprd05.prod.outlook.com (2603:10a6:10:1d::32)\n by DB7PR05MB5084.eurprd05.prod.outlook.com (2603:10a6:10:15::15) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.28; Thu, 9 Jul\n 2020 07:35:55 +0000",
            "from DB7PR05MB4876.eurprd05.prod.outlook.com\n ([fe80::8cb3:93cb:c3ef:4293]) by DB7PR05MB4876.eurprd05.prod.outlook.com\n ([fe80::8cb3:93cb:c3ef:4293%5]) with mapi id 15.20.3174.022; Thu, 9 Jul 2020\n 07:35:55 +0000",
            "from sw-mtx-036.mtx.labs.mlnx (208.176.44.194) by\n SN4PR0501CA0104.namprd05.prod.outlook.com (2603:10b6:803:42::21) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.9 via Frontend\n Transport; Thu, 9 Jul 2020 07:35:49 +0000"
        ],
        "References": "<20200610171728.89-2-parav@mellanox.com>\n <20200709073452.948894-1-parav@mellanox.com>",
        "X-MS-Office365-Filtering-Correlation-Id": "4f75d2c5-f63c-476f-27b5-08d823dab443",
        "MIME-Version": "1.0",
        "X-MS-Exchange-MessageSentRepresentingType": "1",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "09 Jul 2020 07:35:55.0263 (UTC)",
        "X-ClientProxiedBy": "SN4PR0501CA0104.namprd05.prod.outlook.com\n (2603:10b6:803:42::21) To DB7PR05MB4876.eurprd05.prod.outlook.com\n (2603:10a6:10:1d::32)",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=0+SzAwCK5Nqi+rMpg95/rjbHd2uzpqcYvJO6IFKsUHo=;\n b=iuLXkc5F9uoQviWwBXCEwbPshRyrt/AZIonvmxL9u9Hv98ADCthowyA6jmGSgVmZNtDmiAnrbTUQGiOFa7f3Jp2OV8Lb1QlMwpY/mU3BDYuXJDiHwHQmqptewkUkwY8scif8HogZHeAMglMD26nP8Hs1NpKz8g9oRIbXy6g4fFSu7SZg1kf4OHKmseZureh8lsMMBg8MF4t2gIwsiYyjxEzpptKP1+fakJt3aIzRv0SAtpUBPKGqa8WG7ALerNEkeY4MnObmSQPe0McTU1X810104d7YRxSwViAB/hTSlvWEjOkbnAi6Y2pCfyHfIRtwGAn/4Jdq+mABwGj6KtkUBA==",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-MS-Exchange-AntiSpam-MessageData": "\n ropf0x+MdqurcuLBXwoqRL/UTAO21jiO4OWGKlIW2UsYkA5pTzCiDWYRtBgy+V924rmU1esjxXvFKvGQtkeIccYtmGihFZN9QQ3OltNs2x4XSnEeIjEiJklt7kGsRA3Iz9gD/Z1BkeIkAjtAO6nyvoc9gUA4p8ZrxV0D+6hKeKz7dYBQjhe6dNc7gts3dzWohAtJxBC/v8Kb8QfXH6Ik3pgVzsfYAfxKpNPuJlmLyXUwbGmDmNfo5VhoTVCivgAx2r5Xb3X5Xdov2nGHn7oWT+I/dRmK4H2osFz2Lb0jGfLLpyU50SVdck1zYgH3JnGGgsF8Y5eQYu4a5X+4tprp1REBzNEK2IAk8c8X9PVkcnoV4zRhDE//hYS1xoVHvt9YERZZ9ZW7jBKZva2XezCDNdGouROB6+GtlmvjpvEvya/JvkCPU3a4EfI2bQkqJji31R3aRSKoZo5a/jcjcBJ7APmnUMIDcoFGCVtkC3AeobB0EFhFQaAzMG8K5jjwz7H8",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Content-Type": "text/plain",
        "X-MS-Exchange-Transport-Forked": "True",
        "X-Microsoft-Antispam": "BCL:0;",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "To": "dev@dpdk.org, grive@u256.net, ferruh.yigit@intel.com, thomas@monjalon.net",
        "X-MS-Oob-TLC-OOBClassifiers": "OLM:3826;",
        "X-LD-Processed": "a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd,ExtAddr",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Originating-IP": "[208.176.44.194]",
        "X-MS-TrafficTypeDiagnostic": "DB7PR05MB5084:",
        "Cc": "rasland@mellanox.com, orika@mellanox.com, matan@mellanox.com,\n joyce.kong@arm.com, Parav Pandit <parav@mellanox.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Date": "Thu,  9 Jul 2020 10:34:48 +0300",
        "X-Microsoft-Antispam-PRVS": "\n <DB7PR05MB5084724CA6640BBDBE2B7341D1640@DB7PR05MB5084.eurprd05.prod.outlook.com>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com;\n dkim=pass header.d=mellanox.com; arc=none",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 4f75d2c5-f63c-476f-27b5-08d823dab443",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com;\n s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=0+SzAwCK5Nqi+rMpg95/rjbHd2uzpqcYvJO6IFKsUHo=;\n b=jLu0FuBHSQ7lx0VVVT1KMN5otJpcraIPrn+f3K2D0PX5TzM9CpJ3bQyvfYxStpSNtdKmE3nakihzIuvBeDppgVjkpEygbbUJD9SFnnxnMEaEKCRYSpSNsCKy0n8TMwW5Lt5jvCcwYHiftFxVl8klXePEPbQEqxrikT9FPhiolsc=",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=K3lZQo18U+7PqoqchZi/3pb5aSJczt7aDbhupbwbUUEk23bsjkfyeMry0Yyf/09UZYUQwBphEyBYYZzKJKPs6lE5juq2IjOztMs+WNRRQLW8Nh4nfCjan6KQ8yYPrs5fS+/7O+vTPZ7MZvRgS4U8528Sm2SUBfljMcbKfpVa56UGAdDTy/fJ5Z7wpz6JNzq2ucbrXzLRskicprLEt7DCuAhLds0wQLcgPIRGSQcaCeAmDGIJpUclRkO4Hib30Z0HqKBx5AvcZlHFnbbeLopwWlBndn1B20Ld9HG8aLPezCxXx2RZG62IdNY7RxBGTbsJzw5EtP/3dtj+Xj8hlfeO8Q==",
        "Message-Id": "<20200709073452.948894-6-parav@mellanox.com>",
        "Authentication-Results": "dpdk.org; dkim=none (message not signed)\n header.d=none;dpdk.org; dmarc=none action=none header.from=mellanox.com;",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Content-Transfer-Encoding": "8bit",
        "From": "Parav Pandit <parav@mellanox.com>",
        "X-MS-Exchange-CrossTenant-AuthAs": "Internal",
        "X-Mailer": [
            "git-send-email 2.26.2",
            "git-send-email 2.26.2"
        ],
        "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",
        "X-MS-Exchange-CrossTenant-UserPrincipalName": "\n s/6IbozBBtFozOVr1ugXYOmKtzk5ciUp/IX9psdWLMt8+ljEshRyXY7PYAwI+6uxcF9GIjRa/LlYdClWxXHR8Q==",
        "Precedence": "list",
        "X-MS-Exchange-CrossTenant-MailboxType": "HOSTED",
        "X-Forefront-PRVS": "04599F3534",
        "X-BeenThere": "dev@dpdk.org",
        "Subject": "[dpdk-dev] [PATCH v5 5/9] common/mlx5: use common rte priority",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "DB7PR05MB5084",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Forefront-Antispam-Report": "CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:DB7PR05MB4876.eurprd05.prod.outlook.com; PTR:; CAT:NONE;\n SFTY:;\n SFS:(4636009)(396003)(366004)(136003)(39860400002)(346002)(376002)(2906002)(16526019)(186003)(26005)(6506007)(6512007)(52116002)(107886003)(5660300002)(1076003)(4326008)(316002)(83380400001)(36756003)(478600001)(86362001)(6486002)(66556008)(66476007)(956004)(2616005)(8936002)(8676002)(66946007);\n DIR:OUT; SFP:1101;"
    },
    "content": "Use RTE_PRIO_COMMON for mlx5 common initialization and use\nRTE_PRIO_CLASS for mlx5 net, vdpa PMDs.\n\nThis enables to do following initialization sequence.\n\n(a) Initialize bus (say pci)\n(b) Initialize common code of a driver (mlx5_common)\n(c) Register mlx5 class PMDs (mlx5 net, mlx5 vdpa)\nInformation registered by these PMDs is used by mlx5_bus_pci PMD.\nThis mlx5 class PMDs should not confused with rte_class.\n(d) Register mlx5 PCI bus PMD\n\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nAcked-by: Matan Azrad <matan@mellanox.com>\n---\n drivers/common/mlx5/mlx5_common.c | 2 +-\n drivers/net/mlx5/mlx5.c           | 2 +-\n drivers/vdpa/mlx5/mlx5_vdpa.c     | 2 +-\n 3 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/common/mlx5/mlx5_common.c b/drivers/common/mlx5/mlx5_common.c\nindex 693e2c68c..0ce5e4db1 100644\n--- a/drivers/common/mlx5/mlx5_common.c\n+++ b/drivers/common/mlx5/mlx5_common.c\n@@ -92,7 +92,7 @@ RTE_INIT_PRIO(mlx5_log_init, LOG)\n /**\n  * Initialization routine for run-time dependency on glue library.\n  */\n-RTE_INIT_PRIO(mlx5_glue_init, CLASS)\n+RTE_INIT_PRIO(mlx5_glue_init, COMMON)\n {\n \tmlx5_glue_constructor();\n }\ndiff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c\nindex 07c6addd5..bb10c63bb 100644\n--- a/drivers/net/mlx5/mlx5.c\n+++ b/drivers/net/mlx5/mlx5.c\n@@ -1907,7 +1907,7 @@ struct rte_pci_driver mlx5_driver = {\n /**\n  * Driver initialization routine.\n  */\n-RTE_INIT(rte_mlx5_pmd_init)\n+RTE_INIT_PRIO(rte_mlx5_pmd_init, CLASS)\n {\n \t/* Initialize driver log type. */\n \tmlx5_logtype = rte_log_register(\"pmd.net.mlx5\");\ndiff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c b/drivers/vdpa/mlx5/mlx5_vdpa.c\nindex dbd36ab0c..f043166ef 100644\n--- a/drivers/vdpa/mlx5/mlx5_vdpa.c\n+++ b/drivers/vdpa/mlx5/mlx5_vdpa.c\n@@ -842,7 +842,7 @@ static struct rte_pci_driver mlx5_vdpa_driver = {\n /**\n  * Driver initialization routine.\n  */\n-RTE_INIT(rte_mlx5_vdpa_init)\n+RTE_INIT_PRIO(rte_mlx5_vdpa_init, CLASS)\n {\n \t/* Initialize common log type. */\n \tmlx5_vdpa_logtype = rte_log_register(\"pmd.vdpa.mlx5\");\n",
    "prefixes": [
        "v5",
        "5/9"
    ]
}