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

William Tu u9012063 at gmail.com
Wed Jul 18 17:34:37 UTC 2018


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>


More information about the dev mailing list