Show a cover letter.

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

{
    "id": 492,
    "url": "http://patchwork.dpdk.org/api/covers/492/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20231215172632.3102502-1-euan.bourke@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20231215172632.3102502-1-euan.bourke@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231215172632.3102502-1-euan.bourke@intel.com",
    "date": "2023-12-15T17:26:24",
    "name": "[v4,0/8] add new command line argument parsing library",
    "submitter": {
        "id": 3231,
        "url": "http://patchwork.dpdk.org/api/people/3231/?format=api",
        "name": "Euan Bourke",
        "email": "euan.bourke@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20231215172632.3102502-1-euan.bourke@intel.com/mbox/",
    "series": [
        {
            "id": 30582,
            "url": "http://patchwork.dpdk.org/api/series/30582/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=30582",
            "date": "2023-12-15T17:26:24",
            "name": "add new command line argument parsing library",
            "version": 4,
            "mbox": "http://patchwork.dpdk.org/series/30582/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/covers/492/comments/",
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3E21C43700;\n\tFri, 15 Dec 2023 18:26:43 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2E5304336F;\n\tFri, 15 Dec 2023 18:26:43 +0100 (CET)",
            "from mgamail.intel.com (mgamail.intel.com [198.175.65.10])\n by mails.dpdk.org (Postfix) with ESMTP id 01B9E402DA\n for <dev@dpdk.org>; Fri, 15 Dec 2023 18:26:41 +0100 (CET)",
            "from orviesa001.jf.intel.com ([10.64.159.141])\n by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Dec 2023 09:26:40 -0800",
            "from unknown (HELO silpixa00400630.ir.intel.com) ([10.237.213.151])\n by orviesa001.jf.intel.com with ESMTP; 15 Dec 2023 09:26:40 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1702661202; x=1734197202;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=BPIs8cEuMmJ1aGt2NRVrzF6AOARpFQSzSyFt9SqviyY=;\n b=EArE77gED/AbvCT9PHe2aFJSKEvzDg94Hpy8iUyd812+enH3NOZDlzCH\n +rR1N9uxyzVpFgJovE6lPa1r6qy6oOMxw4XLUhBtieyhl0PcUMwuAbZgg\n 3+33Fg4VpnS9FIzpxckqKNEM8meRNi/q8LxCbiGyKRUE1a5JgWrgDwTNf\n YbwS6Bj5QMU0SFhaByw/ycVCKiAjk4YLXSlKC67VUiRHd9EfkUYnLrf8L\n sfEJkUZ1noHVjK5fu+xqPtd9g0528nuWW2wKl8dnhGH7VCBJAZGan7cNt\n safLHp9i9SMfILlWTV6RcHbauys2JahNFpn2gWLeKTgCITLDCk0dq0G/F g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10925\"; a=\"8662417\"",
            "E=Sophos;i=\"6.04,279,1695711600\";\n   d=\"scan'208\";a=\"8662417\"",
            "E=Sophos;i=\"6.04,279,1695711600\"; d=\"scan'208\";a=\"22914234\""
        ],
        "X-ExtLoop1": "1",
        "From": "Euan Bourke <euan.bourke@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Euan Bourke <euan.bourke@intel.com>",
        "Subject": "[PATCH v4 0/8] add new command line argument parsing library",
        "Date": "Fri, 15 Dec 2023 17:26:24 +0000",
        "Message-Id": "<20231215172632.3102502-1-euan.bourke@intel.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "\n <https://inbox.dpdk.org/dev/20231207161818.2590661-1-euan.bourke@intel.com/>",
        "References": "\n <https://inbox.dpdk.org/dev/20231207161818.2590661-1-euan.bourke@intel.com/>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "A recent thread on the mailing list[1] discussed corelist and coremask\nparsing and the idea of a new library dedicated to command line parsing\nwas mentioned[2]. This patchset adds the library, along with the new\nAPIs, and edits the existing EAL, DLB2 driver and some example\napplication functions to use these APIs, rather than each implementing\ntheir own copies.\n\nThe new APIs work similar to the existing functions in EAL, however\ninstead of filling a core array like this:\n[1, -1, -1, 2, 3] (a non -1 refers to an 'active core' at that index)\nIt fills it like this:\n[0, 3, 4] (with the value at each index being an 'active core').\n\nThe new APIs will also return the number of cores contained in the\npassed corelist/coremask, so in the above example, 3 would be returned.\n\nAlso included in this patchest is a heuristic parser which searches\nfor key markers in the core string, returning a enum value based off\nthis search to indicate if a parameter is likely a coremask or a\ncorelist. This heuristic function is also wrapped in a parser\nfunction allowing apps to handle both coremasks and corelists\nsimultaneously.\n\n[1] https://mails.dpdk.org/archives/dev/2023-November/280957.html\n[2] https://mails.dpdk.org/archives/dev/2023-November/280966.html\n\n\nv4:\n* functions now return -EINVAL instead of -1.\n* enum moved to header file.\n* documentation changes for rte_arg_parse_arg_type() function.\n* minor changes for issues flagged during review.\n\nv3:\n* new 'combined core string parser' and 'heuristic parser'\n* changes to eventdev_pipeline and l3fwd-power example applications\n* various struct optimisations in arg_parser.c\n* fix for windows build relating to RTE_SWAP()\n* minor changes for issues flagged during review\n\nv2:\n* changes to EAL service core related parsers to call API.\n* various optimisations in core_bit related functions in arg_parser.c.\n* add lib to list for windows build.\n* minor changes for issues flagged during review.\n\nEuan Bourke (8):\n  arg_parser: new library for command line parsing\n  arg_parser: add new coremask parsing API\n  eal: add support for new arg parsing library\n  eal: update to service core related parsers\n  event/dlb2: add new arg parsing library API support\n  arg_parser: added common core string and heuristic parsers\n  examples/eventdev_pipeline: update to call arg parser API\n  examples/l3fwd-power: update to call arg parser API\n\n .mailmap                                     |   1 +\n MAINTAINERS                                  |   4 +\n doc/api/doxy-api-index.md                    |   1 +\n doc/api/doxy-api.conf.in                     |   1 +\n drivers/event/dlb2/dlb2_priv.h               |   4 +-\n drivers/event/dlb2/pf/base/dlb2_resource.c   |  51 ++--\n examples/eventdev_pipeline/main.c            |  66 +----\n examples/eventdev_pipeline/pipeline_common.h |   1 +\n examples/l3fwd-power/perf_core.c             |  52 +---\n lib/arg_parser/arg_parser.c                  | 221 ++++++++++++++\n lib/arg_parser/meson.build                   |   7 +\n lib/arg_parser/rte_arg_parser.h              | 164 +++++++++++\n lib/arg_parser/version.map                   |  13 +\n lib/eal/common/eal_common_options.c          | 285 ++++---------------\n lib/eal/meson.build                          |   2 +-\n lib/meson.build                              |   2 +\n 16 files changed, 510 insertions(+), 365 deletions(-)\n create mode 100644 lib/arg_parser/arg_parser.c\n create mode 100644 lib/arg_parser/meson.build\n create mode 100644 lib/arg_parser/rte_arg_parser.h\n create mode 100644 lib/arg_parser/version.map"
}