From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4877B46BE7 for ; Tue, 22 Jul 2025 15:27:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3DA014003C; Tue, 22 Jul 2025 15:27:50 +0200 (CEST) Received: from egress-ip11a.ess.de.barracuda.com (egress-ip11a.ess.de.barracuda.com [18.184.203.234]) by mails.dpdk.org (Postfix) with ESMTP id 248644003C for ; Tue, 22 Jul 2025 15:27:48 +0200 (CEST) Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11021099.outbound.protection.outlook.com [52.101.65.99]) by mx-outbound10-106.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 22 Jul 2025 13:27:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=trrIsx6SrKbPWM0Dnope4bf4nIJ6J8G+cIBeh+WhzyqhWKxYuyuVDDDojLwGu56Yrmjf42qi+9LQ6Q3OTVcBUpVzeZ+9rKNMzok4Z/RJUCUt44ZwA+cHt/04Y40K3BEH0ut76v3FHhcKia7OFnbSmkFEpyOvA2UNcBPKXXWnp40uuOlXqLPQUfruZPxAzxnziiDN92LoNCRDse4nJ5ASUEwGCo3i3nQDLIzyTIiYrn6ka3sThz2JgWan+ve4+IeHIfz7F1ZMU3kD1wLqmAXp3HssoQHM0Ev8qhnI4MuLRGxXK6qhVGe247R26q/3x3MVENRq/4sClLQxikH4wIWoxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=N0l7k+udxWLFR9Kzey9RaQL/sr0AbLtwn3rw5wjAgg8=; b=rDM3qQJZCh6Lxr2OGA6T1u4nZRr9Nxa4VOHaNDVsIn30sFjgV9NnfR/FAIkbG/bDfLyPPEasRygC2CXXogZKwV1EPYBRkrmS4Mu7OBRq1ynmB6o7+AGbdbESsmtEKRKwSrV75eTCWkUUCclu35WcfCizq9luzHAg4vgxF01FfqGEx27eEzUQvT9RhH4sFslkM/60iTMyObRfJEOjpj1eld1uGrtkzXNRsKJE6CIQtm6Lw1vYn+mQwfDA4uFs38yyfRJbZGczaZ+pLvGu6stmawriIH8AY9+V55GvmOxXqxaHEIlGC/B2l36Nv9nBfcceFUVPNip1PVC8T08eUyvNWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=napatech.com; dmarc=pass action=none header.from=napatech.com; dkim=pass header.d=napatech.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=napatech.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N0l7k+udxWLFR9Kzey9RaQL/sr0AbLtwn3rw5wjAgg8=; b=NaVQDnOmYxBS7RuYMjOn2gaG2jKTbkjOYiXoteJrPmCCnBbiQO7ycsv7HB6iO2USh0Ui29sloK2keMKSzfuN1V438eCS6HKeuT6qLLUXMjiy0dwjkXKttdBv9p2krf6jDLgoREJLr055+Wge/RtYUI3Avq3w5Cw6PZ7e3to7XjM= Received: from VE1P190MB0830.EURP190.PROD.OUTLOOK.COM (2603:10a6:800:1a9::5) by AS8P190MB1096.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:2b4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8964.21; Tue, 22 Jul 2025 13:27:43 +0000 Received: from VE1P190MB0830.EURP190.PROD.OUTLOOK.COM ([fe80::fb19:d808:3eac:2ea3]) by VE1P190MB0830.EURP190.PROD.OUTLOOK.COM ([fe80::fb19:d808:3eac:2ea3%5]) with mapi id 15.20.8943.029; Tue, 22 Jul 2025 13:27:43 +0000 From: Serhii Iliushyk To: Kevin Traynor CC: dpdk stable Subject: Re: patch 'net/ntnic: fix ring queue operation' has been queued to stable release 24.11.3 Thread-Topic: patch 'net/ntnic: fix ring queue operation' has been queued to stable release 24.11.3 Thread-Index: AQHb+BsUzE+1/8bBEEqPXyXZgLZ/zLQ+KHXF Date: Tue, 22 Jul 2025 13:27:43 +0000 Message-ID: References: <20250718193247.1008129-1-ktraynor@redhat.com> <20250718193247.1008129-61-ktraynor@redhat.com> In-Reply-To: <20250718193247.1008129-61-ktraynor@redhat.com> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=napatech.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: VE1P190MB0830:EE_|AS8P190MB1096:EE_ x-ms-office365-filtering-correlation-id: f57fac28-290f-499c-f348-08ddc9238a41 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|7053199007|8096899003|13003099007|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?YuQaXTV2uDDYKfmwNk76C+mPvK/qwxgjhUFIj9244LIneOhtGarqalL77A?= =?iso-8859-1?Q?yR3EiQR/+ICqbXap/oJw65m0z8SGR1kFZ5nAA3he4SDDXMg5YiI5TZUJPm?= =?iso-8859-1?Q?5GsTb71JK215eOdOnNZJN2Hge+17/uwi3Uc0gEHf5EP38Umo6wT38bROc9?= =?iso-8859-1?Q?Z7hay0BtZiGsDE7qBFtUUgqTvojVYQxFGeel6sCxIvw9XMOVzpvoB34K6Q?= =?iso-8859-1?Q?Ab1H/cpw4xlevMIo8dFGyz2ls/+lFL0H6vHaGeUBVWFmPsnspQo+Dh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dWrpjAf+kIiWPjKFnGlCzHh?= =?iso-8859-1?Q?oQPIW7jN3wb8fJU30goWraSrIn3DWi+YFD7fCSLs2H7Sb5eO4Qehh92SUH?= =?iso-8859-1?Q?aNTGi0if1dHASGtT1KZPFIMrK5OkowWLVuB6npw15xahmpTavS/NjaRoMu?= =?iso-8859-1?Q?MSVBiqeXzfcSXaR4svpzNGybwwK8dBIGtPgUq9mm+pLRD+XwdNNd/EHiGT?= =?iso-8859-1?Q?NFUsacnBzg/9MnqYPUGpcNHJhm0BQLKT3PQl7j8pXOaIy5vQoJvnhAyos9?= =?iso-8859-1?Q?V863pIqTO3VvJl7UEWdmbveuIiE48bH3E7//MlrlKNhtMZycymMchMFjTR?= =?iso-8859-1?Q?0=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1P190MB0830.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(7053199007)(8096899003)(13003099007)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?ZSy2RjJYAu3MTAuz/Wj6qR2j7I1yOX8rC7pos8z5uhBsgr5ER93J/Wk06j?= =?iso-8859-1?Q?zuZZG8MPstR+aODKZm72lngylwEl3+1KO7P/tlhAoJZ0i+BtVtyZMq8lg3?= =?iso-8859-1?Q?YqfDMzG/IpDAcRoJWcgRirlmRqIUJCQrQgemR+FiDXLDYWRgmFmkeA/MSm?= =?iso-8859-1?Q?jFHybsV6QAMZw8lAQZK8lIooedVZmzeE4Z9yZ4gfo68Mm+lKlEaMEeDGRJ?= =?iso-8859-1?Q?/bMYRglZfiQ/Mixlj4D5oVmSPTHCR6rcYV8ApY5dzBiYouJJVen7AzAK92?= =?iso-8859-1?Q?eX1pVKpQBEBdyUL5ln3kj5fQkVYFSt7dI3Yt2cNz/dnWyQGMl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rwszvW9sGLCqeaHZX46b7NXQolXor+ntiGF4qXn03y+F?= =?iso-8859-1?Q?8/D5rLYvJ84YgGJjY76u86YJ3mqhNUcyB4KXPapXU5nE+85Jnb1qRzXCNw?= =?iso-8859-1?Q?ncZKnSZxfFrM4Eoo30WIE2fbllbG4NQAgmcOqT3+TW1rS5TT0fDWqUb9K0?= =?iso-8859-1?Q?pDPItHEdoFKd7lck5tPSdgkkMA0UYBLvDJGrwDmqPOfnW/02/s6/nqZQ+h?= =?iso-8859-1?Q?WfMIsdWhKeHpYbFXBZNL0+EIEP1krhj42Jx2rF+0lHy20M2BFrNSu/XMNF?= =?iso-8859-1?Q?VHls2OXuwRvFtWgsuRHdt9QDnAaXaFBZ/kS65Dmn3+uK4bVwdCIhzrSHiU?= =?iso-8859-1?Q?nYzKAofk5nAsHhLsJdsfuvSL17ADihh+ASiZJgG3y1iFDpXHWkXkTGFlXA?= =?iso-8859-1?Q?i2fKxNWAzHoB8JPctIFpmSpwy9TI0zzgud?= Content-Type: multipart/alternative; boundary="_000_VE1P190MB0830663F51EAD2E6586E0B56805CAVE1P190MB0830EURP_" MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: usuXrtMOWIypfAHw7itaFbw2iBGaUaRS/8m9HWt2JpWGpimXt2SNB7F0v/EL+AjOX+30xPLgDSpWAlULwOb00zJYbKGS51vm+f1oUWEWYAjTYoFrgE9A7GVuMkBKbNikbHiJ02bkNPq5S8oWb0lsHkfoBt4Y1rb4IfByOqG2dCsKcvfIxyzSfUuC+WFuYJ5oB7U3BINawIk30g0W0vTpB6teGRddQsn7lvI1M1XJShBEX87FBu1RDHCw0YEIjY+o67FceH4caItlEHxIqhUo42Ms/uYRpR43+HUtjRFtmBK0qNv3XwTDZxLNiFi8l3T/m73TZ5iFEfoxl6ieW07HGR/b+u5Pna2sfZo5sqKNYb2bF9M9yZdktBq0ta4bTJtgU9rImDzD6ieP+9ijB0gGSjrYL+XKjvUsMOk5ToCtzaMwveNSftzoBA35VFOFhnoerzoEhCfxekNd3o8+rDZbtO3UOskQLFN7bfOzVZLph+DvBVDGH3rSwVAW+kflbxVFuxpThQeq1qYvPPvF0MNmzZm7RfivuVVZ+jQRg/0Kr3abS/SmsbBXnXOhcdrp3ctinNAX6Won5by2qV4RRDYuccQadGEuG9XRM31H6kBEnyt8wCDaHDEjfK8y1ieg8cW1XZ5W1tIObXMcHLkpqbg2OA== X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VE1P190MB0830.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: f57fac28-290f-499c-f348-08ddc9238a41 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jul 2025 13:27:43.6866 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c4540d0b-728a-4233-9da5-9ea30c7ec3ed X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6n9ykmvCJLYIDERqAFVmD1w0zvQv5f9iZstjVCRZLUhvpWxsBA9BuI7JdiC3//MMz0v/4b2DtuFEs9qQsCsSQA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P190MB1096 X-BESS-ID: 1753190866-302666-7647-20462-1 X-BESS-VER: 2019.1_20250709.1638 X-BESS-Apparent-Source-IP: 52.101.65.99 X-BESS-Parts: H4sIAAAAAAACAzXLOw7DIBBF0b1M7QIYmI+3EqWYASM3lotQRIq891DYzdPVk8 7rB9t3wApj7gLnB9aMnGft86xG3HXzaglDiKYo2MmDSE+pEcO1PH4fx+01xHL7zF6qJu 3KLBIbVTISckc0K9rgev8B6hISQIEAAAA= X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.266228 [from cloudscan21-205.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS113687 scores of KILL_LEVEL=7.0 tests=HTML_MESSAGE, BSF_BESS_OUTBOUND, BSF_SC0_MISMATCH_TO X-BESS-BRTS-Status: 1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org --_000_VE1P190MB0830663F51EAD2E6586E0B56805CAVE1P190MB0830EURP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Kevin! Thank you for the notification about backporting. Please merge this patch into the stable release. If it is possible, it will be nice to add to the stable release this commit= too https://git.dpdk.org/dpdk/commit/?id=3Df7dabff91738e97d81f6844cb6c00b5= 03de3d9ea Thanks. Serhii ________________________________ From: Kevin Traynor Sent: 18 July 2025 22:29 To: Danylo Vodopianov Cc: dpdk stable Subject: patch 'net/ntnic: fix ring queue operation' has been queued to sta= ble release 24.11.3 Hi, FYI, your patch has been queued to stable release 24.11.3 Note it hasn't been pushed to https://linkprotect.cudasvc.com/url?a=3Dhttp%= 3a%2f%2fdpdk.org%2fbrowse%2fdpdk-stable&c=3DE,1,0s7L2Nnz1oz870ovFl1dBxRYTbF= 4gRBnobLRLJC0w0_Z9daayABQIVE41tCC7fZ4pmazXnCn0NtNQMiOCcI8jiLTP_hmlko2qP0og6= HJkWmK&typo=3D1 yet. It will be pushed if I get no objections before 07/23/25. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasi= ng (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/cd05b2212e2d228d5ed206ed= f2bd35d6c2c2bdc8 Thanks. Kevin --- >From cd05b2212e2d228d5ed206edf2bd35d6c2c2bdc8 Mon Sep 17 00:00:00 2001 From: Danylo Vodopianov Date: Mon, 5 May 2025 09:13:06 +0200 Subject: [PATCH] net/ntnic: fix ring queue operation [ upstream commit 13b59c07d6827e3cd7f746997b97fcffb5992435 ] User should call rte_ring_dequeue_zc_elem_finish to complete the dequeue operation. However this complete step if record absent. This change rework queue read operation. Fixes: 96c8249be53e ("net/ntnic: learn flow queue handling") Signed-off-by: Danylo Vodopianov --- .../profile_inline/flow_api_profile_inline.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profil= e_inline.c b/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profil= e_inline.c index ff8eb502f4..5325657551 100644 --- a/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inlin= e.c +++ b/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inlin= e.c @@ -404,16 +404,12 @@ static uint32_t flm_lrn_update(struct flow_eth_dev *d= ev, uint32_t *inf_word_cnt, { read_record r =3D flm_lrn_queue_get_read_buffer(flm_lrn_queue_arr)= ; + uint32_t handled_records =3D 0; if (r.num) { - uint32_t handled_records =3D 0; - - if (hw_mod_flm_lrn_data_set_flush(&dev->ndev->be, HW_FLM_FL= OW_LRN_DATA, r.p, r.num, - &handled_records, inf_word_cnt, sta_word_cnt)) { + if (hw_mod_flm_lrn_data_set_flush(&dev->ndev->be, HW_FLM_FL= OW_LRN_DATA, r.p, + r.num, &handled_records, inf_word_cnt, sta_word_cnt= )) NT_LOG(ERR, FILTER, "Flow programming failed"); - - } else if (handled_records > 0) { - flm_lrn_queue_release_read_buffer(flm_lrn_queue_arr= , handled_records); - } } + flm_lrn_queue_release_read_buffer(flm_lrn_queue_arr, handled_record= s); return r.num; -- 2.50.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- - 2025-07-18 20:29:13.192578837 +0100 +++ 0061-net-ntnic-fix-ring-queue-operation.patch 2025-07-18 20:29:10= .959907420 +0100 @@ -1 +1 @@ -From 13b59c07d6827e3cd7f746997b97fcffb5992435 Mon Sep 17 00:00:00 2001 +From cd05b2212e2d228d5ed206edf2bd35d6c2c2bdc8 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 13b59c07d6827e3cd7f746997b97fcffb5992435 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index cb6a66a061..f78c6fbf49 100644 +index ff8eb502f4..5325657551 100644 @@ -23 +24 @@ -@@ -399,16 +399,12 @@ static uint32_t flm_lrn_update(struct flow_eth_dev *= dev, uint32_t *inf_word_cnt, +@@ -404,16 +404,12 @@ static uint32_t flm_lrn_update(struct flow_eth_dev *= dev, uint32_t *inf_word_cnt, --_000_VE1P190MB0830663F51EAD2E6586E0B56805CAVE1P190MB0830EURP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Kevin!

