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

Ben Pfaff blp at ovn.org
Tue Jul 31 20:07:46 UTC 2018


On Wed, Jul 18, 2018 at 10:34:37AM -0700, 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>

Thanks Greg and William.  I applied this to master and branch-2.10.


More information about the dev mailing list