Show a patch.

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

{
    "id": 73584,
    "url": "https://patches.dpdk.org/api/patches/73584/",
    "web_url": "https://patches.dpdk.org/patch/73584/",
    "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-3-parav@mellanox.com>",
    "date": "2020-07-09T07:34:45",
    "name": "[v5,2/9] eal: introduce RTE common initialization level",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "53dc4b51a925fc93ad0a5722278d968252d0477d",
    "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/73584/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/73584/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73584/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 /D+N26N4cKMD5WfnmypjfckrVv3jNd9d8eljFJNd6c96cgJbol2KrRshQqEjNSiMlNjfWRnXRUVXAXlfsf/JqX16j5aOyNuUf/znsyCKmtkv2K92a4OkzOcvkx/0lWnfSjI/mIfuXPWgQ59SH/6/yM0WfN0EaavKshwBw9q2Ord1742txHcqms6R9fn9KeuZjBfMlAXqLNjYR7fcKg/5vtwbZM3WB+oIJ1ZFFSBcq9lrO5Wlno4V1rFX3I2cIYLqxTWkxrsJCYMWZBiNplCtSMUTVhZjnKu7ssR8Ye8E2fCTRrLUlaf4YPHBj4e226nP",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 18012A0526;\n\tThu,  9 Jul 2020 09:35:48 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9EA9F1DC92;\n\tThu,  9 Jul 2020 09:35:44 +0200 (CEST)",
            "from EUR05-VI1-obe.outbound.protection.outlook.com\n (mail-vi1eur05on2044.outbound.protection.outlook.com [40.107.21.44])\n by dpdk.org (Postfix) with ESMTP id AA1741DC90\n for <dev@dpdk.org>; Thu,  9 Jul 2020 09:35:42 +0200 (CEST)",
            "from DB7PR05MB4876.eurprd05.prod.outlook.com (2603:10a6:10:1d::32)\n by DBAPR05MB6936.eurprd05.prod.outlook.com (2603:10a6:10:18f::10) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.23; Thu, 9 Jul\n 2020 07:35:42 +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:42 +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:39 +0000"
        ],
        "References": "<20200610171728.89-2-parav@mellanox.com>\n <20200709073452.948894-1-parav@mellanox.com>",
        "X-MS-Office365-Filtering-Correlation-Id": "0f61e8f9-2fdd-4e56-9123-08d823daae6d",
        "MIME-Version": "1.0",
        "X-MS-Exchange-MessageSentRepresentingType": "1",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "09 Jul 2020 07:35:41.8718 (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=u8+VAkRbLivlLv+kZYmk0wYzc79x57Szokxjs7EpOUg=;\n b=nz08qjLEYXaDpVAoL28qVjHzXDqqRykZgnf4MeodWlXl/Jtb7s40/UtJDkWITtkJls6B1H3JP8Ufh0UFBwArH5kmqXWZvVnslwOLVUtarVweNPktQYWi8LRWCpHn0M+zOFE3teR5/1rzgy9PZERZ6CVO1K5sl/uH1Bi3JY62oVTWjSz0ZX/qhJG9V7KZzAYqANDnUhGRjrrkiEpKmvpHTqEmsTBuR1En0KIjGVIDzLAIAdydNNDMtO6DgHf7B+c2LJq2tlsd790D1lJ1Dk1/Jdxf1lbv74sGUPTBEScFUXmsbFiJsI6VaXmOv46ncMtbjsBASPIXCm2kEEx8HV+FIw==",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-MS-Exchange-AntiSpam-MessageData": "\n dMSvYTS3PX7Q/mBjWug7Vp1hNdplt9tQrb0gPlWLN3Bq7AcGkq0XefUvwhkVlHfmTpc82OwE0MzRZDwn8zMvJbFRFpXLwJBcmdgIW/7yKlb1zSUcV7bdAqUp7JxPL1EoNA7D5mOxE05NmUVo5tPmm7uYiYUf23TcnDXGWIiZ7ou+8lbOzxDA7tmIu3QsMe6+rmoa5NDJ9XjI7TymkBRLwM1YQjQ6/wsagAolxBYcRGYwPyr8qcUfLYqrhiJOD8N/yUPY8VNqvnxuW2fh/0roYmo+xZ1X0t4MUOcdGTy8yG4/ZzFDbVwKQ1LpI5lLUEkNv6U6atMmdRH0qLtmjtBYCazgeIMq7amxAFGKMQYxcdwaRIZCcW1N/gBLWJH+wAsSaWUnclYXCELGm3/ei4XBIJpXhjH7Awcf2pNi6dyVZ+ZuB8f0I6hUPNik1jIrToRuK6E+cOd8pBK8mb4k6KrUZxAgdhYHl2CNEvQ7rwZlT1ProCbuyd5FULNnTdKvQAtC",
        "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:5797;",
        "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": "DBAPR05MB6936:",
        "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:45 +0300",
        "X-Microsoft-Antispam-PRVS": "\n <DBAPR05MB69361A19A39D676703D022E1D1640@DBAPR05MB6936.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 0f61e8f9-2fdd-4e56-9123-08d823daae6d",
        "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=u8+VAkRbLivlLv+kZYmk0wYzc79x57Szokxjs7EpOUg=;\n b=awHTnpdsE6HX/GtaTGFcfVncCFkdXCC/RflFPkljgF2JHW4N5AD+H9JEHuFCNa+rezF5Z9wMtc//hx1cxbOUjUBXni3XZqbY8RWFhatXnJhy5txM6Y/hSj3p0BZiiIEnhLl3AGgYFr70XqGw1SBTT66mi5gW11P9BSgzMgqBZZY=",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=mkHCIO/0j7dTO4Bc3AfYf6CTsDxyUXL28P8eGDBd7v3EDZ1CVTzb+ogCTfN1YwyFx04kvDDH3A9NnXGr50p4J67CbMVWGUwR5h9W9W9c0wuQK3c4IgoW5ofPrcp3xd5cg7NFVklW9r4QjhQQ3/BORFbDNh8HjjznvTmAGUEU5zfzF7t/VHkPARpA6hpp81C9HQqrV3RZh9br/ke6IHchTZvqNyMvdP0A+0U1SmZ7PT0LwQ86hjYSygcBu6Ldqb6RDRZJj6LxVaQcVfQVeeLs/6cNcBj9qUIVdIHMrhAKO2kEaoENLQO31LKQzrq/j3SXD2deDhmKwiR1095oqY3x7w==",
        "Message-Id": "<20200709073452.948894-3-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 AaT/y7Z/3JntAf0Epdv0PQXWUFDvvm12YPnqIPZ+DpMf9TG/zwEeLFEYyE0ZV97fDg6F9aNE5WE6VLq2g7DiZw==",
        "Precedence": "list",
        "X-MS-Exchange-CrossTenant-MailboxType": "HOSTED",
        "X-Forefront-PRVS": "04599F3534",
        "X-BeenThere": "dev@dpdk.org",
        "Subject": "[dpdk-dev] [PATCH v5 2/9] eal: introduce RTE common initialization\n\tlevel",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "DBAPR05MB6936",
        "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)(366004)(136003)(396003)(39860400002)(346002)(376002)(66476007)(36756003)(4326008)(66556008)(1076003)(6486002)(6506007)(66946007)(6666004)(16526019)(186003)(26005)(52116002)(107886003)(5660300002)(2906002)(478600001)(8936002)(8676002)(956004)(2616005)(6512007)(86362001)(316002);\n DIR:OUT; SFP:1101;"
    },
    "content": "Currently mlx5_common uses CLASS priority to initialize\ncommon code before initializing the PMD.\nHowever mlx5_common is not really a class, it is the pre-initialization\ncode needed for the PMDs.\n\nIn subsequent patch a needed initialization sequence is:\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\nHence, introduce a new RTE priority level RTE_PRIO_COMMON which\ncan be used for common initialization and RTE_PRIO_CLASS by mlx5 PMDs\nfor class driver initialization.\n\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nAcked-by: Matan Azrad <matan@mellanox.com>\n---\nChangelog:\nv2->v3:\n - new patch\n---\n lib/librte_eal/include/rte_common.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_eal/include/rte_common.h b/lib/librte_eal/include/rte_common.h\nindex 0843ce69e..d4653ea77 100644\n--- a/lib/librte_eal/include/rte_common.h\n+++ b/lib/librte_eal/include/rte_common.h\n@@ -126,6 +126,7 @@ typedef uint16_t unaligned_uint16_t;\n \n #define RTE_PRIORITY_LOG 101\n #define RTE_PRIORITY_BUS 110\n+#define RTE_PRIORITY_COMMON 119\n #define RTE_PRIORITY_CLASS 120\n #define RTE_PRIORITY_LAST 65535\n \n",
    "prefixes": [
        "v5",
        "2/9"
    ]
}