Re: [PATCH net-next] net: devlink: report cell size of shared buffers

2019-02-03 Thread David Miller
From: Jakub Kicinski Date: Fri, 1 Feb 2019 17:56:28 -0800 > Shared buffer allocation is usually done in cell increments. > Drivers will either round up the allocation or refuse the > configuration if it's not an exact multiple of cell size. > Drivers know exactly the cell size of shared buffer,

Re: [PATCH net-next] net: devlink: report cell size of shared buffers

2019-02-02 Thread Jakub Kicinski
On Sat, 2 Feb 2019 12:35:51 +, Ido Schimmel wrote: > On Fri, Feb 01, 2019 at 05:56:28PM -0800, Jakub Kicinski wrote: > > Shared buffer allocation is usually done in cell increments. > > Drivers will either round up the allocation or refuse the > > configuration if it's not an exact multiple of

Re: [PATCH net-next] net: devlink: report cell size of shared buffers

2019-02-02 Thread Ido Schimmel
On Fri, Feb 01, 2019 at 05:56:28PM -0800, Jakub Kicinski wrote: > Shared buffer allocation is usually done in cell increments. > Drivers will either round up the allocation or refuse the > configuration if it's not an exact multiple of cell size. > Drivers know exactly the cell size of shared buffe

[PATCH net-next] net: devlink: report cell size of shared buffers

2019-02-01 Thread Jakub Kicinski
Shared buffer allocation is usually done in cell increments. Drivers will either round up the allocation or refuse the configuration if it's not an exact multiple of cell size. Drivers know exactly the cell size of shared buffer, so help out users by providing this information in dumps. Signed-off