[ovs-dev] about ovs truncate action

William Tu u9012063 at gmail.com
Tue Feb 7 16:04:10 UTC 2017


On Tue, Feb 7, 2017 at 6:25 AM, Big Strong <fangtuo90 at gmail.com> wrote:
> hello, sir
>
> I noticed that you commit a patch to add truncate action to ovs at
> https://github.com/openvswitch/ovs/commit/aaca4fe0ce9e90a41b3f4db84be7d05823c733e4.
> It is a great job. Would you be kind to tell me what is the granularity of
> the original traffic? Is it a packet or a flow?

it is flow-based

> During my test, when I set actions=output(port=3,max_len=1000),output:2, I
> find that I can dump packet from port 3 whose length is larger than 1000,
> which is the same as untruncated one as port 2.

yes, only packet outputted to port:3 will be truncated. You will see
original size at port:2.

>
> regards


More information about the dev mailing list