Show a patch.

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

{
    "id": 44854,
    "url": "http://patches.dpdk.org/api/patches/44854/",
    "web_url": "http://patches.dpdk.org/patch/44854/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1537277516-8876-12-git-send-email-hemant.agrawal@nxp.com>",
    "date": "2018-09-18T13:31:54",
    "name": "[v2,11/13] net/dpaa: tune prefetch in Rx path",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "594f6db56cff31e74fcc7500557b823f6b0da94f",
    "submitter": {
        "id": 477,
        "url": "http://patches.dpdk.org/api/people/477/",
        "name": "Hemant Agrawal",
        "email": "hemant.agrawal@nxp.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "http://patches.dpdk.org/patch/44854/mbox/",
    "series": [
        {
            "id": 1371,
            "url": "http://patches.dpdk.org/api/series/1371/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1371",
            "date": "2018-09-18T13:31:43",
            "name": "NXP DPAA driver enhancements",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/1371/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44854/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44854/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "In-Reply-To": "<1537277516-8876-1-git-send-email-hemant.agrawal@nxp.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Mailer": "git-send-email 2.7.4",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5C7685F13;\n\tTue, 18 Sep 2018 15:34:19 +0200 (CEST)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby dpdk.org (Postfix) with ESMTP id 9F01B559A\n\tfor <dev@dpdk.org>; Tue, 18 Sep 2018 15:34:07 +0200 (CEST)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 84BF9200037;\n\tTue, 18 Sep 2018 15:34:07 +0200 (CEST)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6986320000D;\n\tTue, 18 Sep 2018 15:34:05 +0200 (CEST)",
            "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n\t[10.232.134.28])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 250FF4031D;\n\tTue, 18 Sep 2018 21:34:02 +0800 (SGT)"
        ],
        "References": "<1535539660-20228-2-git-send-email-hemant.agrawal@nxp.com>\n\t<1537277516-8876-1-git-send-email-hemant.agrawal@nxp.com>",
        "Delivered-To": "patchwork@dpdk.org",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<1537277516-8876-12-git-send-email-hemant.agrawal@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Precedence": "list",
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@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>",
        "To": "dev@dpdk.org,\n\tthomas@monjalon.net,\n\tferruh.yigit@intel.com",
        "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>",
        "Date": "Tue, 18 Sep 2018 19:01:54 +0530",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH v2 11/13] net/dpaa: tune prefetch in Rx path"
    },
    "content": "As part of performance optimization excercise, tuning\nthe prefetch placement.\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n drivers/net/dpaa/dpaa_rxtx.c | 7 +++----\n 1 file changed, 3 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c\nindex 2c57741..c4471c2 100644\n--- a/drivers/net/dpaa/dpaa_rxtx.c\n+++ b/drivers/net/dpaa/dpaa_rxtx.c\n@@ -370,10 +370,6 @@ dpaa_eth_fd_to_mbuf(const struct qm_fd *fd, uint32_t ifid)\n \tif (unlikely(format == qm_fd_sg))\n \t\treturn dpaa_eth_sg_to_mbuf(fd, ifid);\n \n-\tptr = DPAA_MEMPOOL_PTOV(bp_info, qm_fd_addr(fd));\n-\n-\trte_prefetch0((void *)((uint8_t *)ptr + DEFAULT_RX_ICEOF));\n-\n \toffset = (fd->opaque & DPAA_FD_OFFSET_MASK) >> DPAA_FD_OFFSET_SHIFT;\n \tlength = fd->opaque & DPAA_FD_LENGTH_MASK;\n \n@@ -381,8 +377,11 @@ dpaa_eth_fd_to_mbuf(const struct qm_fd *fd, uint32_t ifid)\n \n \t/* Ignoring case when format != qm_fd_contig */\n \tdpaa_display_frame(fd);\n+\tptr = DPAA_MEMPOOL_PTOV(bp_info, qm_fd_addr(fd));\n \n \tmbuf = (struct rte_mbuf *)((char *)ptr - bp_info->meta_data_size);\n+\t/* Prefetch the Parse results and packet data to L1 */\n+\trte_prefetch0((void *)((uint8_t *)ptr + DEFAULT_RX_ICEOF));\n \n \tmbuf->data_off = offset;\n \tmbuf->data_len = length;\n",
    "prefixes": [
        "v2",
        "11/13"
    ]
}