get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 51231,
    "url": "https://patches.dpdk.org/api/patches/51231/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190315122650.11660-1-dharton@cisco.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20190315122650.11660-1-dharton@cisco.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190315122650.11660-1-dharton@cisco.com",
    "date": "2019-03-15T12:26:50",
    "name": "[v3] net/ixgbe: Restore vlan filter/extend for ixgbevf",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b5e412a0200337e0d6a88bd3b4fc6e1372c4adfe",
    "submitter": {
        "id": 252,
        "url": "https://patches.dpdk.org/api/people/252/?format=api",
        "name": "David Harton",
        "email": "dharton@cisco.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190315122650.11660-1-dharton@cisco.com/mbox/",
    "series": [
        {
            "id": 3760,
            "url": "https://patches.dpdk.org/api/series/3760/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=3760",
            "date": "2019-03-15T12:26:50",
            "name": "[v3] net/ixgbe: Restore vlan filter/extend for ixgbevf",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/3760/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/51231/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/51231/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 69EB52C28;\n\tFri, 15 Mar 2019 13:27:06 +0100 (CET)",
            "from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78])\n\tby dpdk.org (Postfix) with ESMTP id 4B5BC2C24\n\tfor <dev@dpdk.org>; Fri, 15 Mar 2019 13:27:05 +0100 (CET)",
            "from rcdn-core-3.cisco.com ([173.37.93.154])\n\tby rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA;\n\t15 Mar 2019 12:27:04 +0000",
            "from cpp-rtpbld-31.cisco.com (cpp-rtpbld-31.cisco.com\n\t[172.18.5.114])\n\tby rcdn-core-3.cisco.com (8.15.2/8.15.2) with ESMTP id x2FCR4Ee032199;\n\tFri, 15 Mar 2019 12:27:04 GMT",
            "by cpp-rtpbld-31.cisco.com (Postfix, from userid 140087)\n\tid 151A8A38; Fri, 15 Mar 2019 08:27:04 -0400 (EDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=cisco.com; i=@cisco.com; l=1291; q=dns/txt; s=iport;\n\tt=1552652825; x=1553862425;\n\th=from:to:cc:subject:date:message-id:in-reply-to:\n\treferences:mime-version:content-transfer-encoding;\n\tbh=UEj951wFOM/k3osbncH9Gu+qwFlZJvZV1JGzO6PaINc=;\n\tb=FPIpKWeZV6mN58LSjz9L4vJUWO0Yd7t+iLC4oqRcNInG/8Xsu1qZxt5H\n\tV0x75ExQbAzVPO10MK47vakUasduJzQRLRMNQLRektLXEqQzTLvjti09o\n\tExzVoxXDY9rsi1kAmkMdgyYK9D5V3cqM5ZnUaGYfO3LZgjVzR4bHTINGH s=;",
        "X-IronPort-AV": "E=Sophos;i=\"5.58,482,1544486400\"; d=\"scan'208\";a=\"532568131\"",
        "From": "David Harton <dharton@cisco.com>",
        "To": "dev@dpdk.org",
        "Cc": "wenzhuo.lu@intel.com, konstantin.ananyev@intel.com, qi.z.zhang@intel.com,\n\tDavid Harton <dharton@cisco.com>",
        "Date": "Fri, 15 Mar 2019 08:26:50 -0400",
        "Message-Id": "<20190315122650.11660-1-dharton@cisco.com>",
        "X-Mailer": "git-send-email 2.19.1",
        "In-Reply-To": "<20190308203430.31742-1-dharton@cisco.com>",
        "References": "<20190308203430.31742-1-dharton@cisco.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Outbound-SMTP-Client": "172.18.5.114, cpp-rtpbld-31.cisco.com",
        "X-Outbound-Node": "rcdn-core-3.cisco.com",
        "Subject": "[dpdk-dev] [PATCH v3] net/ixgbe: Restore vlan filter/extend for\n\tixgbevf",
        "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": "ixgbevf vlan strip and extend capabilities were removed when\nmigrating to the bit flags implementation.\n\nRestoring the capbility to enable these offloads at\nconfiguration time.\n\nFixes: ec3b1124d14d (\\\"net/ixgbe: convert to new Rx offloads API\\\")\nSigned-off-by: David Harton <dharton@cisco.com>\n---\n\nv3: restored ixgbe_is_vf() and only restore VLAN_FILTER\nv2: removed unused function ixgbe_is_vf()\n\n drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c\nindex e92a70fb3..e71d3c188 100644\n--- a/drivers/net/ixgbe/ixgbe_rxtx.c\n+++ b/drivers/net/ixgbe/ixgbe_rxtx.c\n@@ -2853,14 +2853,14 @@ ixgbe_get_rx_port_offloads(struct rte_eth_dev *dev)\n \t\t   DEV_RX_OFFLOAD_TCP_CKSUM   |\n \t\t   DEV_RX_OFFLOAD_KEEP_CRC    |\n \t\t   DEV_RX_OFFLOAD_JUMBO_FRAME |\n+\t\t   DEV_RX_OFFLOAD_VLAN_FILTER |\n \t\t   DEV_RX_OFFLOAD_SCATTER;\n \n \tif (hw->mac.type == ixgbe_mac_82598EB)\n \t\toffloads |= DEV_RX_OFFLOAD_VLAN_STRIP;\n \n \tif (ixgbe_is_vf(dev) == 0)\n-\t\toffloads |= (DEV_RX_OFFLOAD_VLAN_FILTER |\n-\t\t\t     DEV_RX_OFFLOAD_VLAN_EXTEND);\n+\t\toffloads |= DEV_RX_OFFLOAD_VLAN_EXTEND;\n \n \t/*\n \t * RSC is only supported by 82599 and x540 PF devices in a non-SR-IOV\n",
    "prefixes": [
        "v3"
    ]
}