Show a cover letter.

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

{
    "id": 42638,
    "url": "http://patches.dpdk.org/api/covers/42638/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/1531156496-1702-1-git-send-email-alejandro.lucero@netronome.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": "<1531156496-1702-1-git-send-email-alejandro.lucero@netronome.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1531156496-1702-1-git-send-email-alejandro.lucero@netronome.com",
    "date": "2018-07-09T17:14:54",
    "name": "[0/2] support MAC changes when no live changes allowed",
    "submitter": {
        "id": 270,
        "url": "http://patches.dpdk.org/api/people/270/?format=api",
        "name": "Alejandro Lucero",
        "email": "alejandro.lucero@netronome.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/cover/1531156496-1702-1-git-send-email-alejandro.lucero@netronome.com/mbox/",
    "series": [
        {
            "id": 477,
            "url": "http://patches.dpdk.org/api/series/477/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=477",
            "date": "2018-07-09T17:14:54",
            "name": "support MAC changes when no live changes allowed",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/477/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/42638/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 7D8315F3B;\n\tMon,  9 Jul 2018 19:15:09 +0200 (CEST)",
            "from netronome.com (host-79-78-33-110.static.as9105.net\n\t[79.78.33.110]) by dpdk.org (Postfix) with ESMTP id DCF375F2B;\n\tMon,  9 Jul 2018 19:15:07 +0200 (CEST)",
            "from netronome.com (localhost [127.0.0.1])\n\tby netronome.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id\n\tw69HEw7i001931; Mon, 9 Jul 2018 18:14:58 +0100",
            "(from alucero@localhost)\n\tby netronome.com (8.14.4/8.14.4/Submit) id w69HEwTS001930;\n\tMon, 9 Jul 2018 18:14:58 +0100"
        ],
        "From": "Alejandro Lucero <alejandro.lucero@netronome.com>",
        "To": "dev@dpdk.org",
        "Cc": "stable@dpdk.org",
        "Date": "Mon,  9 Jul 2018 18:14:54 +0100",
        "Message-Id": "<1531156496-1702-1-git-send-email-alejandro.lucero@netronome.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "Subject": "[dpdk-dev] [PATCH 0/2] support MAC changes when no live changes\n\tallowed",
        "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": "This is a patched to fix a functionality coming with the first public\nrelease: changing/setting MAC address.\n\nThe original patch assumes all NICs can safely change or set the MAC\nin any case. However, this is not always true. NFP depends on the firmware\ncapabilities and this is not always supported. There are other NICs with\nthis same limitation, although, as far as I know, not in DPDK. Linux kernel\nhas a IFF_LIVE_ADDR_CHANGE flag and two NICs are checking this flag for\nallowing or not live MAC changes.\n\nThe flag proposed in this patch is just the opposite: advertise if live\nchange not supported and assuming it is supported other way.\n\nAlthough most NICs support rte_eth_dev_default_mac_addr_set and this\nfunction returns and error when live change is not supported, note that\nthis function is invoked during port start but the value returned is not\nchecked. It is likely this is good enough for most of the cases, but\nbonding is relying on this start then mac set/change, and a PMD ports is\nnot properly configured for being used as an slave port in some bonding\nmodes."
}