Show a patch.

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

{
    "id": 74691,
    "url": "https://patches.dpdk.org/api/patches/74691/",
    "web_url": "https://patches.dpdk.org/patch/74691/",
    "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": "<20200723200910.376581-2-parav@mellanox.com>",
    "date": "2020-07-23T20:09:01",
    "name": "[v8,01/10] eal: introduce macro for bit definition",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "51a75289158ccc2b587b0a933535897873bf1e02",
    "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/74691/mbox/",
    "series": [
        {
            "id": 11259,
            "url": "https://patches.dpdk.org/api/series/11259/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11259",
            "date": "2020-07-23T20:09:00",
            "name": "Improve mlx5 PMD driver framework for multiple classes",
            "version": 8,
            "mbox": "https://patches.dpdk.org/series/11259/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74691/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/74691/checks/",
    "tags": {},
    "headers": {
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-Mailman-Version": "2.1.15",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "DB7PR05MB5558",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-MS-Exchange-CrossTenant-UserPrincipalName": "\n fpYJIwp/uFema/hk0k7Ojn3QiWRLie17gyxrfgoA+s8dYinTO2iRgcXFpjdXjnzT/cvgk4ZjUd2ETE2QS2rT1w==",
        "Precedence": "list",
        "X-MS-Exchange-Transport-Forked": "True",
        "X-BeenThere": "dev@dpdk.org",
        "X-LD-Processed": "a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd,ExtAddr",
        "X-ClientProxiedBy": "DM6PR03CA0009.namprd03.prod.outlook.com\n (2603:10b6:5:40::22) To DB7PR05MB4876.eurprd05.prod.outlook.com\n (2603:10a6:10:1d::32)",
        "Content-Transfer-Encoding": "8bit",
        "X-MS-Exchange-CrossTenant-AuthAs": "Internal",
        "X-MS-Exchange-AntiSpam-MessageData": "\n YFun4DOMUbDWtLO27EPas3BKdeIZuS+6/myT+KUrHF5MazpHZWRXlM7z4pxvaJpwxQRXZ76v86B7iwRXszyVVfcY5JbMxLclXH+7pKwIeaUJOOwxXSvUfb7QJbEifk/llIG/yzNlE7ociMBbF/clV+/o5at6gx60iMLrHfymc4fDsfNQX1hnpOU8PgX84NmUuKR4tAOUp6gUF7R8U4aDBjPLBcrbBr/7sFN4G5GlKftdhvIJFzg6rUtsWxqD4/RhvPS3Bc3mmJxnyjT9dRQvx6oR/VJr4Q30I0+17pMh2iUOzdFGTKjXa2x8+bVKzslQVLkZJv2t2aMxNKqwOQgw72rDrmwyu8crCOKZjaDl0tNmEZ7EWsV42KJiSWgog68JcHpOHgy2FIBL5qen/6SqMl3UoAF7kbPalzJksTHfe8iD3kXGG8KL+cKwF8JPO1NnU0damZ4UFBB4on8HaeJIsTdoCxUwKAGyWEF4bl3AiXS71ohx5DAULFA4AQkjIuzs",
        "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 155E5A0518;\n\tThu, 23 Jul 2020 22:09:46 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 406141C001;\n\tThu, 23 Jul 2020 22:09:36 +0200 (CEST)",
            "from EUR04-VI1-obe.outbound.protection.outlook.com\n (mail-eopbgr80083.outbound.protection.outlook.com [40.107.8.83])\n by dpdk.org (Postfix) with ESMTP id 7E6C41BFEE\n for <dev@dpdk.org>; Thu, 23 Jul 2020 22:09:33 +0200 (CEST)",
            "from DB7PR05MB4876.eurprd05.prod.outlook.com (2603:10a6:10:1d::32)\n by DB7PR05MB5558.eurprd05.prod.outlook.com (2603:10a6:10:5c::21) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.20; Thu, 23 Jul\n 2020 20:09:32 +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.3216.022; Thu, 23 Jul 2020\n 20:09:32 +0000",
            "from sw-mtx-036.mtx.labs.mlnx (208.176.44.194) by\n DM6PR03CA0009.namprd03.prod.outlook.com (2603:10b6:5:40::22) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.3216.21 via Frontend Transport; Thu, 23 Jul 2020 20:09:30 +0000"
        ],
        "Subject": "[dpdk-dev] [PATCH v8 01/10] eal: introduce macro for bit definition",
        "X-MS-PublicTrafficType": "Email",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Message-Id": "<20200723200910.376581-2-parav@mellanox.com>",
        "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=3Ly9h1mQuauz3VX/u1iQIlVYZ3tpQhYiVkJlTZ8VXos=;\n b=jxZNvbZpFP+d2RO4gR53nd1+HRvU4R1A+7XwZ1mWBppZDe+L0M8ABr30HXnA+ToLgT6Zhq2vDbdFYKOHW3iIMlgAxCfQ7TRJAyxDRwEDQRSUsgAJkJuULu9dLPBHWYy5jvrsykTHlVHMSyLWXlx2vFqTIJKAuWwVUHHHH3IkdX0=",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "To": "dev@dpdk.org, grive@u256.net, ferruh.yigit@intel.com, thomas@monjalon.net",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "From": "Parav Pandit <parav@mellanox.com>",
        "X-MS-Exchange-CrossTenant-MailboxType": "HOSTED",
        "Cc": "rasland@mellanox.com, orika@mellanox.com, matan@mellanox.com,\n joyce.kong@arm.com, Parav Pandit <parav@mellanox.com>, =?utf-8?q?Morten_Br?=\n\t=?utf-8?q?=C3=B8rup?= <mb@smartsharesystems.com>",
        "X-MS-Exchange-CrossTenant-AuthSource": "DB7PR05MB4876.eurprd05.prod.outlook.com",
        "X-MS-TrafficTypeDiagnostic": "DB7PR05MB5558:",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "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",
        "Authentication-Results": "dpdk.org; dkim=none (message not signed)\n header.d=none;dpdk.org; dmarc=none action=none header.from=mellanox.com;",
        "X-OriginatorOrg": "Mellanox.com",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "X-Microsoft-Antispam-PRVS": "\n <DB7PR05MB55588C6E387D36B590CE7681D1760@DB7PR05MB5558.eurprd05.prod.outlook.com>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "MIME-Version": "1.0",
        "In-Reply-To": "<20200723200910.376581-1-parav@mellanox.com>",
        "X-MS-Exchange-MessageSentRepresentingType": "1",
        "References": "<20200610171728.89-2-parav@mellanox.com>\n <20200723200910.376581-1-parav@mellanox.com>",
        "Content-Type": "text/plain; charset=UTF-8",
        "X-MS-Oob-TLC-OOBClassifiers": "OLM:843;",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-Originating-IP": "[208.176.44.194]",
        "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)(376002)(346002)(366004)(396003)(136003)(39860400002)(6506007)(8676002)(8936002)(26005)(52116002)(2906002)(54906003)(4326008)(478600001)(66946007)(66476007)(66556008)(36756003)(5660300002)(2616005)(6486002)(86362001)(956004)(4744005)(1076003)(6512007)(6666004)(186003)(16526019)(316002);\n DIR:OUT; SFP:1101;",
        "X-Mailer": [
            "git-send-email 2.26.2",
            "git-send-email 2.26.2"
        ],
        "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=3Ly9h1mQuauz3VX/u1iQIlVYZ3tpQhYiVkJlTZ8VXos=;\n b=VCsMQFwE1s3AYm5o0cZaSBf4wJGaTDIhjg+DE9tl7Hk2nt049KTk1ou/sLyxxLyr05NxtrPuzyf/+59nJtETkmxzsdEKs3XuzS1vIDw0nXeGr3NozjZCUtFC61nljl7zcMao4OKgXmofzI4BhF7JQiinhAC+l+au3YFKQb31DdJaAEp2pmycsE9+RNX2UeVj1ptIgmkJ/AkEMfPjfQS5/VZd70Nu+aiwEZDNPtWEu+H25ul/XjYP92NgT9mwYK7jASWQpzwTXrAQQma1sKk5cGmorQGl5ifRs0FIPwRwklO3x4osUzCPdu31slgAZsu9gHnill0WIl67BRgOZW1u/Q==",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 88006555-0ee8-4d3c-010e-08d82f444fbe",
        "Date": "Thu, 23 Jul 2020 23:09:01 +0300",
        "X-MS-Office365-Filtering-Correlation-Id": "88006555-0ee8-4d3c-010e-08d82f444fbe",
        "X-Microsoft-Antispam-Message-Info": "\n M3wWyFs1PfZYPEysB9HQDxjPJhR37LqW+bViN913ZaC6Zr/0Ojg/VsmFXBmB9s8C+vw14fwtokrRNdzFqeo676WktWfTgHD90kOANGjaxkes+USE4XRTsqvoiAamQ+ibcPPPGWGiIgdCEgzfKqIINE7M/JjoY+6S8ytflDr01R9HOQmRmre2jabS+XfQXKoavJDqc5eEDvZPTkJ/3UPEOfcKCI5uQohQJ3WcKCOAsYburO4fpA0fXoOiZiYbJPmfdv4ZenDLgQ+JH8zJRi4t24pts6bICnXfddCdrl51WJU98TnBcym84nHdfS4T9cA800Gct1J7Wc59X2FeyAWyfQ==",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-CrossTenant-Id": "a652971c-7d2e-4d9b-a6a4-d149256f461b",
        "X-Microsoft-Antispam": "BCL:0;",
        "Errors-To": "dev-bounces@dpdk.org",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=IkxsN7IKPHCX1HlGErObBddZX0P0zMUWpLl4r/e6aRR3yTK1okqU8KZ5bi+hHWkWijhTtsAo2wAA+h39N6jDPsaaDMKfNBheWNPrBx0YO2L7ahmxi8QE2bk+s5zZW8qb2pvDa1tYGEHPFOnp3AQFX4FaYjCr0uAp0tGx0CLC4RfNMbUfvrcAqckod77amAwzLwG6ADFJoMpxtqBIoIuD2ohKdakxS/Bl2fOlz7KEAKBp3zS8XlFRAE/FsMQ/AUVONqyb/uTsar2+2a+WprMzZvvZbQfZIwrQ7pXIpcUvpM8cPN6JPFvX1bsETyzdVik2srfGwHoUXL9srq2AePEXqw==",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "23 Jul 2020 20:09:31.8676 (UTC)"
    },
    "content": "There are several drivers which duplicate bit generation macro.\nIntroduce a generic bit macros so that such drivers avoid redefining\nsame in multiple drivers.\n\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nAcked-by: Matan Azrad <matan@mellanox.com>\nAcked-by: Morten Brørup <mb@smartsharesystems.com>\n---\n lib/librte_eal/include/rte_bitops.h | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/include/rte_bitops.h b/lib/librte_eal/include/rte_bitops.h\nindex 740927f3b..ca46a110f 100644\n--- a/lib/librte_eal/include/rte_bitops.h\n+++ b/lib/librte_eal/include/rte_bitops.h\n@@ -17,6 +17,14 @@\n #include <rte_debug.h>\n #include <rte_compat.h>\n \n+/**\n+ * Get the uint64_t value for a specified bit set.\n+ *\n+ * @param nr\n+ *   The bit number in range of 0 to 63.\n+ */\n+#define RTE_BIT64(nr) (UINT64_C(1) << (nr))\n+\n /*------------------------ 32-bit relaxed operations ------------------------*/\n \n /**\n",
    "prefixes": [
        "v8",
        "01/10"
    ]
}