From: Roman Mashak <mrv@mojatatu.com>
To: William Tu <u9012063@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH v2 iproute2 net-next] erspan: add erspan version II support
Date: Fri, 15 Dec 2017 18:58:03 -0500 [thread overview]
Message-ID: <854lorfss4.fsf@mojatatu.com> (raw)
In-Reply-To: <1513374172-5875-1-git-send-email-u9012063@gmail.com> (William Tu's message of "Fri, 15 Dec 2017 13:42:52 -0800")
William Tu <u9012063@gmail.com> 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 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 <u9012063@gmail.com>
> ---
> change in v2:
> - clean up and update manpage.
> ---
> include/uapi/linux/if_ether.h | 1 +
> include/uapi/linux/if_tunnel.h | 3 ++
> ip/link_gre.c | 59 ++++++++++++++++++++++++--
> ip/link_gre6.c | 61 +++++++++++++++++++++++++--
> man/man8/ip-link.8.in | 94 ++++++++++++++++++++++++++++++++++++------
> 5 files changed, 199 insertions(+), 19 deletions(-)
>
> diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h
> index 2eb529a90250..5fd5c12ef8e9 100644
> --- a/include/uapi/linux/if_ether.h
> +++ b/include/uapi/linux/if_ether.h
> @@ -47,6 +47,7 @@
> #define ETH_P_PUP 0x0200 /* Xerox PUP packet */
> #define ETH_P_PUPAT 0x0201 /* Xerox PUP Addr Trans packet */
> #define ETH_P_TSN 0x22F0 /* TSN (IEEE 1722) packet */
> +#define ETH_P_ERsPAN2 0x22EB /* ERSPAN version 2 (type III) */
^ Is it intention to have a lower case 's' in macro name or typo?
[...]
next prev parent reply other threads:[~2017-12-15 23:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-15 21:42 [PATCH v2 iproute2 net-next] erspan: add erspan version II support William Tu
2017-12-15 23:58 ` Roman Mashak [this message]
2017-12-16 0:55 ` William Tu
-- strict thread matches above, loose matches on Subject: below --
2017-12-16 1:06 William Tu
2017-12-19 22:17 ` David Ahern
2017-12-19 23:15 ` William Tu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=854lorfss4.fsf@mojatatu.com \
--to=mrv@mojatatu.com \
--cc=netdev@vger.kernel.org \
--cc=u9012063@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).