On Wed, Nov 15, 2017 at 09:00:09PM +0200, Eran Ben Elisha wrote: > From: Inbar Karmy <inb...@mellanox.com> > > This RFC adds support for configuring PFC stall prevention through ethtool. > > In the event where the device unexpectedly becomes unresponsive for a long > period of time, flow control mechanism may propagate pause frames which will > cause congestion spreading to the entire network. > > To prevent this scenario, the device may implement a protection mechanism for > monitoring and resolving such state. The following patches allow the user to > control the stall prevention functionality. > > PFC stall prevention configuration is done via ethtool -a (pause). > Two modes are introduced: > Default - current behavior per driver. > Auto - protection mechanism controlled automatically by the driver.
Why Auto? Down in the driver you seem to translate this to a time. And it looks like your hardware is flexible on that time, it can probably do at least 8s to 100ms. Why not specify a time? What do other vendors support? Time? Number of pause frames sent? Andrew