From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32518C10F13 for ; Sun, 14 Apr 2019 21:13:07 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id DB49C2082E for ; Sun, 14 Apr 2019 21:13:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB49C2082E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 113135B1C; Sun, 14 Apr 2019 23:13:06 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id A091E5B16 for ; Sun, 14 Apr 2019 23:13:03 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from orika@mellanox.com) with ESMTPS (AES256-SHA encrypted); 15 Apr 2019 00:13:01 +0300 Received: from pegasus03.mtr.labs.mlnx (pegasus03.mtr.labs.mlnx [10.210.16.124]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x3ELD10k027116; Mon, 15 Apr 2019 00:13:01 +0300 From: Ori Kam To: yskoh@mellanox.com, shahafs@mellanox.com, matan@mellanox.com, viacheslavo@mellanox.com, motih@mellanox.com Cc: dev@dpdk.org, orika@mellanox.com Date: Sun, 14 Apr 2019 21:12:28 +0000 Message-Id: <1555276357-4892-1-git-send-email-orika@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/9] net/mlx5: add Direct Verbs E-Switch support 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" Currently MLX5 PMD supports 3 flow engines: Verbs, Direct Verbs and TCF. The first two engines are for Nic steering while the TCF is for E-Switch steering. This series add E-Switch steering support also for the DV engine. In order to support the new capability there should be support from both the RDMA and from the NIC. Ori Kam (9): net/mlx5: fix translate vport function name net/mlx5: fix menson compilation with Direct Rules net/mlx5: add Direct Rules configuration support net/mlx5: add validation for Direct Rule E-Switch net/mlx5: add port ID item to Direct Verbs net/mlx5: add transfer attribute to matcher net/mlx5: add port ID action to Direct Verbs net/mlx5: add Forward Database table type net/mlx5: add drop action to Direct Verbs E-Switch drivers/net/mlx5/Makefile | 5 + drivers/net/mlx5/meson.build | 4 + drivers/net/mlx5/mlx5.c | 61 +++- drivers/net/mlx5/mlx5.h | 17 ++ drivers/net/mlx5/mlx5_devx_cmds.c | 42 +++ drivers/net/mlx5/mlx5_ethdev.c | 39 +++ drivers/net/mlx5/mlx5_flow.c | 3 +- drivers/net/mlx5/mlx5_flow.h | 19 ++ drivers/net/mlx5/mlx5_flow_dv.c | 597 +++++++++++++++++++++++++++++++++----- drivers/net/mlx5/mlx5_glue.c | 26 ++ drivers/net/mlx5/mlx5_glue.h | 2 + drivers/net/mlx5/mlx5_prm.h | 328 +++++++++++++++++++++ 12 files changed, 1071 insertions(+), 72 deletions(-) -- 1.8.3.1