-
由 Eric Dumazet 提交于
We want to make two optimizations in napi_schedule_rps() and ____napi_schedule() which require to know if these helpers are called from net_rx_action(), instead of being called from other contexts. sd.in_net_rx_action is only read/written by the owning cpu. Signed-off-by: NEric Dumazet <edumazet@google.com> Reviewed-by: NJason Xing <kerneljasonxing@gmail.com> Tested-by: NJason Xing <kerneljasonxing@gmail.com> Signed-off-by: NPaolo Abeni <pabeni@redhat.com>
c59647c0