On Fri, Jun 10, 2016 at 11:49 AM, William Tu <u9012...@gmail.com> 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 when the packet is outputting to a port, or when
> the packet is sent to userspace.
>
> Signed-off-by: William Tu <u9012...@gmail.com>
> Cc: Pravin Shelar <pshe...@nicira.com>
>
> ---
> v2 -> v3
> - Change minimum packet size after truncate to 14 (ETH_HLEN).
> - Pass cutlen to userspace action.
> - Allocate smaller skb buffer if packet is truncated.
>
> v1 -> v2:
> - Use 32 bits cutlen and fix unnecessary cutlen initilization.
> - Fix cutlen leaks to remaining actions under sample action.
> - In queue_userspace_packet, don't extract hlen when using skb_zerocopy.
> ---

Acked-by: Pravin B Shelar <pshe...@ovn.org>

Thanks.

Reply via email to