From patchwork Sat Dec 29 19:55:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Slava Ovsiienko X-Patchwork-Id: 49360 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A0B255F19; Sat, 29 Dec 2018 20:55:48 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id BBD3A5B40 for ; Sat, 29 Dec 2018 20:55:47 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@mellanox.com) with ESMTPS (AES256-SHA encrypted); 29 Dec 2018 21:55:47 +0200 Received: from pegasus12.mtr.labs.mlnx. (pegasus12.mtr.labs.mlnx [10.210.17.40]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id wBTJtkdU002527; Sat, 29 Dec 2018 21:55:46 +0200 From: Viacheslav Ovsiienko To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Sat, 29 Dec 2018 19:55:35 +0000 Message-Id: <1546113340-30356-1-git-send-email-viacheslavo@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/5] net/mlx5: simplify VXLAN devices management for E-Switch 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset simplifies the virtual VXLAN tunnel devices management. Previous design used the VXLAN devices attached to outer interface for encapsulation rules. The new design uses the unattached devices, it allows use the single VXLAN device both for encapsulation and decapsulation rules and removes UDP port sharing issues. Also patchset introduces the minor changes in VXLAN device management allowing to be compiled and operate on some old kernels (for example RH7.2 original kernel 3.10.327), which do not support VXLAN device metadata. Signed-off-by: Viacheslav Ovsiienko Viacheslav Ovsiienko (5): net/mlx5: optimize neigh and local encap rules search net/mlx5: introduce encapsulation rules container net/mlx5: switch encap rules to use container net/mlx5: switch to detached VXLAN network devices net/mlx5: add RH7.2 VXLAN device metadata workaround drivers/net/mlx5/mlx5_flow_tcf.c | 270 +++++++++++++++++++++++---------------- 1 file changed, 159 insertions(+), 111 deletions(-)