• Daniele Palmas's avatar
    net: qualcomm: rmnet: add tx packets aggregation · 64b5d1f8
    Daniele Palmas authored
    Add tx packets aggregation.
    
    Bidirectional TCP throughput tests through iperf with low-cat
    Thread-x based modems revelead performance issues both in tx
    and rx.
    
    The Windows driver does not show this issue: inspecting USB
    packets revealed that the only notable change is the driver
    enabling tx packets aggregation.
    
    Tx packets aggregation is by default disabled and can be enabled
    by increasing the value of ETHTOOL_A_COALESCE_TX_MAX_AGGR_FRAMES.
    
    The maximum aggregated size is by default set to a reasonably low
    value in order to support the majority of modems.
    
    This implementation is based on patches available in Code Aurora
    repositories (msm kernel) whose main authors are
    
    Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
    Sean Tranchetti <stranche@codeaurora.org>
    Signed-off-by: default avatarDaniele Palmas <dnlplm@gmail.com>
    Reviewed-by: default avatarSubash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    64b5d1f8
rmnet_config.c 11.9 KB