[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160622.163516.1935037526473745406.davem@davemloft.net>
Date: Wed, 22 Jun 2016 16:35:16 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: u9012063@...il.com
Cc: netdev@...r.kernel.org, pshelar@...ira.com
Subject: Re: [net-next,v4] openvswitch: Add packet len info to upcall.
From: William Tu <u9012063@...il.com>
Date: Mon, 20 Jun 2016 07:26:17 -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 <u9012063@...il.com>
Applied.
Powered by blists - more mailing lists