Show a cover letter.

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

{
    "id": 42008,
    "url": "http://patches.dpdk.org/api/covers/42008/?format=api",
    "web_url": "http://patches.dpdk.org/cover/42008/",
    "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"
    },
    "msgid": "<1530275097-123488-1-git-send-email-yipeng1.wang@intel.com>",
    "date": "2018-06-29T12:24:51",
    "name": "[v2,0/6] Add read-write concurrency to rte_hash library",
    "submitter": {
        "id": 754,
        "url": "http://patches.dpdk.org/api/people/754/?format=api",
        "name": "Wang, Yipeng1",
        "email": "yipeng1.wang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/cover/42008/mbox/",
    "series": [
        {
            "id": 333,
            "url": "http://patches.dpdk.org/api/series/333/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=333",
            "date": "2018-06-29T12:24:52",
            "name": "Add read-write concurrency to rte_hash library",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/333/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/42008/comments/",
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "References": "<1528455078-328182-1-git-send-email-yipeng1.wang@intel.com>",
        "X-Mailman-Version": "2.1.15",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,287,1526367600\"; d=\"scan'208\";a=\"50940288\"",
        "From": "Yipeng Wang <yipeng1.wang@intel.com>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-ExtLoop1": "1",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<1530275097-123488-1-git-send-email-yipeng1.wang@intel.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 369191BB91;\n\tFri, 29 Jun 2018 21:31:57 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id 110511BACD\n\tfor <dev@dpdk.org>; Fri, 29 Jun 2018 21:31:35 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 Jun 2018 12:31:32 -0700",
            "from skx-yipeng.jf.intel.com ([10.54.81.175])\n\tby fmsmga007.fm.intel.com with ESMTP; 29 Jun 2018 12:31:30 -0700"
        ],
        "X-Mailer": "git-send-email 2.7.4",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v2 0/6] Add read-write concurrency to rte_hash\n\tlibrary",
        "Precedence": "list",
        "Date": "Fri, 29 Jun 2018 05:24:51 -0700",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Amp-File-Uploaded": "False",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Cc": "dev@dpdk.org, yipeng1.wang@intel.com, bruce.richardson@intel.com,\n\thonnappa.nagarahalli@arm.com, vguvva@caviumnetworks.com,\n\tbrijesh.s.singh@gmail.com",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Delivered-To": "patchwork@dpdk.org",
        "In-Reply-To": "<1528455078-328182-1-git-send-email-yipeng1.wang@intel.com>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "To": "pablo.de.lara.guarch@intel.com",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "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/meson.build           |   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/rte_hash_version.map  |   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"
}