Re: [PATCHv2] erspan: Add type I version 0 support.

2020-05-07 Thread William Tu
On Wed, May 6, 2020 at 7:42 PM Eric Dumazet wrote: > > > > On 5/5/20 9:05 AM, William Tu wrote: > > The Type I ERSPAN frame format is based on the barebones > > IP + GRE(4-byte) encapsulation on top of the raw mirrored frame. > > Both type I and II use 0x88BE as protocol type. Unlike type II > > a

Re: [PATCHv2] erspan: Add type I version 0 support.

2020-05-06 Thread Eric Dumazet
On 5/5/20 9:05 AM, William Tu wrote: > The Type I ERSPAN frame format is based on the barebones > IP + GRE(4-byte) encapsulation on top of the raw mirrored frame. > Both type I and II use 0x88BE as protocol type. Unlike type II > and III, no sequence number or key is required. > To creat a type

Re: [PATCHv2] erspan: Add type I version 0 support.

2020-05-05 Thread David Miller
From: William Tu Date: Tue, 5 May 2020 09:05:06 -0700 > > The Type I ERSPAN frame format is based on the barebones > IP + GRE(4-byte) encapsulation on top of the raw mirrored frame. > Both type I and II use 0x88BE as protocol type. Unlike type II > and III, no sequence number or key is required

[PATCHv2] erspan: Add type I version 0 support.

2020-05-05 Thread William Tu
The Type I ERSPAN frame format is based on the barebones IP + GRE(4-byte) encapsulation on top of the raw mirrored frame. Both type I and II use 0x88BE as protocol type. Unlike type II and III, no sequence number or key is required. To creat a type I erspan tunnel device: $ ip link add dev ersp