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=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no 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 05BA7C388F2 for ; Thu, 22 Oct 2020 14:06:49 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 51BF22225F for ; Thu, 22 Oct 2020 14:06:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51BF22225F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.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 F3796A9E8; Thu, 22 Oct 2020 16:06:45 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 7CD8BA9E7 for ; Thu, 22 Oct 2020 16:06:43 +0200 (CEST) From: Bing Zhao To: viacheslavo@mellanox.com, matan@mellanox.com Cc: dev@dpdk.org, orika@nvidia.com, rasland@nvidia.com Date: Thu, 22 Oct 2020 22:06:31 +0800 Message-Id: <1603375597-430528-1-git-send-email-bingz@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1602166620-46303-1-git-send-email-bingz@nvidia.com> References: <1602166620-46303-1-git-send-email-bingz@nvidia.com> Subject: [dpdk-dev] [PATCH v2 0/6] add two ports hairpin mode support in mlx5 PMD 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 patch set will add the support for hairpin between two ports in mlx5 PMD. v2: * Update the code and reorganize the patch set Bing Zhao (6): net/mlx5: change hairpin queue peer checking net/mlx5: add support for two ports hairpin mode net/mlx5: add support to get hairpin peer ports net/mlx5: conditional hairpin auto bind net/mlx5: change hairpin ingress flow validation net/mlx5: not split hairpin flow in explicit mode drivers/net/mlx5/linux/mlx5_os.c | 12 + drivers/net/mlx5/mlx5.h | 21 ++ drivers/net/mlx5/mlx5_flow.c | 7 + drivers/net/mlx5/mlx5_flow_dv.c | 15 +- drivers/net/mlx5/mlx5_rxq.c | 50 ++- drivers/net/mlx5/mlx5_rxtx.h | 4 + drivers/net/mlx5/mlx5_trigger.c | 733 ++++++++++++++++++++++++++++++++++++++- drivers/net/mlx5/mlx5_txq.c | 23 +- 8 files changed, 846 insertions(+), 19 deletions(-) -- 1.8.3.1