• Sven Eckelmann's avatar
    batman-adv: Enable LockLess TX for softif · a7ea49af
    Sven Eckelmann authored
    The batadv interfaces are virtual interfaces which just tunnel the traffic
    over other ethernet compatible interfaces. It doesn't need serialization
    during the tx phase and is using RCU for most of its internal
    datastructures. Since it doesn't have actual queues which could be locked
    independently, the throughput gets significantly reduced by the extra lock
    in the core net code.
    
    8 parallel TCP connections forwarded by an IPQ4019 based hardware over
    5GHz could reach:
    
    * without LLTX: 349 Mibit/s
    * with LLTX:    563 Mibit/s
    Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
    Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
    a7ea49af
soft-interface.c 32.2 KB