• Eric Dumazet's avatar
    rps: immediate send IPI in process_backlog() · e326bed2
    Eric Dumazet authored
    If some skb are queued to our backlog, we are delaying IPI sending at
    the end of net_rx_action(), increasing latencies. This defeats the
    queueing, since we want to quickly dispatch packets to the pool of
    worker cpus, then eventually deeply process our packets.
    
    It's better to send IPI before processing our packets in upper layers,
    from process_backlog().
    
    Change the _and_disable_irq suffix to _and_enable_irq(), since we enable
    local irq in net_rps_action(), sorry for the confusion.
    Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e326bed2
dev.c 142 KB