aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/sysctl_net_ipv6.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2017-08-24 18:59:37 +0000
committerDavid S. Miller <[email protected]>2017-08-24 18:59:37 +0000
commite7d12ce121aa474ea6984ea1255a7bd85c09454f (patch)
treebda1e6b0dc4649bdc45162c59b6d1df6e2ecdf2f /net/ipv6/sysctl_net_ipv6.c
parentMerge branch 'mlxsw-ipv4-host-dpipe-table' (diff)
parentxdp: get tracepoints xdp_exception and xdp_redirect in sync (diff)
downloadkernel-e7d12ce121aa474ea6984ea1255a7bd85c09454f.tar.gz
kernel-e7d12ce121aa474ea6984ea1255a7bd85c09454f.zip
Merge branch 'xdp-more-work-on-xdp-tracepoints'
Jesper Dangaard Brouer says: ==================== xdp: more work on xdp tracepoints More work on streamlining and performance optimizing the tracepoints for XDP. I've created a simple xdp_monitor application that uses this tracepoint, and prints statistics. Available at github: https://github.com/netoptimizer/prototype-kernel/blob/master/kernel/samples/bpf/xdp_monitor_kern.c https://github.com/netoptimizer/prototype-kernel/blob/master/kernel/samples/bpf/xdp_monitor_user.c The improvement over tracepoint with strcpy: 9810372 - 8428762 = +1381610 pps faster - (1/9810372 - 1/8428762)*10^9 = -16.7 nanosec - 100-(8428762/9810372*100) = strcpy-trace is 14.08% slower - 981037/8428762*100 = removing strcpy made it 11.64% faster V3: Fix merge conflict with commit e4a8e817d3cb ("bpf: misc xdp redirect cleanups") V2: Change trace_xdp_redirect() to align with args of trace_xdp_exception() ==================== Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
0 files changed, 0 insertions, 0 deletions