From 0280f28122845fbf64b744a648c12e9278b1b50f Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Thu, 22 Nov 2018 13:49:16 +0000 Subject: [PATCH] doc: add mlx5 E-Switch VXLAN tunnels limitations This patch adds limitation notice for MLX5 PMD regarding VXLAN tunnels support on E-Switch Flows. Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index b52f8af708..23f0f5700b 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -142,6 +142,31 @@ Limitations To receive IPv6 Multicast messages on VM, explicitly set the relevant MAC address using rte_eth_dev_mac_addr_add() API. +- E-Switch VXLAN tunnel is not supported together with outer VLAN. + +- E-Switch Flows with VNI pattern must include the VXLAN decapsulation action. + +- E-Switch VXLAN decapsulation Flow: + + - can be appiled to PF port only. + - must specify VF port action (packet redirection from PF to VF). + - must specify tunnel outer UDP local (destination) port, wildcards not allowed. + - must specify tunnel outer VNI, wildcards not allowed. + - must specify tunnel outer local (destination) IPv4 or IPv6 address, wildcards not allowed. + - optionally may specify tunnel outer remote (source) IPv4 or IPv6, wildcards or group IPs allowed. + - optionally may specify tunnel inner source and destination MAC addresses. + +- E-Switch VXLAN encapsulation Flow: + + - can be applied to VF ports only. + - must specify PF port action (packet redirection from VF to PF). + - must specify the VXLAN item with tunnel outer parameters. + - must specify the tunnel outer VNI in the VXLAN item. + - must specify the tunnel outer remote (destination) UDP port in the VXLAN item. + - must specify the tunnel outer local (source) IPv4 or IPv6 in the , this address will locally (with scope link) assigned to the outer network interace, wildcards not allowed. + - must specify the tunnel outer remote (destination) IPv4 or IPv6 in the VXLAN item, group IPs allowed. + - must specify the tunnel outer destination MAC address in the VXLAN item, this address will be used to create neigh rule. + Statistics ---------- -- 2.20.1