[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOrHB_A-gnvndiT4ejx9k9ByXPLbz5_sAj2ZqaqfvRSrFMF24w@mail.gmail.com>
Date: Fri, 10 Jun 2016 13:22:15 -0700
From: pravin shelar <pshelar@....org>
To: William Tu <u9012063@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
Pravin Shelar <pshelar@...ira.com>
Subject: Re: [net-next,v3] openvswitch: Add packet truncation support.
On Fri, Jun 10, 2016 at 11:49 AM, William Tu <u9012063@...il.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 <u9012063@...il.com>
> Cc: Pravin Shelar <pshelar@...ira.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 <pshelar@....org>
Thanks.
Powered by blists - more mailing lists