Re: [PATCH v2 iproute2 net-next] erspan: add erspan version II support

2017-12-19 Thread William Tu
On Tue, Dec 19, 2017 at 2:17 PM, David Ahern wrote: > On 12/15/17 6:06 PM, William Tu wrote: >> @@ -343,6 +355,22 @@ get_failed: >> invarg("invalid erspan index\n", *argv); >> if (erspan_idx & ~((1<<20) - 1) || erspan_idx == 0) >>

Re: [PATCH v2 iproute2 net-next] erspan: add erspan version II support

2017-12-19 Thread David Ahern
On 12/15/17 6:06 PM, William Tu wrote: > @@ -343,6 +355,22 @@ get_failed: > invarg("invalid erspan index\n", *argv); > if (erspan_idx & ~((1<<20) - 1) || erspan_idx == 0) > invarg("erspan index must be > 0 and <= > 2

[PATCH v2 iproute2 net-next] erspan: add erspan version II support

2017-12-15 Thread William Tu
The patch adds support for configuring the erspan v2, for both ipv4 and ipv6 erspan implementation. Three additional fields are added: 'erspan_ver' for distinguishing v1 or v2, 'erspan_dir' for specifying direction of the mirrored traffic, and 'erspan_hwid' for users to set ERSPAN engine ID within

Re: [PATCH v2 iproute2 net-next] erspan: add erspan version II support

2017-12-15 Thread William Tu
On Fri, Dec 15, 2017 at 3:58 PM, Roman Mashak wrote: > William Tu writes: > >> The patch adds support for configuring the erspan v2, for both >> ipv4 and ipv6 erspan implementation. Three additional fields >> are added: 'erspan_ver' for distinguishing v1 or v2, 'erspan_dir' >> for specifying dir

Re: [PATCH v2 iproute2 net-next] erspan: add erspan version II support

2017-12-15 Thread Roman Mashak
William Tu writes: > The patch adds support for configuring the erspan v2, for both > ipv4 and ipv6 erspan implementation. Three additional fields > are added: 'erspan_ver' for distinguishing v1 or v2, 'erspan_dir' > for specifying direction of the mirrored traffic, and 'erspan_hwid' > for users

[PATCH v2 iproute2 net-next] erspan: add erspan version II support

2017-12-15 Thread William Tu
The patch adds support for configuring the erspan v2, for both ipv4 and ipv6 erspan implementation. Three additional fields are added: 'erspan_ver' for distinguishing v1 or v2, 'erspan_dir' for specifying direction of the mirrored traffic, and 'erspan_hwid' for users to set ERSPAN engine ID within