Thank you for the notification about backporting. 
Please merge this patch into the stable release. 

If it is possible, it will be nice to add to the stable release this commit= too https://git.dpdk.org/dpdk/commit/?id=3Df7dabff91738e97d81f6844cb6c00b503de3= d9ea

Thanks.
Serhii


From: Kevin Traynor <ktraynor@redhat.com>
Sent: 18 July 2025 22:29
To: Danylo Vodopianov <dvo-plv@napatech.com>
Cc: dpdk stable <stable@dpdk.org>
Subject: patch 'net/ntnic: fix ring queue operation' has been q= ueued to stable release 24.11.3
 
Hi,

FYI, your patch has been queued to stable release 24.11.3

Note it hasn't been pushed to https://linkprotect.cudasvc.com/url?a=3Dhttp%3a%2f%2fdpdk.org%2fbrowse%2fdp= dk-stable&c=3DE,1,0s7L2Nnz1oz870ovFl1dBxRYTbF4gRBnobLRLJC0w0_Z9daayABQI= VE41tCC7fZ4pmazXnCn0NtNQMiOCcI8jiLTP_hmlko2qP0og6HJkWmK&typo=3D1&nb= sp;yet.
It will be pushed if I get no objections before 07/23/25. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the=
patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasi= ng
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevin= traynor/dpdk-stable/commit/cd05b2212e2d228d5ed206edf2bd35d6c2c2bdc8

