get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75365,
    "url": "http://patches.dpdk.org/api/patches/75365/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200811062917.7007-2-stevex.yang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20200811062917.7007-2-stevex.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200811062917.7007-2-stevex.yang@intel.com",
    "date": "2020-08-11T06:29:11",
    "name": "[1/7] net/iavf: fix scattered Rx enabling",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "03c31999ec79a8dd4cc8f142a5b2a5b014ba9272",
    "submitter": {
        "id": 1883,
        "url": "http://patches.dpdk.org/api/people/1883/?format=api",
        "name": "Steve Yang",
        "email": "stevex.yang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200811062917.7007-2-stevex.yang@intel.com/mbox/",
    "series": [
        {
            "id": 11583,
            "url": "http://patches.dpdk.org/api/series/11583/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11583",
            "date": "2020-08-11T06:29:10",
            "name": "Bugs Porting from I40evf For IAVF Feature",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11583/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75365/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/75365/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 A7704A04D8;\n\tTue, 11 Aug 2020 08:49:30 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 874E11C01F;\n\tTue, 11 Aug 2020 08:49:30 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by dpdk.org (Postfix) with ESMTP id 75BD31C00D\n for <dev@dpdk.org>; Tue, 11 Aug 2020 08:49:28 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Aug 2020 23:49:26 -0700",
            "from intel-npg-odc-srv01.cd.intel.com ([10.240.178.134])\n by fmsmga001.fm.intel.com with ESMTP; 10 Aug 2020 23:49:25 -0700"
        ],
        "IronPort-SDR": [
            "\n yWEMOwdmIvcDkFjamda/QvcXdrKKP3wp3ns8YSMGNqLnwLy04kEKV/ndrjRd9vWJPPnSxocZ4G\n AdZdUnDOyQuw==",
            "\n 9w3EE83yZ8msbP4Vadbn4nRD0SPycum1Br2ygBtUTIdX8TH+gz0CG1UZ5QLoE1sfKv6MKS4+Rr\n nXiAT2y4A/ew=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9709\"; a=\"171722150\"",
            "E=Sophos;i=\"5.75,460,1589266800\"; d=\"scan'208\";a=\"171722150\"",
            "E=Sophos;i=\"5.75,460,1589266800\"; d=\"scan'208\";a=\"398445735\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "SteveX Yang <stevex.yang@intel.com>",
        "To": "jingjing.wu@intel.com,\n\tbeilei.xing@intel.com,\n\tdev@dpdk.org",
        "Cc": "SteveX Yang <stevex.yang@intel.com>",
        "Date": "Tue, 11 Aug 2020 06:29:11 +0000",
        "Message-Id": "<20200811062917.7007-2-stevex.yang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200811062917.7007-1-stevex.yang@intel.com>",
        "References": "<20200811062917.7007-1-stevex.yang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 1/7] 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": [
        "1/7"
    ]
}