Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/112845/?format=api
http://patches.dpdk.org/api/patches/112845/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220616070743.30658-12-ndabilpuram@marvell.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": "<20220616070743.30658-12-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220616070743.30658-12-ndabilpuram@marvell.com", "date": "2022-06-16T07:07:43", "name": "[12/12] event/cnxk: offset timestamp data only if enabled on port", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "b555ed29d706003c26c8f989f0b7b0a29c0aa34f", "submitter": { "id": 1202, "url": "http://patches.dpdk.org/api/people/1202/?format=api", "name": "Nithin Dabilpuram", "email": "ndabilpuram@marvell.com" }, "delegate": { "id": 310, "url": "http://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220616070743.30658-12-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 23552, "url": "http://patches.dpdk.org/api/series/23552/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=23552", "date": "2022-06-16T07:07:32", "name": "[01/12] common/cnxk: use computed value for wqe skip", "version": 1, "mbox": "http://patches.dpdk.org/series/23552/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/112845/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/112845/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 69202A00C3;\n\tThu, 16 Jun 2022 09:10:43 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 10D6A42C07;\n\tThu, 16 Jun 2022 09:10:16 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id B06B542BFB\n for <dev@dpdk.org>; Thu, 16 Jun 2022 09:10:12 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 25G2AMm5013083\n for <dev@dpdk.org>; Thu, 16 Jun 2022 00:10:11 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3gq83yx522-10\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 16 Jun 2022 00:10:11 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Thu, 16 Jun 2022 00:10:09 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Thu, 16 Jun 2022 00:10:09 -0700", "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 929FC3F70C9;\n Thu, 16 Jun 2022 00:10:01 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-type; s=pfpt0220; bh=IeB5o4dsysxJE3F+JgrVRYIHtWYRjAI3KF0CjkQghJ8=;\n b=QpYr3xRp/OiFeMZs5QEHiySpfAdA1HoxBCNTk4+2M/OkW4rOfVcZ1hU6EsDmNDwR8AIF\n Q1NXQdFVF65225pP4Onb2O/Oh2+JZT3+6Nj+0juVwI60Fe+eBCk28K7ueYdeDVZavetf\n 0ptJZULlJPB8lxHdryvZiSwjk2UlV8jQG7SyVSule5QTXhXvYJL1Cc72eClrNMLpQQkH\n EscVR/agaDTdA9YHculWlqseS0PDiMvaNt1/UWtyR5yDZ1IewF3ImX3Y5xEj0tyZ8427\n XXltMDE7Hsz0zgML1+M+fkWqRPLPfwgVDTv7HYXxiL9zcm2AfF7hYbt62TL0daIZosxE Kw==", "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>", "To": "<jerinj@marvell.com>, Pavan Nikhilesh <pbhagavatula@marvell.com>, \"Shijith\n Thotton\" <sthotton@marvell.com>", "CC": "<dev@dpdk.org>, <skoteshwar@marvell.com>, <skori@marvell.com>, \"Nithin\n Dabilpuram\" <ndabilpuram@marvell.com>", "Subject": "[PATCH 12/12] event/cnxk: offset timestamp data only if enabled on\n port", "Date": "Thu, 16 Jun 2022 12:37:43 +0530", "Message-ID": "<20220616070743.30658-12-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "In-Reply-To": "<20220616070743.30658-1-ndabilpuram@marvell.com>", "References": "<20220616070743.30658-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "PpwdGeW-owkY5TShI2RmN6GsZAavhek3", "X-Proofpoint-GUID": "PpwdGeW-owkY5TShI2RmN6GsZAavhek3", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514\n definitions=2022-06-16_03,2022-06-15_01,2022-02-23_01", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "Offset timestamp data only when enabled on the port instead of\njust checking for offload flags.\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/event/cnxk/cn10k_worker.h | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/event/cnxk/cn10k_worker.h b/drivers/event/cnxk/cn10k_worker.h\nindex 034f508..7412a1b 100644\n--- a/drivers/event/cnxk/cn10k_worker.h\n+++ b/drivers/event/cnxk/cn10k_worker.h\n@@ -112,8 +112,7 @@ static __rte_always_inline void\n cn10k_process_vwqe(uintptr_t vwqe, uint16_t port_id, const uint32_t flags,\n \t\t void *lookup_mem, void *tstamp, uintptr_t lbase)\n {\n-\tuint64_t mbuf_init = 0x100010000ULL | RTE_PKTMBUF_HEADROOM |\n-\t\t\t (flags & NIX_RX_OFFLOAD_TSTAMP_F ? 8 : 0);\n+\tuint64_t mbuf_init = 0x100010000ULL | RTE_PKTMBUF_HEADROOM;\n \tstruct rte_event_vector *vec;\n \tuint64_t aura_handle, laddr;\n \tuint16_t nb_mbufs, non_vec;\n@@ -133,6 +132,9 @@ cn10k_process_vwqe(uintptr_t vwqe, uint16_t port_id, const uint32_t flags,\n \tfor (i = OBJS_PER_CLINE; i < vec->nb_elem; i += OBJS_PER_CLINE)\n \t\trte_prefetch0(&vec->ptrs[i]);\n \n+\tif (flags & NIX_RX_OFFLOAD_TSTAMP_F && tstamp)\n+\t\tmbuf_init |= 8;\n+\n \tnb_mbufs = RTE_ALIGN_FLOOR(vec->nb_elem, NIX_DESCS_PER_LOOP);\n \tnb_mbufs = cn10k_nix_recv_pkts_vector(&mbuf_init, wqe, nb_mbufs,\n \t\t\t\t\t flags | NIX_RX_VWQE_F, lookup_mem,\n", "prefixes": [ "12/12" ] }{ "id": 112845, "url": "