diff options
| author | David S. Miller <davem@davemloft.net> | 2023-04-23 13:35:08 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-04-23 13:35:08 +0100 |
| commit | 6bb218b5a6e3f3c5e2e76faf8fc976f3f6f72496 (patch) | |
| tree | ced867d044fe2843db10784167cbba91399f5131 /include/linux/netdevice.h | |
| parent | 19c60fdee5db881a99a9c39fb31942a530d20c63 (diff) | |
| parent | 87eff2ec57b6d68d294013d8dd21e839a1175e3a (diff) | |
Merge branch 'napi_threaded_poll-enhancements'
Eric Dumazet says:
====================
net: give napi_threaded_poll() some love
There is interest to revert commit 4cd13c21b207
("softirq: Let ksoftirqd do its job") and use instead the
napi_threaded_poll() mode.
https://lore.kernel.org/netdev/140f61e2e1fcb8cf53619709046e312e343b53ca.camel@redhat.com/T/#m8a8f5b09844adba157ad0d22fc1233d97013de50
Before doing so, make sure napi_threaded_poll() benefits
from recent core stack improvements, to further reduce
softirq triggers.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index a6a3e9457d6c..08fbd4622ccf 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -3194,7 +3194,10 @@ struct softnet_data { #ifdef CONFIG_RPS struct softnet_data *rps_ipi_list; #endif + bool in_net_rx_action; + bool in_napi_threaded_poll; + #ifdef CONFIG_NET_FLOW_LIMIT struct sd_flow_limit __rcu *flow_limit; #endif |
