get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43962,
    "url": "http://patches.dpdk.org/api/patches/43962/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1535539660-20228-11-git-send-email-hemant.agrawal@nxp.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": "<1535539660-20228-11-git-send-email-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1535539660-20228-11-git-send-email-hemant.agrawal@nxp.com",
    "date": "2018-08-29T10:47:37",
    "name": "[10/13] net/dpaa: separate Rx function for LS1046",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "001fd28a104173a42ca60855c90c09d8835e0be0",
    "submitter": {
        "id": 477,
        "url": "http://patches.dpdk.org/api/people/477/?format=api",
        "name": "Hemant Agrawal",
        "email": "hemant.agrawal@nxp.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1535539660-20228-11-git-send-email-hemant.agrawal@nxp.com/mbox/",
    "series": [
        {
            "id": 1090,
            "url": "http://patches.dpdk.org/api/series/1090/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1090",
            "date": "2018-08-29T10:47:27",
            "name": "driver/net: NXP DPAA driver enhancements",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1090/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43962/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43962/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Received-SPF": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Message-Id": "<1535539660-20228-11-git-send-email-hemant.agrawal@nxp.com>",
        "Cc": "dpdk-up@NXP1.onmicrosoft.com",
        "Subject": "[dpdk-dev] [PATCH 10/13] net/dpaa: separate Rx function for LS1046",
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.7.4",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=0hg8V2LlP9afyIJohDdIrDFFCzLnrS57KRv+EsR6KB8=;\n\tb=eUDyi2gHek8sFeFcVuLsdROOSa0WUGYwZFD1MsZa7LM1tCXjit4lM33bH6APNXzSJ5vl2WzfLraBWn4+EMDGWVGEGDxbqEvmqGXjigdWhKxFb2X1QXmuakHkVkk2RvCuFRne32v+Y65fg2a1ma3GKqx3UX/1WNRK7BdG5d9QdAo=",
        "Authentication-Results": "spf=none (sender IP is )\n\tsmtp.mailfrom=hemant.agrawal@nxp.com; ",
        "X-Mailman-Version": "2.1.15",
        "References": "<1535539660-20228-1-git-send-email-hemant.agrawal@nxp.com>",
        "In-Reply-To": "<1535539660-20228-1-git-send-email-hemant.agrawal@nxp.com>",
        "Precedence": "list",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "29 Aug 2018 10:49:55.4043\n\t(UTC)",
        "X-Exchange-Antispam-Report-Test": "UriScan:(185117386973197);",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Originating-IP": "[14.143.30.134]",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-Forefront-PRVS": "077929D941",
        "SpamDiagnosticMetadata": "NSPM",
        "Content-Type": "text/plain",
        "X-Microsoft-Antispam-Message-Info": "eGng4jQpZZ32DCEUMV2WCkrb+2+vot0mn9ueKCydg+BOKmM+FqYale1EPgeHkU7oNwmkTNxbc9ctYwpsuyMzPtgxfhR4EBwrG6+lB5aQOxU0YbXs4zlZjErE/x6xQmJLaMBX47vT4voAnN/0S4zeO6QIkWOvt9h8A/YVQXlxqkLNhrWKlK8Bt1msi1ZvspwUGNm6CWxQCe/sxWLnIcjtXjeho/s4WnLyo3lBnbPMsWCky6bOKL46aRLHj12cOjwixfGzZFA+Qkir2ERX3VdcSsv6QxOMzzFBYWXnsvsHBq7ww5zd4RrJplL04pwJdHKMrtB2OI4Iiq7iRxldWufp/LfyRVPMUpFEim5PK47cIgc=",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699016);\n\tSRVR:VI1PR0401MB2543; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2543; ",
        "X-OriginatorOrg": "nxp.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-MS-Office365-Filtering-Correlation-Id": "5ef62cf6-2373-4ac1-55ac-08d60d9d289d",
        "X-Original-To": "patchwork@dpdk.org",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; VI1PR0401MB2543;\n\t3:1RU7XFP1khhHSNMn7JWh//96J8AjcxuTvB0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709JJu1mtHzEkJqxyOuPRO7CH8IPYszVwoHTmYsk/tnN9S+KwjvZ2J6lVxki4Q2AwTbB5rCEzKvTniYin4TmaxdyvIge2JS6VKInjVTsoA4HOKAzegSf6PaPzYfyZtKEnTFEODwxIGhE3AuynW8f4fKA0CED3Rw+/EfhESfaMagTv/SczCRK9QjuwEa+uLjnN1vBk+XSh+K4YGplo9HMW4IoqQjdFP1lIFRXb3arppRU8NUZe0SA6HNBAM069+PoLUuyteksvcholKgkJ7XuRZ0sA6OqWRz/IUB9QGKX4QrKIlVkwg==;\n\t5:FVg2E4zpV2mctkzcGLq0kmqi/ZnrGX2YRxAtniobwHnhwr2A2mUlwgACuVE5UtC+jacXfwXpWQUQl9rlTZFUTGBhZWixP/FzamiN7cftDRsKKjL5+UI4GBFMV2Xr2ExNYvgJ9zMqlmswgurvLQzx0KGiuJFQb4bXiioQQbKqBv0=;\n\t7:3neGkaQ1gfPWSReItMmBYfC3clr2iDNmAameW9+iK7QfVorSMW2Zu9pv7bEUJmUt6bOgzeh60pjtiEvZBo6gNwe/epx5KLBc3SJAlotm8AjWEOBap4r3S5Qbdt+7B3Ackw2vdBqE9uESIQhm7a2pmHPS5PhwLKiGeD6WxrXOvX/94MN3xRi0vhC6AE1ChoaFACaVC81wTjhhfcmsR/Iv6GVdBhN9fKVi+0rolpVf87FePHqg8hVYu/B8vHjxudOS"
        ],
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VI1PR0401MB2543",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "5ef62cf6-2373-4ac1-55ac-08d60d9d289d",
        "Date": "Wed, 29 Aug 2018 16:17:37 +0530",
        "SpamDiagnosticOutput": "1:99",
        "X-ClientProxiedBy": "BM1PR0101CA0071.INDPRD01.PROD.OUTLOOK.COM\n\t(2603:1096:b00:19::33) To VI1PR0401MB2543.eurprd04.prod.outlook.com\n\t(2603:10a6:800:56::21)",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9E73A5B2C;\n\tWed, 29 Aug 2018 12:50:04 +0200 (CEST)",
            "from EUR02-AM5-obe.outbound.protection.outlook.com\n\t(mail-eopbgr00083.outbound.protection.outlook.com [40.107.0.83])\n\tby dpdk.org (Postfix) with ESMTP id 66A3058C6\n\tfor <dev@dpdk.org>; Wed, 29 Aug 2018 12:49:57 +0200 (CEST)",
            "from bf-netperf1.ap.freescale.net (14.143.30.134) by\n\tVI1PR0401MB2543.eurprd04.prod.outlook.com (2603:10a6:800:56::21) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17;\n\tWed, 29 Aug 2018 10:49:55 +0000"
        ],
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Microsoft-Antispam": "BCL:0; PCL:0;\n\tRULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4618075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);\n\tSRVR:VI1PR0401MB2543; ",
        "Delivered-To": "patchwork@dpdk.org",
        "MIME-Version": "1.0",
        "X-MS-TrafficTypeDiagnostic": "VI1PR0401MB2543:",
        "X-MS-PublicTrafficType": "Email",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-Microsoft-Antispam-PRVS": "<VI1PR0401MB2543B4CD0A68F79BB66ADF5089090@VI1PR0401MB2543.eurprd04.prod.outlook.com>",
        "X-MS-Exchange-CrossTenant-Id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "X-Forefront-Antispam-Report": "SFV:NSPM;\n\tSFS:(10009020)(346002)(136003)(366004)(396003)(39860400002)(376002)(189003)(199004)(6512007)(6486002)(16526019)(53936002)(486006)(186003)(11346002)(105586002)(6116002)(106356001)(5660300001)(50466002)(68736007)(5009440100003)(2616005)(25786009)(48376002)(386003)(4326008)(55236004)(6666003)(73566003)(86362001)(956004)(107886003)(446003)(3846002)(26005)(575784001)(6506007)(476003)(316002)(52116002)(50226002)(478600001)(47776003)(66066001)(8936002)(16586007)(76176011)(51416003)(97736004)(44832011)(81166006)(8676002)(7736002)(305945005)(36756003)(81156014)(2906002)(110426005);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2543;\n\tH:bf-netperf1.ap.freescale.net; \n\tFPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; ",
        "To": "dev@dpdk.org,\n\tferruh.yigit@intel.com"
    },
    "content": "This is to avoid the checks in datapath\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n drivers/net/dpaa/dpaa_ethdev.c |  9 +++++--\n drivers/net/dpaa/dpaa_rxtx.c   | 60 +++++++++++++++++++++++++++++++++---------\n drivers/net/dpaa/dpaa_rxtx.h   |  3 +++\n 3 files changed, 58 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c\nindex df72510..76cd0f7 100644\n--- a/drivers/net/dpaa/dpaa_ethdev.c\n+++ b/drivers/net/dpaa/dpaa_ethdev.c\n@@ -658,8 +658,13 @@ int dpaa_eth_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,\n \t\t\t\t\"ret:%d(%s)\", rxq->fqid, ret, strerror(ret));\n \t\t\treturn ret;\n \t\t}\n-\t\trxq->cb.dqrr_dpdk_pull_cb = dpaa_rx_cb;\n-\t\trxq->cb.dqrr_prepare = dpaa_rx_cb_prepare;\n+\t\tif (dpaa_svr_family == SVR_LS1043A_FAMILY) {\n+\t\t\trxq->cb.dqrr_dpdk_pull_cb = dpaa_rx_cb_no_prefetch;\n+\t\t} else {\n+\t\t\trxq->cb.dqrr_dpdk_pull_cb = dpaa_rx_cb;\n+\t\t\trxq->cb.dqrr_prepare = dpaa_rx_cb_prepare;\n+\t\t}\n+\n \t\trxq->is_static = true;\n \t}\n \tdev->data->rx_queues[queue_idx] = rxq;\ndiff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c\nindex 6698c97..2c57741 100644\n--- a/drivers/net/dpaa/dpaa_rxtx.c\n+++ b/drivers/net/dpaa/dpaa_rxtx.c\n@@ -398,8 +398,9 @@ dpaa_eth_fd_to_mbuf(const struct qm_fd *fd, uint32_t ifid)\n \treturn mbuf;\n }\n \n+/* Specific for LS1043 */\n void\n-dpaa_rx_cb(struct qman_fq **fq, struct qm_dqrr_entry **dqrr,\n+dpaa_rx_cb_no_prefetch(struct qman_fq **fq, struct qm_dqrr_entry **dqrr,\n \t   void **bufs, int num_bufs)\n {\n \tstruct rte_mbuf *mbuf;\n@@ -411,17 +412,13 @@ dpaa_rx_cb(struct qman_fq **fq, struct qm_dqrr_entry **dqrr,\n \tuint32_t length;\n \tuint8_t format;\n \n-\tif (dpaa_svr_family != SVR_LS1046A_FAMILY) {\n-\t\tbp_info = DPAA_BPID_TO_POOL_INFO(dqrr[0]->fd.bpid);\n-\t\tptr = rte_dpaa_mem_ptov(qm_fd_addr(&dqrr[0]->fd));\n-\t\trte_prefetch0((void *)((uint8_t *)ptr + DEFAULT_RX_ICEOF));\n-\t\tbufs[0] = (struct rte_mbuf *)((char *)ptr -\n-\t\t\t\tbp_info->meta_data_size);\n-\t}\n+\tbp_info = DPAA_BPID_TO_POOL_INFO(dqrr[0]->fd.bpid);\n+\tptr = rte_dpaa_mem_ptov(qm_fd_addr(&dqrr[0]->fd));\n+\trte_prefetch0((void *)((uint8_t *)ptr + DEFAULT_RX_ICEOF));\n+\tbufs[0] = (struct rte_mbuf *)((char *)ptr - bp_info->meta_data_size);\n \n \tfor (i = 0; i < num_bufs; i++) {\n-\t\tif (dpaa_svr_family != SVR_LS1046A_FAMILY &&\n-\t\t    i < num_bufs - 1) {\n+\t\tif (i < num_bufs - 1) {\n \t\t\tbp_info = DPAA_BPID_TO_POOL_INFO(dqrr[i + 1]->fd.bpid);\n \t\t\tptr = rte_dpaa_mem_ptov(qm_fd_addr(&dqrr[i + 1]->fd));\n \t\t\trte_prefetch0((void *)((uint8_t *)ptr +\n@@ -458,6 +455,46 @@ dpaa_rx_cb(struct qman_fq **fq, struct qm_dqrr_entry **dqrr,\n \t}\n }\n \n+void\n+dpaa_rx_cb(struct qman_fq **fq, struct qm_dqrr_entry **dqrr,\n+\t   void **bufs, int num_bufs)\n+{\n+\tstruct rte_mbuf *mbuf;\n+\tconst struct qm_fd *fd;\n+\tstruct dpaa_if *dpaa_intf;\n+\tuint16_t offset, i;\n+\tuint32_t length;\n+\tuint8_t format;\n+\n+\tfor (i = 0; i < num_bufs; i++) {\n+\t\tfd = &dqrr[i]->fd;\n+\t\tdpaa_intf = fq[0]->dpaa_intf;\n+\n+\t\tformat = (fd->opaque & DPAA_FD_FORMAT_MASK) >>\n+\t\t\t\tDPAA_FD_FORMAT_SHIFT;\n+\t\tif (unlikely(format == qm_fd_sg)) {\n+\t\t\tbufs[i] = dpaa_eth_sg_to_mbuf(fd, dpaa_intf->ifid);\n+\t\t\tcontinue;\n+\t\t}\n+\n+\t\toffset = (fd->opaque & DPAA_FD_OFFSET_MASK) >>\n+\t\t\t\tDPAA_FD_OFFSET_SHIFT;\n+\t\tlength = fd->opaque & DPAA_FD_LENGTH_MASK;\n+\n+\t\tmbuf = bufs[i];\n+\t\tmbuf->data_off = offset;\n+\t\tmbuf->data_len = length;\n+\t\tmbuf->pkt_len = length;\n+\t\tmbuf->port = dpaa_intf->ifid;\n+\n+\t\tmbuf->nb_segs = 1;\n+\t\tmbuf->ol_flags = 0;\n+\t\tmbuf->next = NULL;\n+\t\trte_mbuf_refcnt_set(mbuf, 1);\n+\t\tdpaa_eth_packet_info(mbuf, mbuf->buf_addr);\n+\t}\n+}\n+\n void dpaa_rx_cb_prepare(struct qm_dqrr_entry *dq, void **bufs)\n {\n \tstruct dpaa_bp_info *bp_info = DPAA_BPID_TO_POOL_INFO(dq->fd.bpid);\n@@ -468,8 +505,7 @@ void dpaa_rx_cb_prepare(struct qm_dqrr_entry *dq, void **bufs)\n \t * So we prefetch the annoation beforehand, so that it is available\n \t * in cache when accessed.\n \t */\n-\tif (dpaa_svr_family == SVR_LS1046A_FAMILY)\n-\t\trte_prefetch0((void *)((uint8_t *)ptr + DEFAULT_RX_ICEOF));\n+\trte_prefetch0((void *)((uint8_t *)ptr + DEFAULT_RX_ICEOF));\n \n \t*bufs = (struct rte_mbuf *)((char *)ptr - bp_info->meta_data_size);\n }\ndiff --git a/drivers/net/dpaa/dpaa_rxtx.h b/drivers/net/dpaa/dpaa_rxtx.h\nindex 6de70a7..75b093c 100644\n--- a/drivers/net/dpaa/dpaa_rxtx.h\n+++ b/drivers/net/dpaa/dpaa_rxtx.h\n@@ -270,4 +270,7 @@ void dpaa_rx_cb(struct qman_fq **fq,\n \t\tstruct qm_dqrr_entry **dqrr, void **bufs, int num_bufs);\n \n void dpaa_rx_cb_prepare(struct qm_dqrr_entry *dq, void **bufs);\n+\n+void dpaa_rx_cb_no_prefetch(struct qman_fq **fq,\n+\t\t    struct qm_dqrr_entry **dqrr, void **bufs, int num_bufs);\n #endif\n",
    "prefixes": [
        "10/13"
    ]
}