aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWilliam Tu <[email protected]>2016-06-20 07:26:17 -0700
committerDavid S. Miller <[email protected]>2016-06-22 16:34:39 -0400
commitb95e5928fcc76d156352570858abdea7b2628efd (patch)
treea1957ca55d8e3a9d49af276d1b347340de0256c7 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent904632a224b2ea39920e526cdc93565aaf1fb43e (diff)
openvswitch: Add packet len info to upcall.
The commit f2a4d086ed4c ("openvswitch: Add packet truncation support.") introduces packet truncation before sending to userspace upcall receiver. This patch passes up the skb->len before truncation so that the upcall receiver knows the original packet size. Potentially this will be used by sFlow, where OVS translates sFlow config header=N to a sample action, truncating packet to N byte in kernel datapath. Thus, only N bytes instead of full-packet size is copied from kernel to userspace, saving the kernel-to-userspace bandwidth. Signed-off-by: William Tu <[email protected]> Cc: Pravin Shelar <[email protected]> Acked-by: Pravin B Shelar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions