• Ioana Ciornei's avatar
    dpaa2-eth: Keep congestion group taildrop enabled when PFC on · 07beb165
    Ioana Ciornei authored
    Leave congestion group taildrop enabled for all traffic classes
    when PFC is enabled. Notification threshold is low enough such
    that it will be hit first and this also ensures that FQs on
    traffic classes which are not PFC enabled won't drain the buffer
    pool.
    
    FQ taildrop threshold is kept disabled as long as any form of
    flow control is on. Since FQ taildrop works with bytes, not number
    of frames, we can't guarantee it will not interfere with the
    congestion notification mechanism for all frame sizes.
    Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    07beb165
dpaa2-eth.c 101 KB