Thanks.

Kevin

---
>From cd05b2212e2d228d5ed206edf2bd35d6c2c2bdc8 Mon Sep 17 00:00:00 2001
From: Danylo Vodopianov <dvo-plv@napatech.com>
Date: Mon, 5 May 2025 09:13:06 +0200
Subject: [PATCH] net/ntnic: fix ring queue operation

[ upstream commit 13b59c07d6827e3cd7f746997b97fcffb5992435 ]

User should call rte_ring_dequeue_zc_elem_finish to complete the
dequeue operation. However this complete step if record absent.

This change rework queue read operation.

Fixes: 96c8249be53e ("net/ntnic: learn flow queue handling")

Signed-off-by: Danylo Vodopianov <dvo-plv@napatech.com>
---
 .../profile_inline/flow_api_profile_inline.c    &= nbsp;    | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profil= e_inline.c b/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profil= e_inline.c
index ff8eb502f4..5325657551 100644
--- a/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inlin= e.c
+++ b/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inlin= e.c
@@ -404,16 +404,12 @@ static uint32_t flm_lrn_update(struct flow_eth_dev *d= ev, uint32_t *inf_word_cnt,
 {
         read_record r =3D flm_lrn_= queue_get_read_buffer(flm_lrn_queue_arr);
+       uint32_t handled_records =3D 0;
 
         if (r.num) {
-            &n= bsp;  uint32_t handled_records =3D 0;
-
-            &n= bsp;  if (hw_mod_flm_lrn_data_set_flush(&dev->ndev->be, HW_F= LM_FLOW_LRN_DATA, r.p, r.num,
-            &n= bsp;          &handled_rec= ords, inf_word_cnt, sta_word_cnt)) {
+            &n= bsp;  if (hw_mod_flm_lrn_data_set_flush(&dev->ndev->be, HW_F= LM_FLOW_LRN_DATA, r.p,
+            &n= bsp;          r.num, &hand= led_records, inf_word_cnt, sta_word_cnt))
            &nb= sp;            NT_LO= G(ERR, FILTER, "Flow programming failed");
-
-            &n= bsp;  } else if (handled_records > 0) {
-            &n= bsp;          flm_lrn_queue_re= lease_read_buffer(flm_lrn_queue_arr, handled_records);
-            &n= bsp;  }
         }
+       flm_lrn_queue_release_read_buffer(flm= _lrn_queue_arr, handled_records);
 
         return r.num;
--
2.50.0

---
  Diff of the applied patch vs upstream commit (please double-check if= non-empty:
---
--- -   2025-07-18 20:29:13.192578837 +0100
+++ 0061-net-ntnic-fix-ring-queue-operation.patch    &n= bsp;  2025-07-18 20:29:10.959907420 +0100
@@ -1 +1 @@
-From 13b59c07d6827e3cd7f746997b97fcffb5992435 Mon Sep 17 00:00:00 2001
+From cd05b2212e2d228d5ed206edf2bd35d6c2c2bdc8 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 13b59c07d6827e3cd7f746997b97fcffb5992435 ]
+
@@ -12 +13,0 @@
-Cc: stable@dpdk.org
@@ -20 +21 @@
-index cb6a66a061..f78c6fbf49 100644
+index ff8eb502f4..5325657551 100644
@@ -23 +24 @@
-@@ -399,16 +399,12 @@ static uint32_t flm_lrn_update(struct flow_eth_dev *= dev, uint32_t *inf_word_cnt,
+@@ -404,16 +404,12 @@ static uint32_t flm_lrn_update(struct flow_eth_dev *= dev, uint32_t *inf_word_cnt,

--_000_VE1P190MB0830663F51EAD2E6586E0B56805CAVE1P190MB0830EURP_--