From: Stephen Hemminger <stephen@networkplumber.org>
To: William Tu <u9012063@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next 0/4] ERSPAN version 2 (type III) support
Date: Wed, 13 Dec 2017 17:54:46 -0800 [thread overview]
Message-ID: <20171213175446.18c98648@xeon-e3> (raw)
In-Reply-To: <1513211938-8749-1-git-send-email-u9012063@gmail.com>
On Wed, 13 Dec 2017 16:38:54 -0800
William Tu <u9012063@gmail.com> wrote:
> ERSPAN has two versions, v1 (type II) and v2 (type III). This patch
> series add support for erspan v2 based on existing erspan v1
> implementation. The first patch refactors the existing erspan v1's
> header structure, making it extensible to put additional v2's header.
> The second and third patch introduces erspan v2's implementation to
> ipv4 and ipv6 erspan, for both native mode and collect metadata mode.
> Finally, test cases are added under the samples/bpf.
>
> Note:
> ERSPAN version 2 has many features and this patch does not implement
> all. One major use case of version 2 over version 1 is its timestamp
> and direction. So the traffic collector is able to distinguish the
> mirrorred traffic better. Other features such as SGT (security group
> tag), FT (frame type) for carrying non-ethernet packet, and optional
> subheader are not implemented yet.
>
> Example commandline for ERSPAN version 2:
> ip link add dev ip6erspan11 type ip6erspan seq key 102 \
> local fc00:100::2 remote fc00:100::1 \
> erspan_ver 2 erspan_dir 1 erspan_hwid 17
>
> The corresponding iproute2 patch:
> https://marc.info/?l=linux-netdev&m=151321141525106&w=2
If this is accepted to net-next you will need to
resubmit the iproute2 patch.
next prev parent reply other threads:[~2017-12-14 1:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-14 0:38 [PATCH net-next 0/4] ERSPAN version 2 (type III) support William Tu
2017-12-14 0:38 ` [PATCH net-next 1/4] net: erspan: refactor existing erspan code William Tu
2017-12-14 0:38 ` [PATCH net-next 2/4] net: erspan: introduce erspan v2 for ip_gre William Tu
2017-12-14 0:38 ` [PATCH net-next 3/4] ip6_gre: add erspan v2 support William Tu
2017-12-14 0:38 ` [PATCH net-next 4/4] samples/bpf: add erspan v2 sample code William Tu
2017-12-14 1:54 ` Stephen Hemminger [this message]
2017-12-14 2:08 ` [PATCH net-next 0/4] ERSPAN version 2 (type III) support William Tu
2017-12-15 17:34 ` David Miller
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=20171213175446.18c98648@xeon-e3 \
--to=stephen@networkplumber.org \
--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