Show a cover letter.

GET /api/covers/52597/?format=api
Content-Type: application/json
Vary: Accept

    "id": 52597,
    "url": "",
    "web_url": "",
    "project": {
        "id": 1,
        "url": "",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "",
        "list_email": "",
        "web_url": "",
        "scm_url": "git://",
        "webscm_url": ""
    "msgid": "<>",
    "date": "2019-04-10T13:45:15",
    "name": "[0/2] remove use of weak functions from libraries",
    "submitter": {
        "id": 20,
        "url": "",
        "name": "Bruce Richardson",
        "email": ""
    "mbox": "",
    "series": [
            "id": 4242,
            "url": "",
            "web_url": "",
            "date": "2019-04-10T13:45:15",
            "name": "remove use of weak functions from libraries",
            "version": 1,
            "mbox": ""
    "comments": "",
    "headers": {
        "X-Mailer": "git-send-email 2.20.1",
        "List-Id": "DPDK patches and discussions <>",
        "Precedence": "list",
        "List-Help": "<>",
        "Date": "Wed, 10 Apr 2019 14:45:15 +0100",
        "X-Mailman-Version": "2.1.15",
        "Delivered-To": "",
        "List-Unsubscribe": "<>,\n\t<>",
        "List-Subscribe": "<>,\n\t<>",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "Cc": ",\n\tBruce Richardson <>",
        "To": ",\n\",
        "Errors-To": "",
        "Sender": "\"dev\" <>",
        "From": "Bruce Richardson <>",
        "Return-Path": "<>",
        "X-IronPort-AV": "E=Sophos;i=\"5.60,332,1549958400\"; d=\"scan'208\";a=\"141569309\"",
        "List-Post": "<>",
        "Received": [
            "from [] (localhost [])\n\tby (Postfix) with ESMTP id 282D869D4;\n\tWed, 10 Apr 2019 15:45:27 +0200 (CEST)",
            "from ( [])\n\tby (Postfix) with ESMTP id 55C0A5F19\n\tfor <>; Wed, 10 Apr 2019 15:45:25 +0200 (CEST)",
            "from ([])\n\tby with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t10 Apr 2019 06:45:24 -0700",
            "from (HELO\n\ ([])\n\tby with ESMTP; 10 Apr 2019 06:45:23 -0700"
        "List-Archive": "<>",
        "X-Amp-File-Uploaded": "False",
        "Subject": "[dpdk-dev] [PATCH 0/2] remove use of weak functions from libraries",
        "MIME-Version": "1.0",
        "Message-Id": "<>",
        "X-ExtLoop1": "1",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "",
        "X-Original-To": ""
    "content": "Weak functions don't work well with static library builds as the linker\nalways picks the first version of a function irrespective of whether it is\nweak or not. The solution to this is to use the \"whole-archive\" flag when\nlinking, but this has the nasty side-effect that it causes the resulting\nbinary to be larger than it needs to be.\n\n\nA further problem with this approach of using \"whole-archive\" is that one\neither needs to link all libraries with this flag or track what libraries\nneed it or not - the latter being especially a problem for apps not using\nthe DPDK build system itself (i.e. most apps not shipped with DPDK itself).\nFor meson builds this information needs to make its way all the way through\nto the pkgconfig file generated - not a trivial undertaking.\n\nThankfully, though, the use of weak functions is limited to use for\nmultiple functions within a single library, meaning that when the lib is\nbeing built, the build system itself can know whether the \"weak\" function\nis needed or not. This allows us to change the weak function to a\nconditionally compiled regular function used in fallback case. This makes\nthe need for \"whole-archive\" flag, and any special linking measures for the\nlibrary, go away.\n\n[This set does not touch the drivers, only the libraries, since there are\nother special linker flags needed for drivers in general, making the\nproblem less severe for driver .a files.]\n\nBruce Richardson (2):\n  acl: remove use of weak functions\n  bpf: remove use of weak functions\n\n lib/librte_acl/ |  7 ++++++-\n lib/librte_acl/rte_acl.c   | 18 ++++++++++++++----\n lib/librte_bpf/bpf_load.c  |  4 +++-\n lib/librte_bpf/ |  1 +\n mk/              |  3 ---\n 5 files changed, 24 insertions(+), 9 deletions(-)"