[ovs-dev] [PATCH] erspan: set bso bit based on mirrored packet's len

Gregory Rose gvrose8192 at gmail.com
Wed Jul 18 18:00:48 UTC 2018


On 7/18/2018 10:34 AM, William Tu wrote:
> On Wed, Jul 18, 2018 at 9:22 AM, Greg Rose <gvrose8192 at gmail.com> wrote:
>> Upstream commit:
>>      Before the patch, the erspan BSO bit (Bad/Short/Oversized) is not
>>      handled.  BSO has 4 possible values:
>>        00 --> Good frame with no error, or unknown integrity
>>        11 --> Payload is a Bad Frame with CRC or Alignment Error
>>        01 --> Payload is a Short Frame
>>        10 --> Payload is an Oversized Frame
>>
>>      Based the short/oversized definitions in RFC1757, the patch sets
>>      the bso bit based on the mirrored packet's size.
>>
>>      Reported-by: Xiaoyan Jin <xiaoyanj at vmware.com>
>>      Signed-off-by: William Tu <u9012063 at gmail.com>
>>      Signed-off-by: David S. Miller <davem at davemloft.net>
>>
>> Cc: William Tu <u9012063 at gmail.com>
>> Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
>> ---
> Thanks, I forgot to backport this one.
>
> Acked-by: William Tu <u9012063 at gmail.com>

Yeah, and I got delayed by other priortiies in doing it myself. Better 
late than never in this case.

Thanks!


More information about the dev mailing list