From patchwork Sun Jan 13 14:15:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Slava Ovsiienko X-Patchwork-Id: 49768 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 5FA641B4EC; Sun, 13 Jan 2019 15:15:53 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 083B21B4C1 for ; Sun, 13 Jan 2019 15:15:44 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@mellanox.com) with ESMTPS (AES256-SHA encrypted); 13 Jan 2019 16:15:44 +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 x0DEFhCs014133; Sun, 13 Jan 2019 16:15:43 +0200 From: Viacheslav Ovsiienko To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Sun, 13 Jan 2019 14:15:21 +0000 Message-Id: <1547388924-1908-1-git-send-email-viacheslavo@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1546109501-24865-1-git-send-email-viacheslavo@mellanox.com> References: <1546109501-24865-1-git-send-email-viacheslavo@mellanox.com> Subject: [dpdk-dev] [PATCH v2 0/3] net/mlx5: add tos and ttl flower match and tunnel keys 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 adds the type-of-service and time-to-live IP header fields (hop-limits and vtc-flow for IPv6) support on E-Switch. There are two types of keys added - one for match pattern, other for tunnel encapsulation header. Signed-off-by: Viacheslav Ovsiienko --- v2: The patchset is splitted into two parts, one is related to mlx5 PMD, and another is update for testpmd, these parts are going to be merged into different next branches. v1: Original patchset: https://patches.dpdk.org/project/dpdk/list/?series=2974 Viacheslav Ovsiienko (3): net/mlx5: add tos and ttl flower match and tunnel keys net/mlx5: add tos and ttl fields support on E-Switch net/mlx5: add tos and ttl validation on E-Switch drivers/net/mlx5/Makefile | 50 +++++++++ drivers/net/mlx5/meson.build | 20 ++++ drivers/net/mlx5/mlx5_flow.c | 14 ++- drivers/net/mlx5/mlx5_flow.h | 2 + drivers/net/mlx5/mlx5_flow_dv.c | 4 +- drivers/net/mlx5/mlx5_flow_tcf.c | 225 ++++++++++++++++++++++++++++++++++--- drivers/net/mlx5/mlx5_flow_verbs.c | 4 +- 7 files changed, 299 insertions(+), 20 deletions(-)