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 A8370427E1 for ; Mon, 20 Mar 2023 12:54:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6883C40A7F; Mon, 20 Mar 2023 12:54:27 +0100 (CET) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2085.outbound.protection.outlook.com [40.107.215.85]) by mails.dpdk.org (Postfix) with ESMTP id 4C520406BC for ; Mon, 20 Mar 2023 12:54:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tatacommunications.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I5Fe3sDTvPf6VXXrHQbJXrLJb84uvviKypK24vD/nLQ=; b=QvCfu2e3J95B+PukVACyE9dgaRtnXwV2jXPmGmveMlmy+OF6vtCIEvXAbDrTIg/k83VL/klqUXSPg+6yD29GGcNZCtQTQWYqLvplribQcGJqPIengG6tuxLioo3JWAXP8aXJ/AHJlpkWqf8rx5IvLbvRYxsZj2ml5MDD7ZImKZzq0+vINB0IlLuFC9WvDNS1GGllW4YP1Hv17OFu8eIncNb9fZ4CYiWsUzBDjveivlIlfehqagYzoPr2ctSUjb/jS9JDLEJ+LMwENc1Q/RVbDloK40FDt4N6B8JKy1jojnax3LzJjUHgPtCnhNjmvom1owqrd0aHVxWnR+lbalgpRw== Received: from SG2PR02CA0034.apcprd02.prod.outlook.com (2603:1096:3:18::22) by SEZPR04MB5625.apcprd04.prod.outlook.com (2603:1096:101:4d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Mon, 20 Mar 2023 11:54:22 +0000 Received: from SG2APC01FT0033.eop-APC01.prod.protection.outlook.com (2603:1096:3:18:cafe::4e) by SG2PR02CA0034.outlook.office365.com (2603:1096:3:18::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37 via Frontend Transport; Mon, 20 Mar 2023 11:54:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 52.62.169.21) smtp.mailfrom=tatacommunications.com; dkim=pass (signature was verified) header.d=tatacommunications.com;dmarc=pass action=none header.from=tatacommunications.com; Received-SPF: Pass (protection.outlook.com: domain of tatacommunications.com designates 52.62.169.21 as permitted sender) receiver=protection.outlook.com; client-ip=52.62.169.21; helo=sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn; pr=C Received: from sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn (52.62.169.21) by SG2APC01FT0033.mail.protection.outlook.com (10.13.36.189) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.15 via Frontend Transport; Mon, 20 Mar 2023 11:54:21 +0000 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01lp2113.outbound.protection.outlook.com [104.47.26.113]) by sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn (Haraka/2.8.24) with ESMTPS id 59285EF0-57F6-4872-8381-693B30994011.1 envelope-from (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Mon, 20 Mar 2023 11:54:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XPtU0K7r4lLzrpgtq55S6iyerYsiHfQcd5dRyCyOTUj57QuttksKh6hRCYOXBvkKdAif9XOTAJ4DSJkPu7xbCVftLXovst6qE9GmRYiNbixzIjlOAUp2QwBBa1RQWTTJW2R691ZyLgDL0ccoZpJ4uwonpY5a7rKsE8s99JOOdWgSnGRrlnN+SPMEcfVpksOzqucP8z36Sum/rFHGBtnvz+y1b+dc4ZRZriLjrQSfFmMu6rUIO2nqEPiBKyLANGAJpJ4QOnLXLE/nK5lR3AaTHczsYEzapoVc8hawjg9kHhmolcEKtmCl6rIkV8Uugv9zzA+JL1k8GnYCKTZYC6Dx7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=I5Fe3sDTvPf6VXXrHQbJXrLJb84uvviKypK24vD/nLQ=; b=B3i5XC+xcv5ZCebCv0V9uuAYaGg7sEj+A95yFGp1CV+Vs3Gx4twok6qXXrnWhH3MyhBzP9mKAFMCYShtdBonfXHfgVbdZSbsPppIqqWWp36Su4Z7DxyVTHK+83/PZzgNQDhJmUBpQMCJUIgF0OSaX07G1jTuD07IbXoT2Z/ZxL6dz0NgO9JgSqGND/RnkyJ07OeC04mvIRvFaF/pl+cFjhG+oQdue1YsC+EUdOXr3iOPUwJ2Q4OLqissQKACcjd43kxP+4tD5dn1BzdBTOTfd1zBpX7Yb2F0ovEs7TuqsN9kvyB0/K7VsSK0UjPaEVy9sngRITbIq91VIxwrl8GFeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tatacommunications.com; dmarc=pass action=none header.from=tatacommunications.com; dkim=pass header.d=tatacommunications.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tatacommunications.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I5Fe3sDTvPf6VXXrHQbJXrLJb84uvviKypK24vD/nLQ=; b=QvCfu2e3J95B+PukVACyE9dgaRtnXwV2jXPmGmveMlmy+OF6vtCIEvXAbDrTIg/k83VL/klqUXSPg+6yD29GGcNZCtQTQWYqLvplribQcGJqPIengG6tuxLioo3JWAXP8aXJ/AHJlpkWqf8rx5IvLbvRYxsZj2ml5MDD7ZImKZzq0+vINB0IlLuFC9WvDNS1GGllW4YP1Hv17OFu8eIncNb9fZ4CYiWsUzBDjveivlIlfehqagYzoPr2ctSUjb/jS9JDLEJ+LMwENc1Q/RVbDloK40FDt4N6B8JKy1jojnax3LzJjUHgPtCnhNjmvom1owqrd0aHVxWnR+lbalgpRw== Received: from PSAPR04MB5516.apcprd04.prod.outlook.com (2603:1096:301:5c::9) by SEZPR04MB6552.apcprd04.prod.outlook.com (2603:1096:101:aa::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Mon, 20 Mar 2023 11:54:17 +0000 Received: from PSAPR04MB5516.apcprd04.prod.outlook.com ([fe80::b875:f958:cdad:7e08]) by PSAPR04MB5516.apcprd04.prod.outlook.com ([fe80::b875:f958:cdad:7e08%5]) with mapi id 15.20.6178.037; Mon, 20 Mar 2023 11:54:16 +0000 From: Balakrishnan K To: Volodymyr Fialko , "users@dpdk.org" Subject: Re: Reg.dpdk reorder library usage Thread-Topic: Reg.dpdk reorder library usage Thread-Index: AdlbGEnJUrbOTDLTQ82/Ohx5oZty2wAA6ZhQAAGhq+M= Date: Mon, 20 Mar 2023 11:54:16 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Enabled=True; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_SiteId=20210462-2c5e-4ec8-b3e2-0be950f292ca; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_SetDate=2023-03-20T10:53:48.0000000Z; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Name=General-Test; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_ContentBits=0; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Method=Privileged Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=tatacommunications.com; x-ms-traffictypediagnostic: PSAPR04MB5516:EE_|SEZPR04MB6552:EE_|SG2APC01FT0033:EE_|SEZPR04MB5625:EE_ X-MS-Office365-Filtering-Correlation-Id: 94c4fe44-7092-439c-69ad-08db2939d7e6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: THjFQVr8M+uuUxPk/1uAgwddCxC+FJKaFrRd8zO0vAUutGPiwmOjJX7kcPE3bs/HXm3PzJO5y0MJeju1eszPLfUDSW0+mGg2vyEioSmfRnHsT3nXidChAGUMpR0m9sj0viKxRWhAAHqizocGLql9BSBsjoa36OV44AEQrPIJ+kgYbifbY4oQkEyFDjAxSxvemOzgjTcWsaRZdN343mdoKr/ZlJYH1FWGV2Jubod9QihuwHVpEulEkmHLrTfjoa973rxRinx/3cDRsRYx4NZd7oVLJExmqKREMOlcm+HaY4GSLy0rC4njMixLPVdxHK6WMAyQ/K7RedFZRnz/xh5VwfK3nOzih1vdauz1YRlSZtMhiLUta0SXAYPeb35Xml5icBz+XyVDkRTKaUFg8kWpK/zhvAoWy/VlbVJTAfxciOs4THUGvhu1WXpSOgRtxIYDvJd2tubrpoJrBnxRWvN1n/6P1iLiC8e1vBZYiMvzIgUqFFrzxa29CRfb/Uf2SouCKh67TPEZCO5F1TY5/KE2z/PPkGFUW78OSTY6weDyoKcl5s4BKK+06I0ofdbRWGDFtSZ1MPaOwcvWA+cNuxx/ZSZgNhhAXWkyLDboFa+XbXM2c6dqNxdwwPxfoK3CBBGVOZbRTlSaKLD1iUSjv2WHc/oBoNFXS3rZJc4Gig8KtfggEhVhnLXH4T4r5WcX4oJm X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PSAPR04MB5516.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(366004)(39860400002)(376002)(136003)(396003)(451199018)(41300700001)(6506007)(64756008)(66446008)(186003)(3480700007)(26005)(316002)(53546011)(55016003)(66476007)(66556008)(66946007)(91956017)(76116006)(8676002)(38070700005)(2906002)(33656002)(86362001)(83380400001)(122000001)(71200400001)(7696005)(8936002)(166002)(9686003)(110136005)(52536014)(38100700002)(966005)(5660300002)(478600001); DIR:OUT; SFP:1101; Content-Type: multipart/alternative; boundary="_000_PSAPR04MB5516DF85BB3D64532B2BA2E0D6809PSAPR04MB5516apcp_" MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6552 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=tatacommunications.com; X-SHN-DLP-SCAN: success X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: SG2APC01FT0033.eop-APC01.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 261537d0-e000-4312-22f2-08db2939d4f8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0D8nm0PpMFy33NrWlMDlUoRwP9VU3F38a2c0yFTlTXsJ6lvlhURlbfpiYKdizGAwBvVDdCDcvuLcaUns8jW80qHhfASBMYCIDTEblSihcDYMs8xmQDmzYG6UjLp7018RFYOvHmQ2Wyv/XEwHdCJN4Rzh6lJv5Jxko0Zrm4nBUQkfG4bClRVbl8BEo3wKSsAwev6aiJCTuFKvq1QUeXRHRa8Dr/BRhaq66kL8p2OVzvZ7XApeFi35LI4LfBLxIuZt8SUSj+IT30d7qDlGQIekizjrTJ7ODNf7SNiqS+nmpRX1Z0HGr5/RxKmsFNv/Z094rZ2aKpdTq1NnMkb8DgWj8Yu6KMG/R0MvyY82Ni8VuNZDyxeH2suBfPsds5jw4nr86+rkvcPgllbeLLY0lSFg10nsQgXuewc3golQZzvg0W1at9SQws3z8hJwf8J+wnc8zCNO7LFJyndKlRwlAi+umx8mVc6o1lEbdzZlg8oeQLdB+MiwXKMgOd7OKQyDwToJfHCOv+b6jCE39uX6RgWDgDVhG034YvSoG7/0LP2f4sB8ZSFAS+BbRwF+T3qBBds4xU/a8DWbfyI4o2bEoI+NVPDVRhUoxO0HYxzHSbu2k/93Br3twf6+ctGIG/hsn4794wVVxjiFIwSNrS0vhFlTKrTRDsNhryF/gFTKyg5PpGd94l5/luV7wuSmdIUuhZ93 X-Forefront-Antispam-Report: CIP:52.62.169.21; CTRY:AU; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn; PTR:send2.mail-inline.syd-pop.i-shn.net; CAT:NONE; SFS:(13230025)(4636009)(346002)(39860400002)(136003)(376002)(396003)(451199018)(40470700004)(36840700001)(46966006)(52536014)(9686003)(40460700003)(336012)(5660300002)(47076005)(8936002)(41300700001)(6506007)(186003)(45080400002)(478600001)(2906002)(26005)(82310400005)(8676002)(83380400001)(81166007)(33656002)(40480700001)(55016003)(316002)(86362001)(966005)(3480700007)(7696005)(53546011)(166002)(356005)(70586007)(82740400003)(110136005)(36860700001)(70206006); DIR:OUT; SFP:1101; X-OriginatorOrg: tatacommunications.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2023 11:54:21.0446 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 94c4fe44-7092-439c-69ad-08db2939d7e6 X-MS-Exchange-CrossTenant-Id: 20210462-2c5e-4ec8-b3e2-0be950f292ca X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=20210462-2c5e-4ec8-b3e2-0be950f292ca; Ip=[52.62.169.21]; Helo=[sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn] X-MS-Exchange-CrossTenant-AuthSource: SG2APC01FT0033.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB5625 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_PSAPR04MB5516DF85BB3D64532B2BA2E0D6809PSAPR04MB5516apcp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi volodymyr, Thanks for the quick response. Let me go through the test code and come back if i need any clarifications. Thanks, Bala ________________________________ From: Volodymyr Fialko Sent: Monday, March 20, 2023, 4:50 PM To: Balakrishnan K ; users@dpdk.org= Subject: RE: Reg.dpdk reorder library usage CAUTION: This email originated from outside of the organization. Do not cli= ck links or open attachments unless you recognize the sender and know the c= ontent is safe. Hi, Could you take a look at the app/test/test_reorder.c `test_reorder_drain()`= test case. It follows your steps closely and includes comments that descri= be the internal state of buffers, which could be helpful during debugging. From: Balakrishnan K Sent: Monday, March 20, 2023 11:54 AM To: users@dpdk.org Cc: Volodymyr Fialko Subject: [EXT] Reg.dpdk reorder library usage External Email ________________________________ Hi All, I am planning to use dpdk reorder library in my application. Used reorder library API=92s by refereeing the packet ordering example. Steps: Our application uses dpdk pipeline. 1.read the packet from rx 2.Create the rte_reorder_create() if not created already or use the existin= g buffer. 3.iterate through the rx packets and set the sequence number using *rte_reo= rder_seqn(pkt) =3D seqn++. 4.insert the packets using the API rte_reorder_insert(ro_buf, pkt); 5.after insert completed I am using rte_reorder_drain API to get the reorde= r packets . In step 5 always getting zero packets. Even though all the rx packets are in order rte_reoder_drain API not giving= the output. Could any please help on this am I missing anything in the implementation . How to use this library properly. Tried to run the packet ordering example with 4 ports . Sent traffic in port 1 there is no packet out in port 1 as mentioned in app= lication example page. https://doc.dpdk.org/guides/sample_app_ug/packet_ordering.html Regards, Bala --_000_PSAPR04MB5516DF85BB3D64532B2BA2E0D6809PSAPR04MB5516apcp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hi volodymyr,
  Thanks for the quick response.
Let me go through the test code and come back if i need a= ny clarifications.

Thanks,
Bala


From:= Volodymyr Fialko <vfialko@marvell.com>
Sent: Monday, March 20, 2023, 4:50 PM
To: Balakrishnan K <Balakrishnan.K1@tatacommunications.= com>; users@dpdk.org <users@dpdk.org>
Subject: RE: Reg.dpdk reorder library usage

CAUTION: This email originated fro= m outside of the organization. Do not click links or open attachments unles= s you recognize the sender and know the content is safe.

Hi,

Could you take a look at the app/test/test_reorder.c `test_reorder_drain()`= test case. It follows your steps closely and includes comments that descri= be the internal state of buffers, which could be helpful during debugging.<= /p>

 

From: Balakrishnan K <Balakrishnan.K1@tatacommunications.com> =
Sent: Monday, March 20, 2023 11:54 AM
To: users@dpdk.org
Cc: Volodymyr Fialko <vfialko@marvell.com>
Subject: [EXT] Reg.dpdk reorder library usage

 

External Email


Hi All,

     I am planning to use dpdk reorder library in my ap= plication.

Used reorder library API=92s by refereeing  the packet ordering exampl= e.

Steps:

Our application uses dpdk pipeline.

1.read the packet from rx

2.Create the rte_reorder_create() if not created already or use the existin= g buffer.

3.iterate through the rx packets and set the sequence number using *rte_reo= rder_seqn(pkt) =3D seqn++.

4.insert the packets using the API rte_reorder_insert(ro_buf, pkt);

5.after insert completed I am using rte_reorder_drain API to get the reorde= r packets .

 

In step 5 always getting zero packets.

Even though all the rx packets are in order rte_reoder_drain API not giving= the output.

 

Could any please help on this am I missing anything in the implementation .=

How to use this library properly.

Tried to run the packet ordering example with 4 ports .

Sent traffic in port 1 there is no packet out in port 1 as mentioned in app= lication example page.

https://doc.dpdk.org/guides/sample_= app_ug/packet_ordering.html

 

 

Regards,

Bala


--_000_PSAPR04MB5516DF85BB3D64532B2BA2E0D6809PSAPR04MB5516apcp_--