• Florian Fainelli's avatar
    net: dsa: bcm_sf2: Turn on ACB at the switch level · 32e47ff0
    Florian Fainelli authored
    Turn on the out of band Advanced Congestion Buffering (ACB) mechanism at
    the switch level now that we have properly established the queue mapping
    between the switch egress queues and the SYSTEMPORT egress queues. This
    allows the switch to correctly backpressure the host system when one of
    its queue drops below the configured thresholds.
    
    This is also helping achieve so called "lossless" behavior by adapting
    the TX interrupt pacing to the actual speed and capacity of the switch
    port.
    Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    32e47ff0
bcm_sf2_regs.h 12 KB