Re: [PATCH] openvswitch: Add cutlen info to upcall.

2016-06-16 Thread William Tu
Hi Pravin, Yes, I think that's better. Instead of cutlen, I will pass the skb->len to userspace. Regards, William On Wed, Jun 15, 2016 at 7:55 PM, pravin shelar wrote: > On Wed, Jun 15, 2016 at 7:28 PM, William Tu wrote: >> The commit f2a4d086ed4c ("openvswitch: Add packet truncation support."

Re: [PATCH] openvswitch: Add cutlen info to upcall.

2016-06-15 Thread pravin shelar
On Wed, Jun 15, 2016 at 7:28 PM, William Tu wrote: > The commit f2a4d086ed4c ("openvswitch: Add packet truncation support.") > introduces packet truncation before sending to userspace upcall receiver. > This patch passes the number of bytes truncated in kernel to so that the > upcall receiver know

[PATCH] openvswitch: Add cutlen info to upcall.

2016-06-15 Thread William Tu
The commit f2a4d086ed4c ("openvswitch: Add packet truncation support.") introduces packet truncation before sending to userspace upcall receiver. This patch passes the number of bytes truncated in kernel to so that the upcall receiver knows the original packet size. Potentially this will be used by