Re: [net-next,v2] openvswitch: Add packet truncation support.

2016-06-10 Thread pravin shelar
On Thu, Jun 9, 2016 at 4:57 PM, William Tu wrote: > The patch adds a new OVS action, OVS_ACTION_ATTR_TRUNC, in order to > truncate packets. A 'max_len' is added for setting up the maximum > packet size, and a 'cutlen' field is to record the number of bytes > to trim the packet

[net-next,v2] openvswitch: Add packet truncation support.

2016-06-09 Thread William Tu
The patch adds a new OVS action, OVS_ACTION_ATTR_TRUNC, in order to truncate packets. A 'max_len' is added for setting up the maximum packet size, and a 'cutlen' field is to record the number of bytes to trim the packet when the packet is outputting to a port, or when the packet is sent to