Skip to content
  • Pawel Kulakowski's avatar
    ath9k: Enable support for cloned SKBS · 50e81e2f
    Pawel Kulakowski authored
    
    
    Ath9k driver does not modify tx skbs, so SUPPORTS_CLONED_SKBS
    flag can be set. Enabling this flag significant reduce number
    of copy operation during TCP Tx. This is especially noticeable
    on platforms with slower CPU (lower CPU usage brings
    profits in better TCP Tx troughput results).
    
    Tested on MIPS with 560 MHz clock
    Without CLONED_SKBS flag:
    TCP Tx 145 Mb/s (iperf result)
    __copy_user_common consumes 12.9% of CPU (result from perf tool)
    0% CPU Idle
    
    With CLONED_SKBS flag:
    TCP Tx 170 Mb/s (iperf result)
    __copy_user_common consumes 1.8% of CPU (result from perf tool)
    12% CPU Idle
    
    Signed-off-by: default avatarPawel Kulakowski <pawel.kulakowski@tieto.com>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    50e81e2f