• Lennert Buytenhek's avatar
    mv643xx_eth: get rid of receive-side locking · 2257e05c
    Lennert Buytenhek authored
    By having the receive out-of-memory handling timer schedule the napi
    poll handler and then doing oom processing from the napi poll handler,
    all code that touches receive state moves to napi context, letting us
    get rid of all explicit locking in the receive paths since the only
    mutual exclusion we need anymore at that point is protection against
    reentering ourselves, which is provided by napi synchronisation.
    Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
    2257e05c
mv643xx_eth.c 65.8 KB