From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id CD3A81B42B for ; Thu, 22 Nov 2018 14:49:19 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@mellanox.com) with ESMTPS (AES256-SHA encrypted); 22 Nov 2018 15:55:02 +0200 Received: from pegasus11.mtr.labs.mlnx. (pegasus11.mtr.labs.mlnx [10.210.16.104]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id wAMDnIPt006478; Thu, 22 Nov 2018 15:49:18 +0200 From: Viacheslav Ovsiienko To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Thu, 22 Nov 2018 13:49:16 +0000 Message-Id: <1542894556-5355-1-git-send-email-viacheslavo@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH] doc: add mlx5 E-Switch VXLAN tunnels limitations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2018 13:49:20 -0000 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 3610e00..8aebfc1 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 ---------- -- 1.8.3.1