Skip to content

iproute2: fully support for geneve/vxlan/erspan options

Xin Long netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 5 repliesIn review
  2. v37 patches 19 repliesSuperseded
  3. v27 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches4 repliesSuperseded

Changes in v4 from the cover letter

- Basically we print all options as uint, other than 'data' in the 1st patch as a hex string.
- As Stephen's suggestion, we keep all those options of the same format between input and output, and between json and non json.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7iproute_lwtunnel: add options support for geneve metadataip/iproute_lwtunnel.c+172 -20 replies
2/7iproute_lwtunnel: add options support for vxlan metadataip/iproute_lwtunnel.c+68 -04 replies
3/7iproute_lwtunnel: add options support for erspan metadataip/iproute_lwtunnel.c+140 -00 replies
4/7tc: m_tunnel_key: add options support for vxlanman/man8/tc-tunnel_key.8 tc/m_tunnel_key.c+84 -100 replies
5/7tc: m_tunnel_key: add options support for erpsanman/man8/tc-tunnel_key.8 tc/m_tunnel_key.c+127 -20 replies
6/7tc: f_flower: add options support for vxlanman/man8/tc-flower.8 tc/f_flower.c+126 -160 replies
7/7tc: f_flower: add options support for erspanman/man8/tc-flower.8 tc/f_flower.c+184 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCHv4 iproute2-next 0/7] iproute2: fully support for geneve/vxlan/erspan options

Patch 1-3 add the geneve/vxlan/erspan options support for iproute_lwtunnel, and Patch 4-5 add the vxlan/erspan options for tc m_tunnel_key, and Patch 6-7 add the vxlan/erspan options for tc f_flower.

In kernel space, these features have been supported since these patchsets:

https://patchwork.ozlabs.org/cover/1190172/
https://patchwork.ozlabs.org/cover/1198854/

v1->v2:
- improve the bash commands in changelog as David A. suggested.
- use PRINT_ANY to support dummping with json format as Stephen suggested.
v2->v3:
- implement proper JSON array for opts as Stephen suggested.
v3->v4:
- Basically we print all options as uint, other than 'data' in the 1st patch as a hex string.
- As Stephen's suggestion, we keep all those options of the same format between input and output, and between json and non json.

Xin Long (7):
iproute_lwtunnel: add options support for geneve metadata
iproute_lwtunnel: add options support for vxlan metadata
iproute_lwtunnel: add options support for erspan metadata
tc: m_tunnel_key: add options support for vxlan
tc: m_tunnel_key: add options support for erpsan
tc: f_flower: add options support for vxlan
tc: f_flower: add options support for erspan

 ip/iproute_lwtunnel.c    | 382 ++++++++++++++++++++++++++++++++++++++++++++++-
 man/man8/tc-flower.8     |  25 ++++
 man/man8/tc-tunnel_key.8 |  20 ++-
 tc/f_flower.c            | 301 +++++++++++++++++++++++++++++++++++--
 tc/m_tunnel_key.c        | 199 ++++++++++++++++++++++--
 5 files changed, 899 insertions(+), 28 deletions(-)
Signature · 1 line
2.1.0