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 C87151B44B for ; 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 13:05:50 -0000 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(-) -- 1.8.3.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 43E95A0679 for ; Thu, 4 Apr 2019 15:05:51 +0200 (CEST) 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 ; 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190404130423.lX-e_L1zvgQyfBioyTvlkzIla9AEmMe7MlKcTCwyyeY@z> 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(-) -- 1.8.3.1