From patchwork Fri Apr 21 06:50:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xing, Beilei" X-Patchwork-Id: 126344 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1B9F2429A9; Fri, 21 Apr 2023 09:13:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99F15410FB; Fri, 21 Apr 2023 09:13:53 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 7888A410DD for ; Fri, 21 Apr 2023 09:13:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682061231; x=1713597231; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=y09ghCjlkrGrVxwgjUPwixCP5Xeeikm0uxJy+wUjl8M=; b=VEx+h72mJqCLXPrQkVgqH6z/jDxEtApNxtbyTXmH+IrCfBfl7BTedOmJ w3V8+2U4XoUCEDl96WBxN030vj8FgxgxR6nZe4VUVGHSFOKionxePL35O 9wk4Z0Dj4tdDxwIPSQ8NX5gFJmaj7pzkJgQeGV4OXC/T0y+QmGk33XE1M RvKpuYOjJASiJx+8ghIPbOGhdb3Z/RYxwd72H+fVQHrWswaJ5O5bzFbxD b5XZFna6MF7YmpDs+pnNFImr5U27eD9kcCLXWKojxWHIYDlifV8GxFOdm UC3oT1uPqls7MZMS94nm/z8kHOS7NVszwL0jiooQHJj9lOOVvN6Fe9P7M g==; X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="326260023" X-IronPort-AV: E=Sophos;i="5.99,214,1677571200"; d="scan'208";a="326260023" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 00:13:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="722669092" X-IronPort-AV: E=Sophos;i="5.99,214,1677571200"; d="scan'208";a="722669092" Received: from dpdk-beileix-3.sh.intel.com ([10.67.110.253]) by orsmga008.jf.intel.com with ESMTP; 21 Apr 2023 00:13:48 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com Cc: dev@dpdk.org, mingxia.liu@intel.com, Beilei Xing Subject: [PATCH 00/10] add hairpin queue support Date: Fri, 21 Apr 2023 06:50:38 +0000 Message-Id: <20230421065048.106899-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Beilei Xing This patchset adds hairpin queue support. It depends on the following two patch set: https://patches.dpdk.org/project/dpdk/cover/20230406074245.82991-1-beilei.xing@intel.com/ https://patches.dpdk.org/project/dpdk/cover/20230413094502.1714755-1-wenjing.qiao@intel.com/ Beilei Xing (10): net/cpfl: refine structures net/cpfl: support hairpin queue capbility get common/idpf: support queue groups add/delete net/cpfl: add haipin queue group during vpotr init net/cpfl: support hairpin queue setup and release net/cpfl: support hairpin queue configuration net/cpfl: support hairpin queue start/stop net/cpfl: enable write back based on ITR expire net/cpfl: support peer ports get net/cpfl: support hairpin bind/unbind drivers/common/idpf/idpf_common_device.c | 75 ++ drivers/common/idpf/idpf_common_device.h | 4 + drivers/common/idpf/idpf_common_virtchnl.c | 138 +++- drivers/common/idpf/idpf_common_virtchnl.h | 18 + drivers/common/idpf/version.map | 6 + drivers/net/cpfl/cpfl_ethdev.c | 588 +++++++++++++-- drivers/net/cpfl/cpfl_ethdev.h | 33 +- drivers/net/cpfl/cpfl_rxtx.c | 807 +++++++++++++++++++-- drivers/net/cpfl/cpfl_rxtx.h | 67 ++ drivers/net/cpfl/cpfl_rxtx_vec_common.h | 21 +- 10 files changed, 1638 insertions(+), 119 deletions(-)