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 E5189A00BE for ; Tue, 15 Mar 2022 12:36:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8750E410EF; Tue, 15 Mar 2022 12:36:52 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2120.outbound.protection.outlook.com [40.107.21.120]) by mails.dpdk.org (Postfix) with ESMTP id 4DCE440042 for ; Fri, 11 Mar 2022 15:46:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ix8hozQ1zOIdswPLLV3jXI+GXdn3o/+TX1QEkfUtmzdJ4fcMPrZVT2JbbUbKUkZFigI7R2WU2SywS/UYbKEtcCoy18fvMZ3xOCMkLRjkzicfjVc/rUCvj4ZwX6IPsR6kffF0jKi9+a3VN2RgMZ78UCLg0ZsiSIFMY6/LpdqskchvpLLh856f6s0gQt1AUZhyr5s7nFF9juW+1QUumpxE2LgykYj4M8JyL7X/Jew+nQG+pJjouy2Giy54rRfX2uDcS8XOLBp7z5bklLv63L21NEZwP/0EuM+JvD2gdFMqrovb5GWVmmCe9gZcYcnwCaVtp0KxCWSnhUXz7om/31sBmQ== 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=ndOsPYQ/eDHsk2qi+FiHMoXwGEJYFwjV2nsPJnCtCCc=; b=PV8gmvxmvvfHXr9mQDKhGCphE/i0GQtjpgkzlFQ0EzM9Jj0jfdVAoevy7oZaDGe9Lf7Vb4+gKLrMtn4UqUEFwTiugoStR09mP9F5EdsFioMMufDgKw9EffV9JNafJobQX0N2y0jGe01sQFqIINCbLpyFSppUbtpW/DGUd93w3gnHXM4SH8o3ttf68BqmtDVsGe9cX82rH+Dhu4FWSlXbaIHrSKxKoUWsbKTvb+cc5OHbzWWxe+0spy9lO6yMCweH+EhjSlO5G6JVIcFFNQET2nrlm8dJtlaXf8UJXJJU+YAbh95131tWmCMF4fpDsSGJrVR948YFmekPv+9NYvYwOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=thalesdigital.io; dmarc=pass action=none header.from=thalesdigital.io; dkim=pass header.d=thalesdigital.io; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thalesdigital.io; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ndOsPYQ/eDHsk2qi+FiHMoXwGEJYFwjV2nsPJnCtCCc=; b=yv/vw4ToJEawj9kAuCeLqVN7HzQDtaTwEHVB+kgG9HphvPqdHwTha4YcfchDmzxrzjaDjHEv35CoezvbPbmvWl2VK96o74WTAv7kuqDM7jI5zampZtqvfOxhu6xX3sLKD2Q/vG1JVukyhfIvvijvByoPgolU+vne7cNAhzOh6eU= Received: from VI1PR08MB3871.eurprd08.prod.outlook.com (2603:10a6:803:b7::17) by DB9PR08MB6636.eurprd08.prod.outlook.com (2603:10a6:10:250::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Fri, 11 Mar 2022 14:46:19 +0000 Received: from VI1PR08MB3871.eurprd08.prod.outlook.com ([fe80::a4ff:466e:7441:361e]) by VI1PR08MB3871.eurprd08.prod.outlook.com ([fe80::a4ff:466e:7441:361e%7]) with mapi id 15.20.5038.027; Fri, 11 Mar 2022 14:46:19 +0000 From: Nirilanto RAKOTOSALAMA To: "users@dpdk.org" Subject: Traffic Management + softnic instead of Hierarchical scheduler Thread-Topic: Traffic Management + softnic instead of Hierarchical scheduler Thread-Index: AQHYNVXHX1M954hP50u54DMsZakoIA== Date: Fri, 11 Mar 2022 14:46:19 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 15d85684-b38f-6ac9-95eb-5f749397e6ec authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=thalesdigital.io; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cb12a087-71f5-4772-3e37-08da036de76f x-ms-traffictypediagnostic: DB9PR08MB6636:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: N7LjlbU9wdDZNzlytwvlws8ZC0RPTOhD5d77+TOutfHWW8mNxc3jwrpiHiy3hj+3NNWm58a3HK2t3Iuq4Wp+8jglJSVOqlb6BjcHTdL2IiJqMod+dGFjvgCano7ZahUXs5N6WaFpbO9HyLe6qVIZRODC3HJXY0Zqt+0/tYCEmBO1gepZaqFvKkJYtnyhUEKPfuVl/7gX0UdYKwW3lMTKvlzmf3JDt92noiRrGzPiSqPC2skez65NS04U/9VjfnOXDhLP8rxFt1qc12iarKpUOTNuxAnI88U8rsEgJ/UlVuv5VxzbyC3td7nn1/TBP6oDm4NKdvnpOaxGIkjegkTJbSqyTLn+H6v0yEDWdzbSYUF+iFr2+l+YNxdokfXJYtNB57CtWWEjR1WJFKIniuM/KhwxzSYmpUjURCMP/bfyuFSUVLuZmYf652cKliIyAmLzg0ogZektUdXfxxaskzrzEkh6A+MSMW1oCs9rGcBn+C8Wuuhb/5/+v/Ecal9iv8R4aUrMt+MATXbqYYu1EYWjj91Ssw42j9xzI/GkHOwEOOY2SdpsycBxXeFPjRkhpwVaUtpYDTMkKvXgcG/64nvC9ttW9Qd0oBL92oBbtz1h9h9/HIQzyY95lfFUfAtNARtoJpFtL4IKPM318JNhhYiAch99PKNdQf5VorRHF4a6GpcSo3ghuyBiAH4WJvN0xhZRmO1I0KRCNATYgN4hq1OGOg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB3871.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(7696005)(38100700002)(33656002)(82960400001)(122000001)(83380400001)(86362001)(8676002)(76116006)(508600001)(64756008)(6506007)(91956017)(66476007)(66446008)(19627405001)(316002)(6916009)(66556008)(66946007)(71200400001)(186003)(26005)(5660300002)(52536014)(8936002)(38070700005)(55016003)(2906002)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?Mn9RhH0iCBWz17YGAm/JSEzXJAtffDjStIPZo1Jo8DxzHCgG2Yyf9/6iXm?= =?iso-8859-1?Q?o4wnw3tGJZ3lNDWAC8eN0htqJnIQTUmzlmYjI3o0V5HZgy6sezY3EQeXFx?= =?iso-8859-1?Q?W71ED8h8qmX/1rLwTIV9sIZ5vYl4kJEzBLxjBvLMjNSTpsyt5CxdH42JXa?= =?iso-8859-1?Q?oiZSSxQN2b7XXwiWTNRdGQKs3eoXM6nJ3E+njH9/ZXh+cMTbLCJ/mAQ06z?= =?iso-8859-1?Q?ZfJSzDLKNIS9Eg7Z3lq32Lq3rf89jVXPXwV6Z3cMwKtJ6WmBBooTj6sVE3?= =?iso-8859-1?Q?D9ZKEV5ImZxM3NzhGqOqnkHFv2xyACCkzEULgiefhD3rsx6zIh/mHECmiz?= =?iso-8859-1?Q?wXNIldXN2h2rfJr+R4ArMUiY01+Udg3PTVX1Uy3PkIM/m9+Q16t24EjmZd?= =?iso-8859-1?Q?SQl3j8Ir9GIq/ydNBz9AurAK0B2qkRrWjt2ijZ4ev4A9cPocgtsgnkymwI?= =?iso-8859-1?Q?QlVBoWWXUpIkidXyRbANqYa657ibXOSm+ZsvunOLoMjOlZpp/PQ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MlNownK2y/1Il/Z8hkAnY2/81R5Bx/MDgbWImWv6A?= =?iso-8859-1?Q?Ay+L+OO7WL570DsgtKHYj3fWpi8TlC4kv36HeE3lLPO7XDvQIhBzAEbRDD?= =?iso-8859-1?Q?wUSFsHkWa8w2bTE2PrbSniM7gWV2anulgoCv8C7mJc7RS+0JdXSox5lBGq?= =?iso-8859-1?Q?IMV2m0r2/sgI9LZ7/4ZAlGp0f3SZs2DaA3+itO5/bLQqZu8/WCcbwnoP4G?= =?iso-8859-1?Q?MCvcu77eQhsFOkD0j//okWD7UdyvjjI0KAPZnVLKMvNCjwokim63h9NTML?= =?iso-8859-1?Q?AypKAV79bSY77cvtc5ePmgKeNrdos0aXKPA6vE/5X3SgwDz1IMFRy4d1uY?= =?iso-8859-1?Q?wNpCjIEBpFjny77l2SmyPL9ybJaD6rVtCbRLbuJC5Xa65CSnnmZLpxZquS?= =?iso-8859-1?Q?JNsRK7QoEG1IRvpqcsQOcmEkulhwvFKPN6iOg0sS/dk+sXPKYGeu?= Content-Type: multipart/alternative; boundary="_000_VI1PR08MB3871A2C6E3C4DA66509E3AB4B10C9VI1PR08MB3871eurp_" MIME-Version: 1.0 X-OriginatorOrg: thalesdigital.io X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR08MB3871.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb12a087-71f5-4772-3e37-08da036de76f X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2022 14:46:19.4554 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 737c6905-f186-4bcf-afb3-43e349ee23a3 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: u7hQfEhmyCuPpWjLoMZJkScXaJZwS5DdwBNwbbP0QwRlIhgHKWkEsT5pDhcM4PmAcMLpUiSUA+gtEpIWs8UHB/U8ux7O9y2ENuIgngEU9odXajD2ILAfFn3YmFwyucu7CVT2YQ9XyicAfZ8vuk535A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6636 X-Mailman-Approved-At: Tue, 15 Mar 2022 12:36:50 +0100 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_VI1PR08MB3871A2C6E3C4DA66509E3AB4B10C9VI1PR08MB3871eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have usecase with following packets processing pipeline : classification = -> QoS scheduling (with shapping) -> packet processing (ending vtep, modif= ying 802.1q and IPv4 headers, adding encapsulating stack) -> forwarding. I actually use several HS instances to handle independent packet streams bu= t I would have a different QoS scheme (e.g. having wfq between pipes or han= dling strict prio queues between groups and subscribers levels). It seems the Traffic Management can fit. My questions is : Is it possible to use Traffic Management API to build a c= ustomized QoS scheduler and use it at software level instead of the HS (e.g= . like in qos_sched example) ? And then, plug this QoS block with software = ring to another function. (e.g. is there the equivalent api to rte_sched_p= ort_enqueue and rte_sched_port_dequeue for such case). Thanks in advance for your answer. Best regards. N.R. This message contains confidential information and is intended only for the= individual(s) addressed in the message. If you are not the named addressee= , you should not disseminate, distribute, or copy this e-mail. If you are n= ot the intended recipient, you are notified that disclosing, distributing, = or copying this e-mail is strictly prohibited. --_000_VI1PR08MB3871A2C6E3C4DA66509E3AB4B10C9VI1PR08MB3871eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello, 

 

I have usecase with = following packets processing pipeline : classification -> QoS scheduling=   (with shapping) -> packet processing (ending vtep, modifying 802.= 1q and IPv4 headers, adding encapsulating stack) -> forwarding. 

I actually use sever= al HS instances to handle independent packet streams but I would have a dif= ferent QoS scheme (e.g. having wfq between pipes or handling strict prio qu= eues between groups and subscribers levels). 

It seems the Tr= affic Management can fit.

 

My questions is : Is= it possible to use Traffic Management API to build a customized QoS schedu= ler and use it at software level instead of the HS (e.g. like in qos_sched = example) ? And then, plug this QoS block with software ring to another function. (e.g. is there the equivalent api = to  rte_sched_port_enqueu= e and rte_sched_port_dequeue for such case= ).  

 

Thanks in advance fo= r your answer. 

 

Best regards.&n= bsp;

 

N.R.=  


This message contains confidential information and is intended only for the= individual(s) addressed in the message. If you are not the named addressee= , you should not disseminate, distribute, or copy this e-mail. If you are n= ot the intended recipient, you are notified that disclosing, distributing, or copying this e-mail is strictly= prohibited.

--_000_VI1PR08MB3871A2C6E3C4DA66509E3AB4B10C9VI1PR08MB3871eurp_--