Show a cover letter.

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

{
    "id": 53822,
    "url": "http://patches.dpdk.org/api/covers/53822/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/20190529154132.49955-1-bruce.richardson@intel.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": "<20190529154132.49955-1-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190529154132.49955-1-bruce.richardson@intel.com",
    "date": "2019-05-29T15:41:28",
    "name": "[0/4] Enhance CPU flag support",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/cover/20190529154132.49955-1-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 4811,
            "url": "http://patches.dpdk.org/api/series/4811/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4811",
            "date": "2019-05-29T15:41:28",
            "name": "Enhance CPU flag support",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/4811/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/53822/comments/",
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id F2BAD1B94E;\n\tWed, 29 May 2019 17:41:42 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 6BB6E1B94E\n\tfor <dev@dpdk.org>; Wed, 29 May 2019 17:41:41 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 May 2019 08:41:39 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.2])\n\tby FMSMGA003.fm.intel.com with ESMTP; 29 May 2019 08:41:39 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Date": "Wed, 29 May 2019 16:41:28 +0100",
        "Message-Id": "<20190529154132.49955-1-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 0/4] Enhance CPU flag support",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Currently in DPDK, any checks for the presence or absense of specific\nCPU flags has to be enclosed in #ifdef blocks, since the flags are\nconditionally defined per architecture as enums. This set attempts to\nimprove this situation by allowing the flags to be queried as strings,\nwith a CPU architecture type also specified. One new public API is\nprovided for this. [Other APIs used by that are internal for now, but\nhave an rte_ prefix in case we want to expose them publically later]\n\nTo test out this new functionality the crc code in the net library is\nupdated to use this, demonstrating how the code can be simplified and\nthe use of #ifdef's reduced.\n\nBruce Richardson (4):\n  build: fix quoting on RTE_ARCH string value\n  config/arm: fix missing define for arm platforms\n  eal: allow checking CPU flags by name\n  net: replace ifdefs with runtime branches\n\n config/arm/meson.build                        |  2 +\n config/ppc_64/meson.build                     |  2 +-\n config/x86/meson.build                        |  4 +-\n lib/librte_eal/common/eal_common_cpuflags.c   | 41 +++++++++++++++++\n .../common/include/generic/rte_cpuflags.h     | 44 ++++++++++++++++++-\n lib/librte_eal/rte_eal_version.map            |  3 ++\n lib/librte_net/rte_net_crc.c                  | 38 ++++++++++------\n 7 files changed, 117 insertions(+), 17 deletions(-)"
}