• John Crispin's avatar
    net: mediatek: remove superfluous queue wake up call · 82c6544d
    John Crispin authored
    The code checks if the queue should be stopped because we are below the
    threshold of free descriptors only to check if it should be started again.
    If we do end up in a state where we are at the threshold limit, it makes
    more sense to just stop the queue and wait for the next IRQ to trigger the
    TX housekeeping again. There is no rush in enqueuing the next packet, it
    needs to wait for all the others in the queue to be dispatched first
    anyway.
    Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    82c6544d
mtk_eth_soc.c 44.6 KB