On Fri, Jun 24, 2016 at 3:50 PM, William Tu <u9012...@gmail.com> wrote: > Upstream commit: > commit b95e5928fcc76d156352570858abdea7b2628efd > Author: William Tu <u9012...@gmail.com> > Date: Mon Jun 20 07:26:17 2016 -0700 > > 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 <u9012...@gmail.com> > Cc: Pravin Shelar <pshe...@nicira.com> > Acked-by: Pravin B Shelar <pshe...@ovn.org> > Signed-off-by: David S. Miller <da...@davemloft.net> > > Tested-at: https://travis-ci.org/williamtu/ovs-travis/builds/140135299 > Signed-off-by: William Tu <u9012...@gmail.com> > ---
looks good to me. Applied to master. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev