get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/9354/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 9354,
    "url": "http://patches.dpdk.org/api/patches/9354/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1449249260-15165-4-git-send-email-stephen@networkplumber.org/",
    "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": "<1449249260-15165-4-git-send-email-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1449249260-15165-4-git-send-email-stephen@networkplumber.org",
    "date": "2015-12-04T17:14:15",
    "name": "[dpdk-dev,3/8] bond mode 4: do not ignore multicast",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fa7153883268a3671c32154b05400796367c42ee",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 10,
        "url": "http://patches.dpdk.org/api/users/10/?format=api",
        "username": "bruce",
        "first_name": "Bruce",
        "last_name": "Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1449249260-15165-4-git-send-email-stephen@networkplumber.org/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/9354/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/9354/checks/",
    "tags": {},
    "related": [],
    "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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id D8DA691B4;\n\tFri,  4 Dec 2015 18:14:17 +0100 (CET)",
            "from mail-pa0-f45.google.com (mail-pa0-f45.google.com\n\t[209.85.220.45]) by dpdk.org (Postfix) with ESMTP id A33BB91A0\n\tfor <dev@dpdk.org>; Fri,  4 Dec 2015 18:14:14 +0100 (CET)",
            "by pacdm15 with SMTP id dm15so89551235pac.3\n\tfor <dev@dpdk.org>; Fri, 04 Dec 2015 09:14:14 -0800 (PST)",
            "from xeon-e3.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net.\n\t[50.53.82.155]) by smtp.gmail.com with ESMTPSA id\n\t134sm18291003pfa.30.2015.12.04.09.14.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 04 Dec 2015 09:14:13 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=KPiuni1m6CYn6iDXJJkb5d6V7/W4wyg5QHF2cUw2TDo=;\n\tb=kp+6KiYytHa63heQGwernufNBI+mXfcj6chWcKUMIYE6MzUnFULguU+IxNBh85a18w\n\ttSsMnkYyZPCQS+dM5T6b1o3tRnzDAXpAQJkOluBdD8lEBrt+MAZxFfhT58uAWsTmQPaS\n\t42hNxZqFgnMw6QEFifQtQmABQP7zTzdesnK9ejaOL9Hx+crZOGNdm5S9Tgg/zykMixKL\n\tcq2+iaB8BvZAPGQedPKJl7kHJC1yYtWmNDhbE3mB83ZrXrH0VPTs0pTPEPSvkYYBBdLK\n\tyTAvxr3cwuE6HaGlaMFRhkc+GZu3ju2DHeAbq1Ib/s1VTvjmZ22LEbsWZLPABoDPe3NR\n\tpR5w==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=KPiuni1m6CYn6iDXJJkb5d6V7/W4wyg5QHF2cUw2TDo=;\n\tb=BMMKbvWmX22dWoe/27dMIk3kgxmZMJujJBux9lrxX54irMybi4q/1wDndXy2Vnbjjs\n\tlV0HQoCFtYqyPg+twEuJV9ZFCZUVOOP8o894qlISZgRA00ZLHXTuJoHjnyewatkDlJZP\n\tnW0UxgD4EFvjqGKSwkLVbbQUmGtGCKvTYdVICVPVsNtXBogw4gHkRs0LXZlFmuTB8Ds9\n\tBGtE8FVBbj8Qfo1eh2FbjWxz5q9CtsJ0WGCnrkbr096baqGK6uW/vumMavHmcAGx2t9u\n\tWE0D/q+4s6TDjHAK5q3l916vX74mEUQ+3Mifrt33n5jfOFJQfnHA8Sg2sQ8gOVwCjXgY\n\tBdAw==",
        "X-Gm-Message-State": "ALoCoQmVRWniHbQPx4t9tl+XOxTvE0z/aWtMBOKDF12tiMO72WLZJ5RPaPKTGPK/f+fFquOEhBOC",
        "X-Received": "by 10.66.121.110 with SMTP id lj14mr23249462pab.61.1449249254092;\n\tFri, 04 Dec 2015 09:14:14 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "declan.doherty@intel.com",
        "Date": "Fri,  4 Dec 2015 09:14:15 -0800",
        "Message-Id": "<1449249260-15165-4-git-send-email-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1449249260-15165-1-git-send-email-stephen@networkplumber.org>",
        "References": "<1449249260-15165-1-git-send-email-stephen@networkplumber.org>",
        "Cc": "dev@dpdk.org, Eric Kinzie <ekinzie@brocade.com>",
        "Subject": "[dpdk-dev] [PATCH 3/8] bond mode 4: do not ignore multicast",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Eric Kinzie <ekinzie@brocade.com>\n\nThe bonding PMD in mode 4 puts all enslaved interfaces into promiscuous\nmode in order to receive LACPDUs and must filter unwanted packets\nafter the traffic has been \"collected\".  Allow broadcast and multicast\nthrough so that ARP and IPv6 neighbor discovery continue to work.\n\nFixes: 46fb43683679 (\"bond: add mode 4\")\n\nSigned-off-by: Eric Kinzie <ehkinzie@gmail.com>\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test/test_link_bonding_mode4.c     | 7 +++++--\n drivers/net/bonding/rte_eth_bond_pmd.c | 1 +\n 2 files changed, 6 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/app/test/test_link_bonding_mode4.c b/app/test/test_link_bonding_mode4.c\nindex 713368d..31640cd 100644\n--- a/app/test/test_link_bonding_mode4.c\n+++ b/app/test/test_link_bonding_mode4.c\n@@ -747,8 +747,11 @@ test_mode4_rx(void)\n \trte_eth_macaddr_get(test_params.bonded_port_id, &bonded_mac);\n \tether_addr_copy(&bonded_mac, &dst_mac);\n \n-\t/* Assert that dst address is not bonding address */\n-\tdst_mac.addr_bytes[0]++;\n+\t/* Assert that dst address is not bonding address.  Do not set the\n+\t * least significant bit of the zero byte as this would create a\n+\t * multicast address.\n+\t */\n+\tdst_mac.addr_bytes[0] += 2;\n \n \t/* First try with promiscuous mode enabled.\n \t * Add 2 packets to each slave. First with bonding MAC address, second with\ndiff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c\nindex 127b976..77582dd 100644\n--- a/drivers/net/bonding/rte_eth_bond_pmd.c\n+++ b/drivers/net/bonding/rte_eth_bond_pmd.c\n@@ -170,6 +170,7 @@ bond_ethdev_rx_burst_8023ad(void *queue, struct rte_mbuf **bufs,\n \t\t\t * mode and packet address does not match. */\n \t\t\tif (unlikely(hdr->ether_type == ether_type_slow_be ||\n \t\t\t\t!collecting || (!promisc &&\n+\t\t\t\t\t!is_multicast_ether_addr(&hdr->d_addr) &&\n \t\t\t\t\t!is_same_ether_addr(&bond_mac, &hdr->d_addr)))) {\n \n \t\t\t\tif (hdr->ether_type == ether_type_slow_be) {\n",
    "prefixes": [
        "dpdk-dev",
        "3/8"
    ]
}