get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 604943,
    "url": "http://patchwork.ozlabs.org/api/patches/604943/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1459532078-11858-1-git-send-email-sridhar.samudrala@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": "<1459532078-11858-1-git-send-email-sridhar.samudrala@intel.com>",
    "list_archive_url": null,
    "date": "2016-04-01T17:34:38",
    "name": "ixgbe: make 'action' field in struct ixgbe_fdir_filter a u64 value",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "bb55744960c1e17e3aae3cfc63c115b724251d07",
    "submitter": {
        "id": 65219,
        "url": "http://patchwork.ozlabs.org/api/people/65219/?format=api",
        "name": "Samudrala, Sridhar",
        "email": "sridhar.samudrala@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/1459532078-11858-1-git-send-email-sridhar.samudrala@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/604943/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/604943/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@lists.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"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ozlabs.org (Postfix) with ESMTP id 3qc7sn3291z9sDG\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Apr 2016 04:39:09 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 97452A62A2;\n\tFri,  1 Apr 2016 17:39:08 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 8Jha2T0IeY7p; Fri,  1 Apr 2016 17:39:08 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id AEFC2A6292;\n\tFri,  1 Apr 2016 17:39:07 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 267A81C163A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri,  1 Apr 2016 17:39:06 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 1F13C958E0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri,  1 Apr 2016 17:39:06 +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 7zJLGUhJmvdG for <intel-wired-lan@lists.osuosl.org>;\n\tFri,  1 Apr 2016 17:39:04 +0000 (UTC)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id DD51E958DF\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri,  1 Apr 2016 17:39:04 +0000 (UTC)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga101.fm.intel.com with ESMTP; 01 Apr 2016 10:39:04 -0700",
            "from sri02.jf.intel.com ([10.166.39.21])\n\tby fmsmga001.fm.intel.com with ESMTP; 01 Apr 2016 10:39:04 -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-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.24,428,1455004800\"; d=\"scan'208\";a=\"936422296\"",
        "From": "Sridhar Samudrala <sridhar.samudrala@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Fri,  1 Apr 2016 10:34:38 -0700",
        "Message-Id": "<1459532078-11858-1-git-send-email-sridhar.samudrala@intel.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "Subject": "[Intel-wired-lan] [PATCH] ixgbe: make 'action' field in struct\n\tixgbe_fdir_filter a u64 value",
        "X-BeenThere": "intel-wired-lan@lists.osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>",
        "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>",
        "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>"
    },
    "content": "This field is used to record the RX queue index for a redirect action\npassed via ring_cookie field in struct ethtool_rx_flow_spec which is\na u64 value.\n\nFor ex: after adding a filter rule to redirect to a VF using ethtool\n  # echo 4 > /sys/class/net/p4p1/device/sriov_numvfs\n  # ethtool -N p4p1 flow-type ip4 src-ip 192.168.0.1 action 0x100000000\n\nquerying for the rule shows the Action as 'Direct to queue 0'\n\n  # ethtool -n p4p1\n  4 RX rings available\n  Total 1 rules\n\n  Filter: 2045\n \tRule Type: Raw IPv4\n\tSrc IP addr: 192.168.0.1 mask: 0.0.0.0\n\tDest IP addr: 0.0.0.0 mask: 255.255.255.255\n\tTOS: 0x0 mask: 0xff\n\tProtocol: 0 mask: 0xff\n\tL4 bytes: 0x0 mask: 0xffffffff\n\tVLAN EtherType: 0x0 mask: 0xffff\n\tVLAN: 0x0 mask: 0xffff\n\tUser-defined: 0x0 mask: 0xffffffffffffffff\n\tAction: Direct to queue 0\n\nWith this fix, ethtool will report the right queue index even for VFs.\n\tAction: Direct to queue 4294967296\n\nHere 4294967296 corresponds to 0x100000000.\nWe need to update 'ethtool' to report the queue index as a Hex value so\nthat it is more  user friendly and matches with the 'action' value that\nis passed when adding the rule.\n\nSigned-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h\nindex e4949af..02ea344 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe.h\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe.h\n@@ -827,7 +827,7 @@ struct ixgbe_fdir_filter {\n \tstruct hlist_node fdir_node;\n \tunion ixgbe_atr_input filter;\n \tu16 sw_idx;\n-\tu16 action;\n+\tu64 action;\n };\n \n enum ixgbe_state_t {\n",
    "prefixes": []
}