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:37:55 -0500 Message-ID: References: <20180521210502.11082-1-saeedm@mellanox.com> <20180521210502.11082-2-saeedm@mellanox.com> <20180521222026.4f54f479@cakuba> <20180523094331.GC3046@nanopsycho> 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, Or Gerlitz To: John Fastabend , Jiri Pirko , Jakub Kicinski Return-path: Received: from mail-ve1eur01on0055.outbound.protection.outlook.com ([104.47.1.55]:44416 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932646AbeEWPiP (ORCPT ); Wed, 23 May 2018 11:38:15 -0400 In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 5/23/2018 8:52 AM, John Fastabend wrote: > It would be nice though if the API gave us some hint on max/min/stride > of allowed values. Could the get API return these along with current > value? Presumably the allowed max size could change with devlink buffer > changes in how the global buffer is divided up as well. Acked. I will add Max. Let's skip min/stride since it is too hardware specific.