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 9F28C427E1 for ; Mon, 20 Mar 2023 12:19:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50F3340A7F; Mon, 20 Mar 2023 12:19:54 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 63FB6406BC for ; Mon, 20 Mar 2023 12:19:53 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32K8UEY2001550; Mon, 20 Mar 2023 04:19:52 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2109.outbound.protection.outlook.com [104.47.58.109]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3pdctp4hbe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Mar 2023 04:19:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rdx28WZBv23JqZPuwE0G7aZdc4B2+bPF2jPTuLRHalKsjIdKH5rOnLMxgWSLIIqjPY46h3zxK0RwngE3Gsv1lWZ85ap+LA5hD0+gMAEETZwXtd5XTA082gL+ZgCim9D7WnT/T8f6CZDl95idHs1+9/w075/N7qr8m88BaO/CKIFJB9TKELmYu+GWIP+OzHOwMIIAPlKT7gmnFTPx0FNwcthNAYPt00KVMOIsGnVxGpLIWXsRoAh6YcQ7Bo9wC7lj/Zw2yRGLrxNUHWC3Zu+gMkfStAsWW3+dLoaQ9AEAz4MiOWE0ZpEv0hDf4svpbptpD0sBaNiPfHoDTFAd2Iq3Gg== 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=AqxKq+LWjYoPX3f/QMeiNzPywf01E0Rtdy8bUliVzcg=; b=aydKzhLTVaFx00ZmP4pnKsjVRMSjKOD+aIuAH3171L8p0i+AQnMpNdJ6mqx3bjKe9crny7HdhtDHvFs0PtBqd6J754A2uUy6tHYspXQMxvITTPgBcL43B7faI0hgA4zAfNDjvTCBdulbT1awnOHgSS2o8ZTV3oi/DPPOQ8gfCvC06LHmUgmC3z0WopO/e+TzXR5z5wbkV12u3/Ysxevz5Q6skW1mOAQ5fdufibZXP/DDRNgkSDOIQfjkmHkSN6JAjvcNndHPuGE3//GhdG66SSHfyCV944WUGfc14dvFM4C7NkcEIkd9/EiWy9gi6tPITcgDzZEmLr9skZ2DJuaspQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AqxKq+LWjYoPX3f/QMeiNzPywf01E0Rtdy8bUliVzcg=; b=f7qU+5rbINs+ZR6d+gLuQKEPw7d5sfiwEUCu1b1WGjJaxhLWVXxrdgw86Py5Vzdb+FHqzwDZV6ib9zNm75jZY5fYcjB3HErk+qT8aiKhritrDYjfr4ADf2gQtZrBmjn6CPgK1FW0viII4/f/DBUR3PNY3cG8XGMVdLTn6vRYJnc= Received: from MW2PR18MB2282.namprd18.prod.outlook.com (2603:10b6:907:f::19) by CO3PR18MB5008.namprd18.prod.outlook.com (2603:10b6:303:17f::11) 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:19:43 +0000 Received: from MW2PR18MB2282.namprd18.prod.outlook.com ([fe80::e0e0:c7fe:674e:ed00]) by MW2PR18MB2282.namprd18.prod.outlook.com ([fe80::e0e0:c7fe:674e:ed00%3]) with mapi id 15.20.6178.037; Mon, 20 Mar 2023 11:19:47 +0000 From: Volodymyr Fialko To: Balakrishnan K , "users@dpdk.org" Subject: RE: Reg.dpdk reorder library usage Thread-Topic: Reg.dpdk reorder library usage Thread-Index: AdlbGEnJUrbOTDLTQ82/Ohx5oZty2wAA6ZhQ Date: Mon, 20 Mar 2023 11:19:47 +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_ActionId=ba194a77-2344-479d-818b-74f4e9cb20b1; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_ContentBits=0; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Enabled=true; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Method=Privileged; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Name=General-Test; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_SetDate=2023-03-20T10:53:48Z; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_SiteId=20210462-2c5e-4ec8-b3e2-0be950f292ca; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW2PR18MB2282:EE_|CO3PR18MB5008:EE_ x-ms-office365-filtering-correlation-id: 59f41496-c10d-4003-dacc-08db293503ad x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CY7P8Scw4R0c6cLryQBsTn42r5DxHWRGPvlXQliw/Jk5jjaTrSh5ddINacj8fM1yhTJyrcahxae6KRe/0mwJK8vclaZ/CN7ZTFmWmO9ea9EidpFbgxSeRrXm2dAMXL5U8z3WaGaquM9g5eYnAXUqOWa50Lljs2M7xc0v1y8dj9ibyGv6XSdrPq5G3pjghr70D+2Nh3YEMkNAqIw/ddZ7KgG5x2aQ/GvDVxMl+LOUOcLgSNMW0rz9s1HLLtFimgDXUFgwfLE1LDxHkLvQMzbTwI+xnXJRCg2mrTXt+h/6XZxWsB0DTNPoHgZBLQqtbhIK40awxG22X0deGcvlZO7O6dguSKW+7GNuA33AfBbbu6FCTi+qAqAqlTbxOsx5J/0+Ryp6mf4BEEGqkHz9EbEfpOLaggLBCrAISqbEyhETSUlEm+TuOS9MJvdGay++5jCc+dGkhKs8xDVbo0ad4ESdEt8eYx66X8X0Pe2air0lXF1EN/ISrp1G9uzgEuLDWwp6yMzdDJc98P5Da13EBOxpRMnDbauVol7VKGfjX1YgqBRtSSgqkxGBzpGlEMC5f2wboEoIGF3ga3M8fKG6YD+mKu5N4/bIGwPcFryfyC6+8Y838d0CmRmv+Wet89tU6VqzhfNdnwMNCiibd41yQahq/3JOaLvvZzZu9J5Z2uhdNyBLHq5mz3UzjS94sITU17UR x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR18MB2282.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(39860400002)(396003)(136003)(376002)(366004)(451199018)(53546011)(26005)(6506007)(9686003)(966005)(83380400001)(316002)(8676002)(64756008)(7696005)(478600001)(186003)(66476007)(66946007)(66556008)(66446008)(3480700007)(110136005)(9326002)(52536014)(2906002)(5660300002)(8936002)(41300700001)(122000001)(166002)(76116006)(38070700005)(71200400001)(38100700002)(86362001)(55016003)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?AFStfgI+OJdVoYFU94CO3gjLUuXU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aGO/QGu8oRpRdyuQvuVkr91jsiZmYTWMfkWc2ReRgNWGEfPiqG+yZ?= =?us-ascii?Q?fDpIXGHv72xrRxxAsj1KqirxXdOyX6OfcAb46MBM1BLDKiG+rq3DhLyTK1wt?= =?us-ascii?Q?iqDiXDh7U4bgc1YK7A5OXpd6cxw8O8dhp8CWR7EEfQEhSHZo3C4k/ssdqIZ8?= =?us-ascii?Q?tUrGXPDfDqHrimomzDPiKTy45wCts8oysTR6GRrI4unqYkWGclHV1/IsDK2s?= =?us-ascii?Q?nWY4KlD4fRHBhUdNJnztbRCCc3iEciL7frW82P7LUabrOjE8mwIdM5GWLP7q?= =?us-ascii?Q?GMfE+//LVT8zY7aRHW3wVCo1iW6uC5C23NqjSLsEpMWkWoNHOfFr1NeZ7wVj?= =?us-ascii?Q?ukXTGOke7Q0S8whZ6v/dcdqgrhSHMRKtupD4FuHc83meU5p+XiauO5FlZoec?= =?us-ascii?Q?8pmSHbCIYPzA+AY+8n4r3OwVSclQ90Ww/8/L6EhKh1Cs4pqJztqV+Ll9qPuM?= =?us-ascii?Q?h4/XnMZNUhJKAdXpkrb72IAnuTFehAflrw6VlKk8dodP+fkYkCZVncQa6SF7?= =?us-ascii?Q?XP22GWrGQmO0lt/QC1a+443cHe+fKRo45xoqBrgcplfTQgfHSvQIc/dpwxYn?= =?us-ascii?Q?yQjNsrOnbzpE7RETQTaYOQT6bXOnLnQ9ok/l+GB+F8Y1+og/Rl9izPy4mNX7?= =?us-ascii?Q?5uHExCzKm0x5pJQNSveazZDl/Rra20m/klFmJvrQ?= Content-Type: multipart/alternative; boundary="_000_MW2PR18MB2282D5E4711B9303D53FC45EA8809MW2PR18MB2282namp_" MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR18MB2282.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59f41496-c10d-4003-dacc-08db293503ad X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2023 11:19:47.4631 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: X53BqwGotzcZI+x4dWglsHe4qNmOGSxoL3TR9+T8TMgDds2Dv19F+UH5WmjxCsrPSvAYAHVhoWKOM1uZEyHa5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO3PR18MB5008 X-Proofpoint-ORIG-GUID: D9gweG47nnlEPGYIzkMQno1Xk5bqofpt X-Proofpoint-GUID: D9gweG47nnlEPGYIzkMQno1Xk5bqofpt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-20_08,2023-03-20_01,2023-02-09_01 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_MW2PR18MB2282D5E4711B9303D53FC45EA8809MW2PR18MB2282namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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's 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_MW2PR18MB2282D5E4711B9303D53FC45EA8809MW2PR18MB2282namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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.<= o:p>

 

From: Balakrishnan K <Balakrishnan.K1@tata= communications.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 r= eorder library in my application.

Used reorder library API’s 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 alr= eady or use the existing buffer.

3.iterate through the rx packets and set the sequenc= e number using *rte_reorder_seqn(pkt) =3D seqn++.

4.insert the packets using the API rte_reorder_inser= t(ro_buf, pkt);

5.after insert completed I am using rte_reorder_drai= n API to get the reorder packets .

 

In step 5 always getting zero packets.

Even though all the rx packets are in order rte_reod= er_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 port= s .

Sent traffic in port 1 there is no packet out in por= t 1 as mentioned in application example page.

https://doc.dpdk.org/guides/sample_app_ug/packet_ordering.html<= o:p>

 

 

Regards,

Bala

--_000_MW2PR18MB2282D5E4711B9303D53FC45EA8809MW2PR18MB2282namp_--