get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76050,
    "url": "https://patches.dpdk.org/api/patches/76050/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200827011410.18401-2-stevex.yang@intel.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": "<20200827011410.18401-2-stevex.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200827011410.18401-2-stevex.yang@intel.com",
    "date": "2020-08-27T01:14:05",
    "name": "[v2,1/6] net/iavf: fix scattered Rx enabling",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "03c31999ec79a8dd4cc8f142a5b2a5b014ba9272",
    "submitter": {
        "id": 1883,
        "url": "https://patches.dpdk.org/api/people/1883/?format=api",
        "name": "Steve Yang",
        "email": "stevex.yang@intel.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/20200827011410.18401-2-stevex.yang@intel.com/mbox/",
    "series": [
        {
            "id": 11813,
            "url": "https://patches.dpdk.org/api/series/11813/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11813",
            "date": "2020-08-27T01:14:05",
            "name": "[v2,1/6] net/iavf: fix scattered Rx enabling",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/11813/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/76050/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/76050/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 404B6A04B1;\n\tThu, 27 Aug 2020 03:15:01 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 372141BECB;\n\tThu, 27 Aug 2020 03:14:56 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id B0CDF2AB\n for <dev@dpdk.org>; Thu, 27 Aug 2020 03:14:52 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Aug 2020 18:14:51 -0700",
            "from intel-npg-odc-srv01.cd.intel.com ([10.240.178.136])\n by orsmga002.jf.intel.com with ESMTP; 26 Aug 2020 18:14:50 -0700"
        ],
        "IronPort-SDR": [
            "\n 9HCJY8AQnvo8HuN8aKjc9khfO4aLkIwT5NKpKnN50v+YDGkZRE57GIPXj2xxVELd1BCAOBPVs9\n NoRye1PdHY8Q==",
            "\n 0tpwPt1VIPxYumR/QxY8H1SHbZcbh4ztKayli9LOm5Kpt4biE3qTPlezHSPEXFGNilGuTHCKW/\n 7b01j4E/uFYQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9725\"; a=\"153826994\"",
            "E=Sophos;i=\"5.76,357,1592895600\"; d=\"scan'208\";a=\"153826994\"",
            "E=Sophos;i=\"5.76,357,1592895600\"; d=\"scan'208\";a=\"313066080\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "SteveX Yang <stevex.yang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qiming.yang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com,\n SteveX Yang <stevex.yang@intel.com>",
        "Date": "Thu, 27 Aug 2020 01:14:05 +0000",
        "Message-Id": "<20200827011410.18401-2-stevex.yang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200827011410.18401-1-stevex.yang@intel.com>",
        "References": "<20200811075910.20954-1-stevex.yang@intel.com>\n <20200827011410.18401-1-stevex.yang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 1/6] net/iavf: fix scattered Rx enabling",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "No need to add additional vlan tag size for max packet size, since\nfor i40e, the queue's Rx Max Frame Size (rxq->max_pkt_len) already\nincludes the vlan header size.\n\nFixes: 69dd4c3d0898 (\"net/avf: enable queue and device\")\n\nSigned-off-by: SteveX Yang <stevex.yang@intel.com>\n---\n drivers/net/iavf/iavf_ethdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c\nindex c3aa4cd72..f9dd5710c 100644\n--- a/drivers/net/iavf/iavf_ethdev.c\n+++ b/drivers/net/iavf/iavf_ethdev.c\n@@ -253,7 +253,7 @@ iavf_init_rxq(struct rte_eth_dev *dev, struct iavf_rx_queue *rxq)\n \n \trxq->max_pkt_len = max_pkt_len;\n \tif ((dev_data->dev_conf.rxmode.offloads & DEV_RX_OFFLOAD_SCATTER) ||\n-\t    (rxq->max_pkt_len + 2 * IAVF_VLAN_TAG_SIZE) > buf_size) {\n+\t    rxq->max_pkt_len > buf_size) {\n \t\tdev_data->scattered_rx = 1;\n \t}\n \tIAVF_PCI_REG_WRITE(rxq->qrx_tail, rxq->nb_rx_desc - 1);\n",
    "prefixes": [
        "v2",
        "1/6"
    ]
}