lkml.org 
[lkml]   [2021]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [EXT] Re: [PATCH v12 net-next 12/15] net: mvpp2: add BM protection underrun feature support
Date

> > > Or we have also found out, that pushing back on parameters like
> > > this, the developers goes back and looks at the code, and sometimes
> > > figures out a way to automatically do the right thing, removing the
> > > configuration knob, and just making it all simpler for the user to
> > > use.
> >
> > I think of 2 alternatives:
> > * `ethtool --set-priv-flags` - in such case there is a question if
> > switching this particular feature in runtime is a good idea.
> > * New DT/ACPI property - it is a hardware feature after all, so maybe
> > let the user decide whether to enable it on the platform description
> > level.
>
> Does this even need to be configurable? What is the cost of turning it on?
> How does having less pools affect the system? Does average latency go up?
> When would i consider an underrun actually a good thing?
>
> Maybe it should just be hard coded on? Or we should try to detect when
> underruns are happening a lot, and dynamically turn it on for a while?
>
> Andrew

The cost of this change is that the number of pools reduced from 16 to 8.
The current driver uses only 4pools, but some future features like QoS can use over 4 pools. 

Regards,
Stefan. 

\
 
 \ /
  Last update: 2021-02-14 10:23    [W:0.168 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site