From patchwork Sat Dec 29 18:51:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Slava Ovsiienko X-Patchwork-Id: 49357 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 20B665B3A; Sat, 29 Dec 2018 19:51:55 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 4B3404CAB for ; Sat, 29 Dec 2018 19:51:48 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@mellanox.com) with ESMTPS (AES256-SHA encrypted); 29 Dec 2018 20:51: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 wBTIplpc012118; Sat, 29 Dec 2018 20:51:47 +0200 From: Viacheslav Ovsiienko To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Sat, 29 Dec 2018 18:51:37 +0000 Message-Id: <1546109501-24865-1-git-send-email-viacheslavo@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/4] 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 Viacheslav Ovsiienko (4): 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 app/testpmd: add tos and ttl field to vxlan encapsulation app/test-pmd/cmdline.c | 63 ++++++++ app/test-pmd/cmdline_flow.c | 32 ++++ app/test-pmd/testpmd.c | 3 + app/test-pmd/testpmd.h | 3 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 16 ++ 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 +- 12 files changed, 416 insertions(+), 20 deletions(-)