Re: [ovs-dev] [PATCH] ofproto-dpif-mirror: add snaplen/truncate support.

2016-06-06 Thread William
Hi Ben, Thank you, I will fix it and resubmit together with the truncate patch. Regards, William > On Jun 6, 2016, at 9:50 PM, Ben Pfaff wrote: > >> On Fri, May 27, 2016 at 11:22:10AM -0700, William Tu wrote: >> This patch adds a 'snaplen' config for mirroring table. A mirrored packet >> with

Re: [ovs-dev] [PATCH] ofproto-dpif-mirror: add snaplen/truncate support.

2016-06-06 Thread Ben Pfaff
On Fri, May 27, 2016 at 11:22:10AM -0700, William Tu wrote: > This patch adds a 'snaplen' config for mirroring table. A mirrored packet > with size larger than snaplen bytes will be truncated in datapath before > sending to the mirror output port. A snaplen of 0 equals 65535, which means > no tru

[ovs-dev] [PATCH] ofproto-dpif-mirror: add snaplen/truncate support.

2016-05-27 Thread William Tu
This patch adds a 'snaplen' config for mirroring table. A mirrored packet with size larger than snaplen bytes will be truncated in datapath before sending to the mirror output port. A snaplen of 0 equals 65535, which means no truncation applied. The patch depends on packet truncation patch: