• Eric Dumazet's avatar
    net: remove time limit in process_backlog() · 9958da05
    Eric Dumazet authored
    - There is no point to enforce a time limit in process_backlog(), since
    other napi instances dont follow same rule. We can exit after only one
    packet processed...
    The normal quota of 64 packets per napi instance should be the norm, and
    net_rx_action() already has its own time limit.
    Note : /proc/net/core/dev_weight can be used to tune this 64 default
    value.
    
    - Use DEFINE_PER_CPU_ALIGNED for softnet_data definition.
    Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9958da05
dev.c 142 KB