From mboxrd@z Thu Jan 1 00:00:00 1970 From: Huy Nguyen Subject: Re: [net-next 1/6] net/dcb: Add dcbnl buffer attribute Date: Wed, 23 May 2018 10:27:43 -0500 Message-ID: <21d60f76-9f8a-0e91-06d2-29cc11ae0782@mellanox.com> References: <20180521210502.11082-1-saeedm@mellanox.com> <20180521210502.11082-2-saeedm@mellanox.com> <20180521222026.4f54f479@cakuba> <5b0d2137-8c70-ceb4-6965-fef2c75c4c24@mellanox.com> <20180522113202.54c43440@cakuba> <1576e986-6e04-63f3-3569-a105493929a6@mellanox.com> <20180523022314.783e47fa@cakuba> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Saeed Mahameed , "David S. Miller" , netdev@vger.kernel.org, Jiri Pirko , Or Gerlitz , Parav Pandit , Ido Schimmel To: Jakub Kicinski Return-path: Received: from mail-db5eur01on0087.outbound.protection.outlook.com ([104.47.2.87]:34880 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932534AbeEWP2A (ORCPT ); Wed, 23 May 2018 11:28:00 -0400 In-Reply-To: <20180523022314.783e47fa@cakuba> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 5/23/2018 4:23 AM, Jakub Kicinski wrote: > >From patch description it seems like your default setup is shared > buffer split 50% (lossy)/50% (all prios) and the example you give > changes that to 25% (lossy)/25%x3 prio groups. > > With existing devlink API could this be modelled by three ingress pools > with 2 TCs bound each? Yes, possible. When you map prio to tc. Please be careful with prio term in switch since switch has more than 8 prio.