Show a cover letter.

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

{
    "id": 77910,
    "url": "http://patches.dpdk.org/api/covers/77910/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/20200916164429.244847-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": "<20200916164429.244847-1-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200916164429.244847-1-bruce.richardson@intel.com",
    "date": "2020-09-16T16:44:24",
    "name": "[RFC,0/5] rework feature enabling macros for compatibility",
    "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/20200916164429.244847-1-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 12283,
            "url": "http://patches.dpdk.org/api/series/12283/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12283",
            "date": "2020-09-16T16:44:24",
            "name": "rework feature enabling macros for compatibility",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12283/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/77910/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 B6A4CA04B5;\n\tWed, 16 Sep 2020 18:44:37 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 968D41D153;\n\tWed, 16 Sep 2020 18:44:37 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 4727C1C43A\n for <dev@dpdk.org>; Wed, 16 Sep 2020 18:44:35 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Sep 2020 09:44:34 -0700",
            "from silpixa00399126.ir.intel.com ([10.237.222.27])\n by orsmga005.jf.intel.com with ESMTP; 16 Sep 2020 09:44:33 -0700"
        ],
        "IronPort-SDR": [
            "\n 1Kx7y3mB2xUUYuejL3Tsi3ej6luAWltsLCBgRrypnW7uOs4A4NBWwPNjyK2znzY+kLaH+6k2a6\n e+qL9A2AYh/Q==",
            "\n LcwQKMGr93LzVRBiIETtmDLh3p8QqzsMb2WcgeAclDPjpEcX6dP+Tt+2G61xb54inn9oxyvAYK\n xMNWnHXWA73Q=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9746\"; a=\"160441926\"",
            "E=Sophos;i=\"5.76,433,1592895600\"; d=\"scan'208\";a=\"160441926\"",
            "E=Sophos;i=\"5.76,433,1592895600\"; d=\"scan'208\";a=\"483381354\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "david.marchand@redhat.com",
        "Cc": "dev@dpdk.org,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Date": "Wed, 16 Sep 2020 17:44:24 +0100",
        "Message-Id": "<20200916164429.244847-1-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [RFC PATCH 0/5] rework feature enabling macros for\n\tcompatibility",
        "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": "As flagged previously on-list, there are a number of macros used to specify\nwhat libs and drivers are enabled in the build which differ from the\nequivalents used with make. This patchset is one possible approach to\nfixing these, but as part of the investigation some issues were hit where\nI'd like additional input to ensure we are ok with the approach taken in\nthis set.\n\nFirst, a problem statement:\n\n* While the make build defines generally followed a pattern, there were\n  many instances where the defines were unique. These can be seen in the\n  values defined in patch 4.\n\n* The NIC PMDs had two separate standards for the defines - some (the\n  physical device drivers) tended to have the _PMD at the end of the\n  macros, while the virtual drivers had it in the middle. Since the\n  majority seemed to go with it at the end, meson chose this option.\n  However, as can be seen from patch 4, a number now need special handling\n  for compatibility\n\n* This \"_PMD\" at the end made its way into other device classes, such as\n  crypto and event, but it appears that the standard for these classes from\n  make is in fact the opposite. Therefore we have had for the last 2+ years\n  conflicting macros for crypto, compression and event classes.\n\n* There is also the question of how important compatibility for these\n  macros is, especially since we have had numerous incompatibilities\n  without it being reported before. There is also the issue of the\n  deprecation process for macros, since these are not part of any ABI.\n\nWhat's done in this set:\n\n* Firstly, and missing dependencies on apps or examples had to be fixed,\n  where a dependency was missed because it was never needed due to the code\n  being stripped out because of a missing macro.\n\n* Secondly, since it is likely that use of the defines from make is more\n  widespread than those from meson, the defines for the crypto, compression\n  and event classes are changed to align with the make values. Just in case\n  though, temporary code is added to drivers/meson.build to redefine the\n  old meson values too, and a deprecation notice is added for these. The\n  hope is that we can then remove this temporary code in the next release,\n  leaving us with just one macro style for each driver class.\n\n* Thirdly, we add an additional set of backward compatibility macros for\n  the ~30 special-cases, where the meson macro template does not match that\n  defined for make. Again, this is intended to be temporary and a\n  deprecation notice is given for the macros in that file.\n\n* Finally, we replace all instances of the old macros in the codebase with\n  the newer versions. While the work done in the first four patches (steps\n  1-3 above) should be ok to backport, this final patch is not suitable for\n  backporting. However, it is relatively simple to produce a new patch for\n  backporting which allow either old or new values to be used in macros.\n\n\nOpen issues/considerations after this patch:\n\n* We still have inconsistencies in our driver macro and naming templates.\n  This is just a nice-to-have, but if people are ok with generally having a\n  breakage in our macro defines, we could clean this up a lot further.\n  Notice how 'net', 'regex' and 'vdpa' have '_PMD' at the end, while most\n  others have it before the name. Notice also that many device classes have\n  the class at the end of the template, while bbdev has it in the middle.\n\t$ git grep config_flag_fmt -- drivers/*/meson.build\n\tdrivers/baseband/meson.build:config_flag_fmt = 'RTE_LIBRTE_PMD_BBDEV_@0@'\n\tdrivers/bus/meson.build:config_flag_fmt = 'RTE_LIBRTE_@0@_BUS'\n\tdrivers/common/meson.build:config_flag_fmt = 'RTE_LIBRTE_@0@_COMMON'\n\tdrivers/compress/meson.build:config_flag_fmt = 'RTE_LIBRTE_PMD_@0@'\n\tdrivers/crypto/meson.build:config_flag_fmt = 'RTE_LIBRTE_PMD_@0@'\n\tdrivers/event/meson.build:config_flag_fmt = 'RTE_LIBRTE_PMD_@0@_EVENTDEV'\n\tdrivers/mempool/meson.build:config_flag_fmt = 'RTE_LIBRTE_@0@_MEMPOOL'\n\tdrivers/net/meson.build:config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'\n\tdrivers/raw/meson.build:config_flag_fmt = 'RTE_LIBRTE_PMD_@0@_RAWDEV'\n\tdrivers/regex/meson.build:config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'\n\tdrivers/vdpa/meson.build:config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'\n\n* Are we ok to remove the older macros after one release of deprecation, or\n  do we need to wait to next API window.\n\n* I have not made any changes to the docs for this, since I expect that\n  these macros are already covered by the doc changes in the make removal\n  set.\n\nReviews and comments welcome.\n\nBruce Richardson (5):\n  app: fix missing dependencies\n  examples/l2fwd-crypto: fix missing dependency\n  meson: fix compatibility with make build defines\n  build: add defines for compatibility with make build\n  build: replace use of old build macros\n\n app/test-crypto-perf/meson.build     |   3 +\n app/test-pmd/cmdline.c               |   8 +-\n app/test-pmd/meson.build             |  12 +++\n app/test-pmd/parameters.c            |  12 +--\n app/test-pmd/testpmd.c               |  24 ++---\n app/test-pmd/testpmd.h               |   4 +-\n app/test/meson.build                 |   3 +\n app/test/test_eal_flags.c            |   4 +-\n config/meson.build                   |   3 +-\n config/rte_compatibility_defines.h   | 129 +++++++++++++++++++++++++++\n config/rte_config.h                  |   1 +\n doc/guides/rel_notes/deprecation.rst |  17 ++++\n drivers/compress/meson.build         |   2 +-\n drivers/crypto/meson.build           |   2 +-\n drivers/event/meson.build            |   2 +-\n drivers/meson.build                  |  15 ++++\n examples/l2fwd-crypto/meson.build    |   3 +\n 17 files changed, 214 insertions(+), 30 deletions(-)\n create mode 100644 config/rte_compatibility_defines.h"
}