get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1267641,
    "url": "http://patchwork.ozlabs.org/api/patches/1267641/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200407210711.24371-6-andre.guedes@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": "<20200407210711.24371-6-andre.guedes@intel.com>",
    "list_archive_url": null,
    "date": "2020-04-07T21:07:11",
    "name": "[5/5] igc: Dump ETQF registers",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ab33f3beda05eba775f44137b20fe58dc38733e5",
    "submitter": {
        "id": 72323,
        "url": "http://patchwork.ozlabs.org/api/people/72323/?format=api",
        "name": "Andre Guedes",
        "email": "andre.guedes@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/20200407210711.24371-6-andre.guedes@intel.com/mbox/",
    "series": [
        {
            "id": 169099,
            "url": "http://patchwork.ozlabs.org/api/series/169099/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=169099",
            "date": "2020-04-07T21:07:08",
            "name": "igc: Fixes for ethertype filtering code",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/169099/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1267641/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1267641/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; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=osuosl.org (client-ip=140.211.166.133;\n\thelo=hemlock.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 48xg356jNtz9sSY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  8 Apr 2020 07:07:29 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 540D987D6E;\n\tTue,  7 Apr 2020 21:07:28 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id e7ZJ3jHQdUBy; Tue,  7 Apr 2020 21:07:27 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 2B9CF87D75;\n\tTue,  7 Apr 2020 21:07:26 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0920D1BF616\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Apr 2020 21:07:24 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 061512048F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Apr 2020 21:07:24 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id OD7UkS+LOXzI for <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Apr 2020 21:07:23 +0000 (UTC)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 2490921556\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Apr 2020 21:07:23 +0000 (UTC)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; \n\t07 Apr 2020 14:07:22 -0700",
            "from jyguan-mobl1.amr.corp.intel.com ([10.212.37.126])\n\tby fmsmga006.fm.intel.com with ESMTP; 07 Apr 2020 14:07:21 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "IronPort-SDR": [
            "lAbXDu8QFTCmm66o0PaAGhQLLd4sc6NnquJQI5AIjAwaSTWLSrukXqMGhq/Ma8TBlKVVr0gNgX\n\t1S8D2aLmEVcQ==",
            "UljYrnBUqXFP0hezXsvvmaTtYP+jMkfyF6OC+u2AM5ms2gXVLUlVe4OXWv5vjnw5w0WLCv/AnH\n\totngNEyWj9Bg=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.72,356,1580803200\"; d=\"scan'208\";a=\"452593259\"",
        "From": "Andre Guedes <andre.guedes@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Tue,  7 Apr 2020 14:07:11 -0700",
        "Message-Id": "<20200407210711.24371-6-andre.guedes@intel.com>",
        "X-Mailer": "git-send-email 2.26.0",
        "In-Reply-To": "<20200407210711.24371-1-andre.guedes@intel.com>",
        "References": "<20200407210711.24371-1-andre.guedes@intel.com>",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH 5/5] igc: Dump ETQF registers",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "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>",
        "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": "This patch adds the EType Queue Filter (ETQF) registers to the list of\nregisters dumped by igc_get_regs().\n\nSigned-off-by: Andre Guedes <andre.guedes@intel.com>\n---\n drivers/net/ethernet/intel/igc/igc_ethtool.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igc/igc_ethtool.c b/drivers/net/ethernet/intel/igc/igc_ethtool.c\nindex 5a53bf6ee1e5..eb7a6932dae2 100644\n--- a/drivers/net/ethernet/intel/igc/igc_ethtool.c\n+++ b/drivers/net/ethernet/intel/igc/igc_ethtool.c\n@@ -318,6 +318,9 @@ static void igc_get_regs(struct net_device *netdev,\n \t\tregs_buff[188 + i] = rd32(IGC_RAH(i));\n \n \tregs_buff[204] = rd32(IGC_VLANPQF);\n+\n+\tfor (i = 0; i < 8; i++)\n+\t\tregs_buff[205 + i] = rd32(IGC_ETQF(i));\n }\n \n static void igc_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)\n",
    "prefixes": [
        "5/5"
    ]
}