• Jose Abreu's avatar
    net: stmmac: Rework TX Coalesce logic · c2837423
    Jose Abreu authored
    Coalesce logic currently increments the number of packets and sets the
    IC bit when the coalesced packets have passed a given limit. This does
    not reflect very well what coalesce was meant for as we can have a large
    number of packets that are coalesced and then a single one, sent later
    on that has the IC bit.
    
    Rework the logic so that it coalesces only upon a limit of packets and
    sets the IC bit for large number of packets.
    Signed-off-by: default avatarJose Abreu <Jose.Abreu@synopsys.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c2837423
stmmac_main.c 135 KB