archive mirror
 help / color / mirror / Atom feed
* Three questions about busy poll
@ 2019-02-14 20:15 Cong Wang
  2019-02-15  0:39 ` Willem de Bruijn
       [not found] ` <>
  0 siblings, 2 replies; 8+ messages in thread
From: Cong Wang @ 2019-02-14 20:15 UTC (permalink / raw)
  To: Alexander Duyck
  Cc: Eric Dumazet, sridhar.samudrala, Linux Kernel Network Developers


While looking into the busy polling in Linux kernel, three questions
come into my mind:

1. In the document[1], it claims depends on
either SO_BUSY_POLL or However, from the code in
ep_set_busy_poll_napi_id(), I don't see such a dependency. It simply
checks sysctl_net_busy_poll and sk->sk_napi_id, but sk->sk_napi_id is
always set as long as we enable CONFIG_NET_RX_BUSY_POLL. So what I am
missing here?

2. Why there is no socket option for Clearly
sysctl_net_busy_poll is global and SO_BUSY_POLL only works for

3. How is SO_INCOMING_NAPI_ID supposed to be used? I can't find any
useful documents online. Any example or more detailed doc?



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-22 20:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-14 20:15 Three questions about busy poll Cong Wang
2019-02-15  0:39 ` Willem de Bruijn
2019-02-15 19:04   ` Cong Wang
2019-02-15 22:46     ` Willem de Bruijn
2019-02-19  4:30       ` Cong Wang
2019-02-19 17:04         ` Willem de Bruijn
     [not found] ` <>
2019-02-15 19:18   ` Cong Wang
2019-02-22 20:00     ` Samudrala, Sridhar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).