get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 894790,
    "url": "http://patchwork.ozlabs.org/api/patches/894790/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180403211558.7880.71817.stgit@ahduyck-green-test.jf.intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20180403211558.7880.71817.stgit@ahduyck-green-test.jf.intel.com>",
    "list_archive_url": null,
    "date": "2018-04-03T21:15:58",
    "name": "[iwl,next-queue,01/10] ixgbe: Drop support for macvlan specific unicast lists",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "664d0a2afe412c8e5afb892bff04154d3fc01d05",
    "submitter": {
        "id": 251,
        "url": "http://patchwork.ozlabs.org/api/people/251/?format=api",
        "name": "Duyck, Alexander H",
        "email": "alexander.h.duyck@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180403211558.7880.71817.stgit@ahduyck-green-test.jf.intel.com/mbox/",
    "series": [
        {
            "id": 37262,
            "url": "http://patchwork.ozlabs.org/api/series/37262/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=37262",
            "date": "2018-04-03T21:15:53",
            "name": "Clean-up macvlan offloading",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/37262/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/894790/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/894790/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 40G29q1yf1z9s0y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  4 Apr 2018 07:22:39 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 620B58A578;\n\tTue,  3 Apr 2018 21:22:37 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Urt7eJ1lBkuH; Tue,  3 Apr 2018 21:22:36 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id AA9108A56F;\n\tTue,  3 Apr 2018 21:22:36 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 555FA1C039A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  3 Apr 2018 21:22:35 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 5274B8A56F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  3 Apr 2018 21:22:35 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id cJDYplZpsKVr for <intel-wired-lan@lists.osuosl.org>;\n\tTue,  3 Apr 2018 21:22:34 +0000 (UTC)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id A82FF8A56E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  3 Apr 2018 21:22:34 +0000 (UTC)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n\tby orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Apr 2018 14:22:34 -0700",
            "from ahduyck-green-test.jf.intel.com ([10.166.244.179])\n\tby orsmga006.jf.intel.com with ESMTP; 03 Apr 2018 14:22:34 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.48,402,1517904000\"; d=\"scan'208\";a=\"31279449\"",
        "From": "Alexander Duyck <alexander.h.duyck@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com",
        "Date": "Tue, 03 Apr 2018 17:15:58 -0400",
        "Message-ID": "<20180403211558.7880.71817.stgit@ahduyck-green-test.jf.intel.com>",
        "In-Reply-To": "<20180403211519.7880.70243.stgit@ahduyck-green-test.jf.intel.com>",
        "References": "<20180403211519.7880.70243.stgit@ahduyck-green-test.jf.intel.com>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [iwl next-queue PATCH 01/10] ixgbe: Drop support\n\tfor macvlan specific unicast lists",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.24",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Cc": "netdev@vger.kernel.org",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "Drop the code for handling macvlan specific unicast lists. It isn't needed\nsince we don't take any efforts to maintain it when we bring the interface\nup and it takes the slow path anyway.\n\nSigned-off-by: Alexander Duyck <alexander.h.duyck@intel.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |   31 -------------------------\n 1 file changed, 31 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\nindex afadba9..4d2c0ed 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n@@ -4892,36 +4892,6 @@ int ixgbe_del_mac_filter(struct ixgbe_adapter *adapter,\n \treturn -ENOMEM;\n }\n \n-/**\n- * ixgbe_write_uc_addr_list - write unicast addresses to RAR table\n- * @netdev: network interface device structure\n- * @vfn: pool to associate with unicast addresses\n- *\n- * Writes unicast address list to the RAR table.\n- * Returns: -ENOMEM on failure/insufficient address space\n- *                0 on no addresses written\n- *                X on writing X addresses to the RAR table\n- **/\n-static int ixgbe_write_uc_addr_list(struct net_device *netdev, int vfn)\n-{\n-\tstruct ixgbe_adapter *adapter = netdev_priv(netdev);\n-\tint count = 0;\n-\n-\t/* return ENOMEM indicating insufficient memory for addresses */\n-\tif (netdev_uc_count(netdev) > ixgbe_available_rars(adapter, vfn))\n-\t\treturn -ENOMEM;\n-\n-\tif (!netdev_uc_empty(netdev)) {\n-\t\tstruct netdev_hw_addr *ha;\n-\t\tnetdev_for_each_uc_addr(ha, netdev) {\n-\t\t\tixgbe_del_mac_filter(adapter, ha->addr, vfn);\n-\t\t\tixgbe_add_mac_filter(adapter, ha->addr, vfn);\n-\t\t\tcount++;\n-\t\t}\n-\t}\n-\treturn count;\n-}\n-\n static int ixgbe_uc_sync(struct net_device *netdev, const unsigned char *addr)\n {\n \tstruct ixgbe_adapter *adapter = netdev_priv(netdev);\n@@ -5320,7 +5290,6 @@ static void ixgbe_macvlan_set_rx_mode(struct net_device *dev, unsigned int pool,\n \t\tvmolr |= IXGBE_VMOLR_ROMPE;\n \t\thw->mac.ops.update_mc_addr_list(hw, dev);\n \t}\n-\tixgbe_write_uc_addr_list(adapter->netdev, pool);\n \tIXGBE_WRITE_REG(hw, IXGBE_VMOLR(pool), vmolr);\n }\n \n",
    "prefixes": [
        "iwl",
        "next-queue",
        "01/10"
    ]
}