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 901AD427E0 for ; Mon, 20 Mar 2023 11:53:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E1DC40A7F; Mon, 20 Mar 2023 11:53:58 +0100 (CET) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2068.outbound.protection.outlook.com [40.107.117.68]) by mails.dpdk.org (Postfix) with ESMTP id 7A44D406BC for ; Mon, 20 Mar 2023 11:53:56 +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=A0kNePCF8+lfQAnUQQl8aEXgb49RbgGJBjLfEJBtBeQ=; b=EASkKNbsvRlDqrmLLO8ZITvjw+NjCmju1Jqzn4DMLqL4zAJMPI6gqLmY7gWGcRL9BEhtw0Jgb59Odd5/aC2vBJJF3TIcWg7csAPJuYxuEiY2BpBFyudXNeurRWx/8TqwrmF3DEWMz4yIFOCB4X+g2Hq2OBexyZhtX+ZO/162I68tSn2NCiytopIaxFsIrnI0mRKfqDQyIdjZbnNUf9cW1uxcfJC/2wBmbcZJ7xkWsRbPw6xyLpdhLONFu1t4pCZqdXMOZEgIxS1K8jT/17Tc0ARCVmVt8DjQG1lfgJHDf9ZkQjJZWKNzyo1nxWj2atJz38CYWFZXelBV4MEAg9wrvA== Received: from TYAPR01CA0206.jpnprd01.prod.outlook.com (2603:1096:404:29::26) by TYZPR04MB6136.apcprd04.prod.outlook.com (2603:1096:400:25a::13) 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 10:53:54 +0000 Received: from TYZAPC01FT060.eop-APC01.prod.protection.outlook.com (2603:1096:404:29:cafe::b5) by TYAPR01CA0206.outlook.office365.com (2603:1096:404:29::26) 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 10:53:54 +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 TYZAPC01FT060.mail.protection.outlook.com (10.118.152.114) 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 10:53:53 +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 E6A120DA-155C-4237-BCE4-9427CDCC5D95.1 envelope-from (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Mon, 20 Mar 2023 10:53:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RV5ztlXdXeAYI36la4S3Yz1iNeMMGUzIy0qL77B/C9ZhSRpwkEcvWuPt9zaFNvzBt1CVpMzKXLJGDbSmbqv+I/y269f87YVaZYKIGx3a5DeFAm4uw6CeYbjp2BGwLVYNtXDf5DbDyX3fEzpjOFS26wCkR03oUZ3LIfF63nEOT37tzCcFvVTA8g05QdAW78gxzBcJR9VmmYwFuarWyx3fjbGfUINf6UPfr2upGTFTyKzgFruowYSaWOYD/haqhgcEmo3zt0z9Sr6NknNB9DImVojoKHa9YqUXaY8F4fEzOJoPafvtDSw/Pc1e9vCGJo61oLf+z2eudDFnAbOK5vRe8g== 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=A0kNePCF8+lfQAnUQQl8aEXgb49RbgGJBjLfEJBtBeQ=; b=cuQEfnntwWzF0nfmy67UOLnj6lWEuk5PAozJO/bYqHpMtVRrThrV6W9ErYC1sESfMKmd9n7BWxy6tkHmRvXnkkr86wf+qfEh+TOlGpKpD08E1ZsCkk3MXtnQaZ0oqmscTrQqoYvS/hdm2pYwG+3Hrmqs/Ea10YS4DTFRISDnoP8G0/sZdgFN+xtihwQcjk4puiPTUadre+AAF36onYDFTOATBk1sGex8ue0UNQ8yZVQvSzJxpINO6yzON7c+6NUxNDlpQw6kVTGsDMIuqqtBVND4HTHGNQO7IoXNEjUq79nrqHdX+NtNqNXAbNFNVZjFWMjc0jl+qKTa2Q1Rl/br+g== 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=A0kNePCF8+lfQAnUQQl8aEXgb49RbgGJBjLfEJBtBeQ=; b=EASkKNbsvRlDqrmLLO8ZITvjw+NjCmju1Jqzn4DMLqL4zAJMPI6gqLmY7gWGcRL9BEhtw0Jgb59Odd5/aC2vBJJF3TIcWg7csAPJuYxuEiY2BpBFyudXNeurRWx/8TqwrmF3DEWMz4yIFOCB4X+g2Hq2OBexyZhtX+ZO/162I68tSn2NCiytopIaxFsIrnI0mRKfqDQyIdjZbnNUf9cW1uxcfJC/2wBmbcZJ7xkWsRbPw6xyLpdhLONFu1t4pCZqdXMOZEgIxS1K8jT/17Tc0ARCVmVt8DjQG1lfgJHDf9ZkQjJZWKNzyo1nxWj2atJz38CYWFZXelBV4MEAg9wrvA== Received: from PSAPR04MB5516.apcprd04.prod.outlook.com (2603:1096:301:5c::9) by TYZPR04MB6497.apcprd04.prod.outlook.com (2603:1096:400:283::8) 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 10:53:50 +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 10:53:50 +0000 From: Balakrishnan K To: "users@dpdk.org" CC: "vfialko@marvell.com" Subject: Reg.dpdk reorder library usage Thread-Topic: Reg.dpdk reorder library usage Thread-Index: AdlbGEnJUrbOTDLTQ82/Ohx5oZty2w== Date: Mon, 20 Mar 2023 10:53:50 +0000 Message-ID: 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; Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=tatacommunications.com; x-ms-traffictypediagnostic: PSAPR04MB5516:EE_|TYZPR04MB6497:EE_|TYZAPC01FT060:EE_|TYZPR04MB6136:EE_ X-MS-Office365-Filtering-Correlation-Id: 80df04dc-0489-4119-2c68-08db293165b8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: IMliFCk4hZ8rGlfCUPAeZIUPcOOG9GMycgVaFwbtcyuSXL7KyF63nuGH2Fle7bk3C541V7+A/j9iQKil7s7Lk3/y9PJ0wRhul41aLOtLHI/Szuwy/zD3KhvkzoX8CZbVp1kOjv3Ak+vWY7N4kxc5C8r3rNLfMiXeaNjj/gZ44XIWh6RI3wXwsUJxrOn5kagWwn+WOSSuUlqkwLQVkAaVMFFAGz1uSrhi7dcJodyZB8NU8S3YniOn6O6Ulrl3QWYN/dZkRRuWRaTEegrT05nB9ye3SkfKpQxlB2O5xASvAhcseSfbMyO7fkzAWB90vvbZo3agB+U4Hw0QbnKKfHhQMh+xQDJVQhfUBL9U7/yVZMQc1jQOaD5pqHJvmh88pX6G7drtXNQXSCtq0GKgNFjjNi2FIgf2dPVhqNEmm+We3pj88sylpzs3Lo9ZM9/GB1c8oORqebdMlJ2xD7afN6nR0jnWkWrud8THdGWdjDYwIJzd5ekWl5O1mWkq2qNyrDP6sCtgZjv77zM1KigLZiRI1dH37+sTcT14/org0RspJiPNwrSgj+aX/jtLf5EMP5sHFoSzDsjw18BA/jyHbtHBkJ9RP8qmbgJm+Ok/weDB5BCMhxW/OpqGIu1BP+K8QUaXz+Bx9e8ZWhV5iRsdiQ2zyI3wZw7dfPpWU9c/+hSjoZwZ1XJvwfIRjLGn/QGA3cqS 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)(376002)(39860400002)(366004)(346002)(396003)(136003)(451199018)(7696005)(71200400001)(33656002)(86362001)(966005)(478600001)(316002)(38070700005)(4326008)(66476007)(66446008)(76116006)(66946007)(6916009)(8676002)(66556008)(64756008)(166002)(186003)(26005)(6506007)(38100700002)(41300700001)(9686003)(55236004)(122000001)(5660300002)(52536014)(21615005)(55016003)(9326002)(8936002)(2906002)(83380400001)(3480700007); DIR:OUT; SFP:1101; Content-Type: multipart/alternative; boundary="_000_PSAPR04MB5516AE67E1276D4A854FD109D6809PSAPR04MB5516apcp_" MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6497 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: TYZAPC01FT060.eop-APC01.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f4863924-2b1a-4d79-fbc2-08db29316398 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4Z+1UiYxHabVAcVegVuAqI7DfL2Ql3csJ+3gpk5rW4BtxVSAohmL9mT2EpPJVsdieIquRDZCmXiMz1xkCOQXbK60o9UzW0Tu8g1uPl1c2pnlFdOyydK+ERI8DVhEq8e+wZDofmZr65zO7SZYSLy/bBDjQqsuz8sAhclXKIz0vr6ux/yhrIZ5aNi80wY/sjebXbmBJPKt8+/NZPUEkDLUPOnJbl3hwxixWa1Ch/1NkoBth6DxznDG1Lw54xgMoIuaX3pSsVCRw5MV3oKnutquc8JqzIUmRX/ZPN2id8py+5bgvuVd2Zndg/BNr4ZpxPcoz4EVHSawg6NKDVdEh41rh3FmoifB/9st6wnOd135azCi9cNyTiVkelpWqHfom1ab29f2adcxuMFsJKxHdQWJGT36bF8xhCXK61k8YRrkRVyKtILjp9HNgI0UUE0SAh1e+emQUb0RX7tAUQ9bb80F1jmRDFMQaLsvqvt14dwXqBrKm+cDUc6qX6w5Fa/lhxDG9kTiu1Q3s4KjxVb6+4kLwkcezjJH7pVmHnXHk6HvE4u7dZOECjND/IKq2ZK7CJAYgp+V3eUYTd+kOTe7uKjsZra/0o1TfP+GfoJHbgII8AMmyhQjGhmmZ877k56/chf4+ZJDFiu2cn4JZU60nEYYEOrJF339riZw5uyP7bpYPpbrtkS9MTPbgD+vfEFOXHQ0 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)(136003)(376002)(346002)(39860400002)(396003)(451199018)(40470700004)(36840700001)(46966006)(8676002)(6916009)(4326008)(8936002)(52536014)(2906002)(9326002)(70586007)(70206006)(5660300002)(21615005)(33656002)(86362001)(356005)(166002)(81166007)(36860700001)(82740400003)(9686003)(6506007)(966005)(26005)(55016003)(478600001)(316002)(40480700001)(7696005)(41300700001)(82310400005)(3480700007)(83380400001)(47076005)(40460700003)(336012)(186003); DIR:OUT; SFP:1101; X-OriginatorOrg: tatacommunications.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2023 10:53:53.4138 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 80df04dc-0489-4119-2c68-08db293165b8 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: TYZAPC01FT060.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6136 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_PSAPR04MB5516AE67E1276D4A854FD109D6809PSAPR04MB5516apcp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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_PSAPR04MB5516AE67E1276D4A854FD109D6809PSAPR04MB5516apcp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi All,

     I am p= lanning to use dpdk reorder library in my application.

Used reorder library API’= s by refereeing  the packet ordering example.

Steps:

Our application uses dpdk pipel= ine.

1.read the packet from rx =

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

3.iterate through the rx packet= s and set the sequence number using *rte_reorder_seqn(pkt) =3D seqn++.=

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

5.after insert completed I am u= sing rte_reorder_drain API to get the reorder packets .

 

In step 5 always getting zero p= ackets.

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

 

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

How to use this library properl= y.

Tried to run the packet orderin= g example with 4 ports .

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

https://doc.dpdk.org/guides/sam= ple_app_ug/packet_ordering.html

 

 

Regards,

Bala

--_000_PSAPR04MB5516AE67E1276D4A854FD109D6809PSAPR04MB5516apcp_--