Show a cover letter.

GET /api/covers/42008/
Content-Type: application/json
Vary: Accept

    "id": 42008,
    "url": "",
    "web_url": "",
    "project": {
        "id": 1,
        "url": "",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "",
        "list_email": "",
        "web_url": "",
        "scm_url": "git://",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "{}",
        "commit_url_format": ""
    "msgid": "<>",
    "list_archive_url": "",
    "date": "2018-06-29T12:24:51",
    "name": "[v2,0/6] Add read-write concurrency to rte_hash library",
    "submitter": {
        "id": 754,
        "url": "",
        "name": "Wang, Yipeng1",
        "email": ""
    "mbox": "",
    "series": [
            "id": 333,
            "url": "",
            "web_url": "",
            "date": "2018-06-29T12:24:52",
            "name": "Add read-write concurrency to rte_hash library",
            "version": 2,
            "mbox": ""
    "comments": "",
    "headers": {
        "X-Amp-File-Uploaded": "False",
        "Subject": "[dpdk-dev] [PATCH v2 0/6] Add read-write concurrency to rte_hash\n\tlibrary",
        "List-Post": "<>",
        "X-Mailer": "git-send-email 2.7.4",
        "X-Original-To": "",
        "Cc": ",,,\n\,,\n\",
        "List-Subscribe": "<>,\n\t<>",
        "From": "Yipeng Wang <>",
        "Return-Path": "<>",
        "X-BeenThere": "",
        "List-Archive": "<>",
        "Date": "Fri, 29 Jun 2018 05:24:51 -0700",
        "Precedence": "list",
        "In-Reply-To": "<>",
        "Message-Id": "<>",
        "X-Mailman-Version": "2.1.15",
        "Errors-To": "",
        "References": "<>",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "Delivered-To": "",
        "List-Id": "DPDK patches and discussions <>",
        "Received": [
            "from [] (localhost [])\n\tby (Postfix) with ESMTP id 369191BB91;\n\tFri, 29 Jun 2018 21:31:57 +0200 (CEST)",
            "from ( [])\n\tby (Postfix) with ESMTP id 110511BACD\n\tfor <>; Fri, 29 Jun 2018 21:31:35 +0200 (CEST)",
            "from ([])\n\tby with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 Jun 2018 12:31:32 -0700",
            "from ([])\n\tby with ESMTP; 29 Jun 2018 12:31:30 -0700"
        "List-Unsubscribe": "<>,\n\t<>",
        "Sender": "\"dev\" <>",
        "X-ExtLoop1": "1",
        "List-Help": "<>",
        "To": "",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,287,1526367600\"; d=\"scan'208\";a=\"50940288\""
    "content": "This patch set adds the read-write concurrency support in rte_hash.\nA new flag value is added to indicate if read-write concurrency is needed\nduring creation time. Test cases are implemented to do functional and\nperformance tests.\n\nThe new concurrency model is based on rte_rwlock. When Intel TSX is\navailable and the users indicate to use it, the TM version of the\nrte_rwlock will be called. Both multi-writer and read-write concurrency\nare protected by the rte_rwlock instead of the x86 specific RTM\ninstructions, so the x86 specific header rte_cuckoo_hash_x86.h is removed\nand the code is infused into the main .c file.\n\nA new rte_hash_count API is proposed to count how many keys are inserted\ninto the hash table.\n\nv2->v1:\n1. Split each commit into two commits for easier review (Pablo).\n2. Add more comments in various places (Pablo).\n3. hash: In key insertion function, move duplicated key checking to\nearlier location and protect it using locks. Checking duplicated key\nshould happen first and data updates should be protected.\n4. hash: In lookup bulk function, put signature comparison in lock,\nsince writers could happen between signature match on two buckets.\n5. hash: Add write locks to reset function as well to protect resets.\n5. test: Fix 32-bit compilation error in read-write test (Pablo).\n6. test: Check total physical core count in read-write test. Don't\ntest with thread count that larger than physical core count.\n7. Other minor fixes such as typos (Pablo).\n\nYipeng Wang (6):\n  hash: make duplicated code into functions\n  hash: add read and write concurrency support\n  test: add tests in hash table perf test\n  test: add test case for read write concurrency\n  hash: fix to have more accurate key slot size\n  hash: add new API function to query the key count\n\n lib/librte_hash/           |   1 -\n lib/librte_hash/rte_cuckoo_hash.c     | 695 +++++++++++++++++++++-------------\n lib/librte_hash/rte_cuckoo_hash.h     |  18 +-\n lib/librte_hash/rte_cuckoo_hash_x86.h | 164 --------\n lib/librte_hash/rte_hash.h            |  14 +\n lib/librte_hash/  |   8 +\n test/test/Makefile                    |   1 +\n test/test/test_hash.c                 |  12 +\n test/test/test_hash_multiwriter.c     |   9 +\n test/test/test_hash_perf.c            |  36 +-\n test/test/test_hash_readwrite.c       | 645 +++++++++++++++++++++++++++++++\n 11 files changed, 1155 insertions(+), 448 deletions(-)\n delete mode 100644 lib/librte_hash/rte_cuckoo_hash_x86.h\n create mode 100644 test/test/test_hash_readwrite.c"