All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: snmp: minor optimizations
@ 2021-09-30  1:03 Eric Dumazet
  2021-09-30  1:03 ` [PATCH net-next 1/2] net: snmp: inline snmp_get_cpu_field() Eric Dumazet
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Dumazet @ 2021-09-30  1:03 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski
  Cc: netdev, Eric Dumazet, Eric Dumazet, Mat Martineau, Matthieu Baerts

From: Eric Dumazet <edumazet@google.com>

Fetching many SNMP counters on hosts with large number of cpus
takes a lot of time. mptcp still uses the old non-batched
fashion which is not cache friendly.

Eric Dumazet (2):
  net: snmp: inline snmp_get_cpu_field()
  mptcp: use batch snmp operations in mptcp_seq_show()

 include/net/ip.h   |  6 +++++-
 net/ipv4/af_inet.c |  6 ------
 net/mptcp/mib.c    | 17 +++++++----------
 3 files changed, 12 insertions(+), 17 deletions(-)

-- 
2.33.0.800.g4c38ced690-goog


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

end of thread, other threads:[~2021-09-30 13:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30  1:03 [PATCH net-next 0/2] net: snmp: minor optimizations Eric Dumazet
2021-09-30  1:03 ` [PATCH net-next 1/2] net: snmp: inline snmp_get_cpu_field() Eric Dumazet
2021-09-30  1:03 ` [PATCH net-next 2/2] mptcp: use batch snmp operations in mptcp_seq_show() Eric Dumazet
2021-09-30 13:20 ` [PATCH net-next 0/2] net: snmp: minor optimizations patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.