[v2,0/2] support Direct Rules flows over shared IB context
Message ID | 1554383065-11151-1-git-send-email-viacheslavo@mellanox.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 188CC1B451; Thu, 4 Apr 2019 15:05:51 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id C87151B44B for <dev@dpdk.org>; Thu, 4 Apr 2019 15:05:49 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@mellanox.com) with ESMTPS (AES256-SHA encrypted); 4 Apr 2019 16:05:48 +0300 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 x34D5mBj027457; Thu, 4 Apr 2019 16:05:48 +0300 From: Viacheslav Ovsiienko <viacheslavo@mellanox.com> To: dev@dpdk.org Cc: shahafs@mellanox.com Date: Thu, 4 Apr 2019 13:04:23 +0000 Message-Id: <1554383065-11151-1-git-send-email-viacheslavo@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1554186157-29455-1-git-send-email-viacheslavo@mellanox.com> References: <1554186157-29455-1-git-send-email-viacheslavo@mellanox.com> Subject: [dpdk-dev] [PATCH v2 0/2] support Direct Rules flows over shared IB context X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Slava Ovsiienko
April 4, 2019, 1:04 p.m. UTC
The Direct Rules/Direct Verbs flows support is going to be added [1]. The master/representor over multiport IB device is added [2]. This patchset adds support for DR/DV flows with shared IB context over multiport IB device. The DV/DR flows applied to the master/representors on the same IB device share the following entinies: - rx/tx namespaces - rx/tx flow tables - matchers - encap/decap action resources - flow tags (MARK actions) - modify action resources - jump tables [1] "net/mlx5: Add Direct Rule support" http://patches.dpdk.org/cover/51856/ [2] "net/mlx5: add support for multiport IB devices" http://patches.dpdk.org/cover/51800/ v2: - mutex reverted to non-counting type (because there is no DV flow functions intercalls and reentrances) - some commits are squashed to make patchset more consistent - conditional directives cleanup v1: http://patches.dpdk.org/cover/52053/ Viacheslav Ovsiienko (2): net/mlx5: add Direct Rules flow data alloc/free routines net/mlx5: share Direct Rules/Verbs flow related structures drivers/net/mlx5/mlx5.c | 119 ++++++++++++++++++++++++++---- drivers/net/mlx5/mlx5.h | 45 +++++++----- drivers/net/mlx5/mlx5_flow_dv.c | 159 ++++++++++++++++++++++++++++++++-------- 3 files changed, 259 insertions(+), 64 deletions(-)