get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84042,
    "url": "http://patches.dpdk.org/api/patches/84042/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201112055154.40369-1-leyi.rong@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": "<20201112055154.40369-1-leyi.rong@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201112055154.40369-1-leyi.rong@intel.com",
    "date": "2020-11-12T05:51:54",
    "name": "net/iavf: fix performance drop after port reset",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "15c050b159faf583053a5c4c45c44fb331cac7da",
    "submitter": {
        "id": 1204,
        "url": "http://patches.dpdk.org/api/people/1204/?format=api",
        "name": "Leyi Rong",
        "email": "leyi.rong@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201112055154.40369-1-leyi.rong@intel.com/mbox/",
    "series": [
        {
            "id": 13828,
            "url": "http://patches.dpdk.org/api/series/13828/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13828",
            "date": "2020-11-12T05:51:54",
            "name": "net/iavf: fix performance drop after port reset",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13828/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/84042/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/84042/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 7C0C3A09D3;\n\tThu, 12 Nov 2020 07:09:01 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 117B4592C;\n\tThu, 12 Nov 2020 07:09:00 +0100 (CET)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id 211765928\n for <dev@dpdk.org>; Thu, 12 Nov 2020 07:08:57 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Nov 2020 22:08:55 -0800",
            "from dpdk-lrong-srv-04.sh.intel.com ([10.67.119.221])\n by orsmga005.jf.intel.com with ESMTP; 11 Nov 2020 22:08:51 -0800"
        ],
        "IronPort-SDR": [
            "\n +5CtEzKpaUtDH8005qdhVp/jvy3nIRdPrxz4bRVDTSE525XiPDRP7lmu98/SGXcja0mQmZxQY9\n 1cTPoSqQYSnQ==",
            "\n A76eVEOJGUSIv/6/2UCwxNgjyAZaOhv9++eK9laRaHefNW3KHUVzMT79dza5VjToPiHT9eG45S\n wToZ4p0gh/bA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9802\"; a=\"150114906\"",
            "E=Sophos;i=\"5.77,471,1596524400\"; d=\"scan'208\";a=\"150114906\"",
            "E=Sophos;i=\"5.77,471,1596524400\"; d=\"scan'208\";a=\"542121996\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Leyi Rong <leyi.rong@intel.com>",
        "To": "qi.z.zhang@intel.com, wenzhuo.lu@intel.com, jingjing.wu@intel.com,\n beilei.xing@intel.com",
        "Cc": "dev@dpdk.org,\n\tLeyi Rong <leyi.rong@intel.com>",
        "Date": "Thu, 12 Nov 2020 13:51:54 +0800",
        "Message-Id": "<20201112055154.40369-1-leyi.rong@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] net/iavf: fix performance drop after port reset",
        "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": "Needs to reset rxq->rxrearm_start to 0 when reset_rx_queue(),\notherwise, the random value of rxrearm_start will cause performance drop\ndue to L3 contested accesses.\n\nFixes: 69dd4c3d0898 (\"net/avf: enable queue and device\")\n\nSigned-off-by: Leyi Rong <leyi.rong@intel.com>\n---\n drivers/net/iavf/iavf_rxtx.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c\nindex 8f43208c80..21d508b3f4 100644\n--- a/drivers/net/iavf/iavf_rxtx.c\n+++ b/drivers/net/iavf/iavf_rxtx.c\n@@ -195,6 +195,7 @@ reset_rx_queue(struct iavf_rx_queue *rxq)\n \trxq->pkt_first_seg = NULL;\n \trxq->pkt_last_seg = NULL;\n \trxq->rxrearm_nb = 0;\n+\trxq->rxrearm_start = 0;\n }\n \n static inline void\n",
    "prefixes": []
}