Skip to content

net: snmp: minor optimizations

Eric Dumazet netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: snmp: inline snmp_get_cpu_field()include/net/ip.h net/ipv4/af_inet.c+5 -70 repliesApplied
2/2mptcp: use batch snmp operations in mptcp_seq_show()net/mptcp/mib.c+7 -100 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] net: snmp: minor optimizations

From: Eric Dumazet <[email protected]>

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(-)
Signature · 1 line
2.33.0.800.g4c38ced690-goog