Show a cover letter.

GET /api/covers/66489/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 66489,
    "url": "http://patches.dpdk.org/api/covers/66489/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/1583828479-204084-1-git-send-email-suanmingm@mellanox.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "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",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1583828479-204084-1-git-send-email-suanmingm@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1583828479-204084-1-git-send-email-suanmingm@mellanox.com",
    "date": "2020-03-10T08:21:17",
    "name": "[0/2] bitmap: add create bitmap with all bits set",
    "submitter": {
        "id": 1358,
        "url": "http://patches.dpdk.org/api/people/1358/?format=api",
        "name": "Suanming Mou",
        "email": "suanmingm@mellanox.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/cover/1583828479-204084-1-git-send-email-suanmingm@mellanox.com/mbox/",
    "series": [
        {
            "id": 8861,
            "url": "http://patches.dpdk.org/api/series/8861/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8861",
            "date": "2020-03-10T08:21:17",
            "name": "bitmap: add create bitmap with all bits set",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8861/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/66489/comments/",
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "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 69246A0563;\n\tTue, 10 Mar 2020 09:21:26 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 956A21C00D;\n\tTue, 10 Mar 2020 09:21:25 +0100 (CET)",
            "from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130])\n by dpdk.org (Postfix) with ESMTP id C20E31C002\n for <dev@dpdk.org>; Tue, 10 Mar 2020 09:21:24 +0100 (CET)"
        ],
        "From": "Suanming Mou <suanmingm@mellanox.com>",
        "To": "cristian.dumitrescu@intel.com",
        "Cc": "dev@dpdk.org",
        "Date": "Tue, 10 Mar 2020 16:21:17 +0800",
        "Message-Id": "<1583828479-204084-1-git-send-email-suanmingm@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH 0/2] bitmap: add create bitmap with all bits set",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Currently, in the case to use bitmap as resource allocator, after\nbitmap creation, all the bitmap bits should be set to indicate the\nbit available. Every time when allocate one bit, search for the set\nbits and clear it to make it in use.\n\nAdd a new rte_bitmap_init_with_all_set() function to have a quick\nfill up the bitmap bits.\n\nComparing with the case create the bitmap as empty and set the bitmap\none by one, the new function costs less cycles.\n\nFor bitmap with 1000 bits, create the bitmap with all bits set costs 754\ncycles, while set one by one costs 14194. CPU info as below:\nIntel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz\n\nSuanming Mou (2):\n  bitmap: add create bitmap with all bits set\n  test/bitmap: add bitmap create with all bits set case\n\n app/test/test_bitmap.c                     | 57 +++++++++++++++++++++++++++++-\n lib/librte_eal/common/include/rte_bitmap.h | 32 +++++++++++++++++\n 2 files changed, 88 insertions(+), 1 deletion(-)"
}