vxlan: implement Generic Protocol Extension (GPE)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 3 repliesIn review
- v24 patches 3 repliesSuperseded
- v15 patches 13 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | vxlan: move Ethernet initialization to a separate functiondrivers/ | +13 | 0 replies | |
| 2/4 | vxlan: move fdb code to common location in vxlan_xmitdrivers/ | +11 | 0 replies | |
| 3/4 | ip_tunnel: implement __iptunnel_pull_headerinclude/ net/ | +13 | 0 replies | |
| 4/4 | vxlan: implement GPEdrivers/ include/ include/ | +222 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH net-next v3 0/4] vxlan: implement Generic Protocol Extension (GPE)
v3: just rebased on top of the current net-next, no changes
This patchset implements VXLAN-GPE. It follows the same model as the tun/tap
driver: depending on the chosen mode, the vxlan interface is created either as ARPHRD_ETHER (non-GPE) or ARPHRD_NONE (GPE).
Note that the internal fdb control plane cannot be used together with VXLAN-GPE and attempt to configure it will be rejected by the driver. In fact, COLLECT_METADATA is required to be set for now. This can be relaxed in the future by adding support for static PtP configuration; it will be backward compatible and won't affect existing users.
The previous version of the patchset supported two GPE modes, L2 and L3. The L2 mode (now called "ether mode" in the code) was removed from this version. It can be easily added later if there's demand. The L3 mode is now called "raw mode" and supports also encapsulated Ethernet headers (via ETH_P_TEB).
The only limitation of not having "ether mode" for GPE is for ip route based
encapsulation: with such setup, only IP packets can be encapsulated. Meaning no Ethernet encapsulation. It seems there's not much use for this, though. If it turns out to be useful, we'll add it.
Jiri Benc (4):
vxlan: move Ethernet initialization to a separate function
vxlan: move fdb code to common location in vxlan_xmit
ip_tunnel: implement __iptunnel_pull_header
vxlan: implement GPE
drivers/net/vxlan.c | 210 ++++++++++++++++++++++++++++++++++++------- include/net/ip_tunnels.h | 11 ++- include/net/vxlan.h | 68 ++++++++++++++ include/uapi/linux/if_link.h | 1 + net/ipv4/ip_tunnel_core.c | 8 +- 5 files changed, 258 insertions(+), 40 deletions(-)
Signature · 1 line
1.8.3.1