On 12/19/17 8:01 PM, William Tu wrote:
> 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 a system.
> 
> As for manpage, the ERSPAN descriptions used to be under GRE, IPIP,
> SIT Type paragraph.  Since IP6GRE/IP6GRETAP also supports ERSPAN,
> the patch removes the old one, creates a separate ERSPAN paragrah,
> and adds an example.
> 
> Signed-off-by: William Tu <u9012...@gmail.com>
> ---
> change in v4:
>   - use matches instead of strcmp on ingress/egress
> change in v3:
>   - change erspan_dir 0/1 to "in[gress]/e[gress]"
>   - update manpage
> change in v2:
>   - fix typo ETH_P_ERSPAN2
>   - fix space and indent
> ---
>  include/uapi/linux/if_ether.h  |  1 +
>  include/uapi/linux/if_tunnel.h |  3 ++
>  ip/link_gre.c                  | 66 ++++++++++++++++++++++++++++--
>  ip/link_gre6.c                 | 67 ++++++++++++++++++++++++++++--
>  man/man8/ip-link.8.in          | 92 
> ++++++++++++++++++++++++++++++++++++------
>  5 files changed, 210 insertions(+), 19 deletions(-)

This was applied to iproute2 net-next:

https://git.kernel.org/pub/scm/linux/kernel/git/dsahern/iproute2-next.git/

Reply via email to