• Lennert Buytenhek's avatar
    mv643xx_eth: fix transmit-reclaim-in-napi-poll · 4dfc1c87
    Lennert Buytenhek authored
    The mv643xx_eth driver allows doing transmit reclaim from within the
    napi poll routine, but after doing reclaim, it would forget to check
    the free transmit descriptor count and wake up the transmit queue if
    the reclaim caused enough descriptors for a new packet to become
    available.  This would cause the netdev watchdog to occasionally kick
    in during certain workloads with combined receive and transmit traffic.
    
    Fix this by adding a wakeup check identical to the one in the
    interrupt handler to the napi poll routine.
    Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
    4dfc1c87
mv643xx_eth.c 63.1 KB