[ovs-dev] [PATCHv7 1/2] datapath:backport: openvswitch: Add packet truncation support.

pravin shelar pshelar at ovn.org
Fri Jun 17 17:51:27 UTC 2016


On Tue, Jun 14, 2016 at 4:42 PM, William Tu <u9012063 at gmail.com> wrote:
> Upstream commit:
>     commit f2a4d086ed4c588d32fe9b7aa67fead7280e7bf1
>     Author: William Tu <u9012063 at gmail.com>
>     Date:   Fri Jun 10 11:49:33 2016 -0700
>
>     openvswitch: Add packet truncation support.
>
>     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 at gmail.com>
>     Cc: Pravin Shelar <pshelar at nicira.com>
>     Acked-by: Pravin B Shelar <pshelar at ovn.org>
>     Signed-off-by: David S. Miller <davem at davemloft.net>
>
> Tested-at: https://travis-ci.org/williamtu/ovs-travis/builds/137660394
> Signed-off-by: William Tu <u9012063 at gmail.com>
> Cc: Pravin Shelar <pshelar at nicira.com>

Acked-by: Pravin B Shelar <pshelar at ovn.org>



More information about the dev mailing list