Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/110895/?format=api
https://patches.dpdk.org/api/patches/110895/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220508074839.6965-26-ndabilpuram@marvell.com/", "project": { "id": 1, "url": "https://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": "<20220508074839.6965-26-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220508074839.6965-26-ndabilpuram@marvell.com", "date": "2022-05-08T07:48:37", "name": "[v5,26/28] net/cnxk: fix multi-seg extraction in vwqe path", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "9ba5bb615000507165e4c9ad21b4c04624d1ecca", "submitter": { "id": 1202, "url": "https://patches.dpdk.org/api/people/1202/?format=api", "name": "Nithin Dabilpuram", "email": "ndabilpuram@marvell.com" }, "delegate": { "id": 310, "url": "https://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220508074839.6965-26-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 22839, "url": "https://patches.dpdk.org/api/series/22839/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22839", "date": "2022-05-08T07:48:12", "name": "[v5,01/28] common/cnxk: add multi channel support for SDP send queues", "version": 5, "mbox": "https://patches.dpdk.org/series/22839/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/110895/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/110895/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 EE079A050C;\n\tSun, 8 May 2022 09:51:26 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F0C85428A1;\n\tSun, 8 May 2022 09:49:59 +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 2F49E42851;\n Sun, 8 May 2022 09:49:58 +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 2485IMOS008735;\n Sun, 8 May 2022 00:49:57 -0700", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3fwy5j13tn-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Sun, 08 May 2022 00:49:57 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Sun, 8 May 2022 00:49:55 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Sun, 8 May 2022 00:49:55 -0700", "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 23A753F7050;\n Sun, 8 May 2022 00:49:52 -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=wX36c82PHP/F0scUO82OsXhu4dAi4UrYsCSnEFQz9Pg=;\n b=HaJvW3JHz0FoBK4TyqNSnaT0ML6oVq+2cb63f8qnLYGeGwwbQXTj/3INX5Q8f4ko6FN0\n ETDaAn+OnqDR7FIf7vIU/DUsswzUgW1fkqZsi31FeAl+s4UTEJXbFizNXqRd1yGe0fHc\n NTydfjH8XThBU/Cn6i1DUVPLMwmaIRVCsy4n3r20g9d/Ct747VItsnPxwwH0ByVh28fo\n Weurq6PiBbY3fvy37tCw/kW2rABQyI5PqBJauou6vo/3TIK7kFO0l5pQUbM4r8SB675u\n HbccaZ+pP07HUNjgkMIeQwLsZdrqylu7o8erGki0L4vUSV/k5vkdG4RyBQPrTMHqCE+h rA==", "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>", "To": "<jerinj@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, \"Kiran\n Kumar K\" <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>,\n Satha Rao <skoteshwar@marvell.com>", "CC": "<dev@dpdk.org>, <pbhagavatula@marvell.com>, <stable@dpdk.org>", "Subject": "[PATCH v5 26/28] net/cnxk: fix multi-seg extraction in vwqe path", "Date": "Sun, 8 May 2022 13:18:37 +0530", "Message-ID": "<20220508074839.6965-26-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "In-Reply-To": "<20220508074839.6965-1-ndabilpuram@marvell.com>", "References": "<20220419055921.10566-1-ndabilpuram@marvell.com>\n <20220508074839.6965-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "OZrvEA_Us55RIC4AHgWpXPw7f3KlrEft", "X-Proofpoint-GUID": "OZrvEA_Us55RIC4AHgWpXPw7f3KlrEft", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-05-08_02,2022-05-06_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": "Fix multi-seg extraction in vwqe path to avoid updating mbuf[]\narray until it is used via cq0 path.\n\nFixes: 7fbbc981d54f (\"event/cnxk: support vectorized Rx event fast path\")\nCc: pbhagavatula@marvell.com\nCc: stable@dpdk.org\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\nAcked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\n---\n drivers/net/cnxk/cn10k_rx.h | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/cnxk/cn10k_rx.h b/drivers/net/cnxk/cn10k_rx.h\nindex 00bec01..5ecb20f 100644\n--- a/drivers/net/cnxk/cn10k_rx.h\n+++ b/drivers/net/cnxk/cn10k_rx.h\n@@ -1673,10 +1673,6 @@ cn10k_nix_recv_pkts_vector(void *args, struct rte_mbuf **mbufs, uint16_t pkts,\n \t\tvst1q_u64((uint64_t *)mbuf2->rearm_data, rearm2);\n \t\tvst1q_u64((uint64_t *)mbuf3->rearm_data, rearm3);\n \n-\t\t/* Store the mbufs to rx_pkts */\n-\t\tvst1q_u64((uint64_t *)&mbufs[packets], mbuf01);\n-\t\tvst1q_u64((uint64_t *)&mbufs[packets + 2], mbuf23);\n-\n \t\tif (flags & NIX_RX_MULTI_SEG_F) {\n \t\t\t/* Multi segment is enable build mseg list for\n \t\t\t * individual mbufs in scalar mode.\n@@ -1695,6 +1691,10 @@ cn10k_nix_recv_pkts_vector(void *args, struct rte_mbuf **mbufs, uint16_t pkts,\n \t\t\t\t\t mbuf3, mbuf_initializer, flags);\n \t\t}\n \n+\t\t/* Store the mbufs to rx_pkts */\n+\t\tvst1q_u64((uint64_t *)&mbufs[packets], mbuf01);\n+\t\tvst1q_u64((uint64_t *)&mbufs[packets + 2], mbuf23);\n+\n \t\t/* Mark mempool obj as \"get\" as it is alloc'ed by NIX */\n \t\tRTE_MEMPOOL_CHECK_COOKIES(mbuf0->pool, (void **)&mbuf0, 1, 1);\n \t\tRTE_MEMPOOL_CHECK_COOKIES(mbuf1->pool, (void **)&mbuf1, 1, 1);\n", "prefixes": [ "v5", "26/28" ] }{ "id": 110895, "url": "