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 384081B0FB for ; Thu, 27 Dec 2018 16:35:01 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@mellanox.com) with ESMTPS (AES256-SHA encrypted); 27 Dec 2018 17:34:56 +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 wBRFYuUx005767; Thu, 27 Dec 2018 17:34:56 +0200 From: Viacheslav Ovsiienko To: shahafs@mellanox.com Cc: dev@dpdk.org, stable@dpdk.org Date: Thu, 27 Dec 2018 15:34:40 +0000 Message-Id: <1545924885-6215-1-git-send-email-viacheslavo@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/5] net/mlx5: add inner tunnel items support on 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: , X-List-Received-Date: Thu, 27 Dec 2018 15:35:02 -0000 The generic Flow rule for tunnels looks like: flow create \ \ \ Current design supports only L2 addresses as inner pattern items. This patchset adds support for L3 (IPv4/IPv6) addresses and L4 (TCP/UDP) ports items as inner tunnel parameters. Also this patchset adds support for inner and outer ethernet types for the E-Switch Flows with tunnels. Inner and outer ethernet type match can be specified with ethernet items, vlan items, or implicitly deduced from IP address items. The tcm_info field in Netlink message tcm structure is filled always with outer protocol. Cc: stable@dpdk.org Signed-off-by: Viacheslav Ovsiienko Viacheslav Ovsiienko (5): net/mlx5: remove checks for outer tunnel items on E-Switch net/mlx5: add tunnel inner items validation on E-Switch net/mlx5: add tunnel inner items support on E-Switch net/mlx5: add ethernet type validation on E-Switch net/mlx5: add ethernet type support for tunnels on E-Switch drivers/net/mlx5/mlx5_flow_tcf.c | 690 ++++++++++++++++++++++----------------- 1 file changed, 399 insertions(+), 291 deletions(-) -- 1.8.3.1