From patchwork Fri May 19 05:10:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xing, Beilei" X-Patchwork-Id: 127072 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 3A9A842B43; Fri, 19 May 2023 07:35:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B5D640E25; Fri, 19 May 2023 07:35:08 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id D5003406B5 for ; Fri, 19 May 2023 07:35:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684474506; x=1716010506; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EoFqxaidWSCqwi6pec3bA47VJF3rRa5GxHtG/TxWJB4=; b=Ml05OpIZs9syxXcBpjsKmo9sqhwcOrCvb3YQNf1gkSitjc4AtTjoXtSm vkO/a7U34u6vTu4P6XSE/IBBBv+edKLB3mfz2g25fIAPrgSdAoN8j9ifU 5Yz1eqa4BNzPMXlPe6C3E5r2ixPhn0mzB1rJ4KhdN7UCjr0ZjbXss3DQz izhg6JZ/+vsTZ0A+vsRke35x1Gf28Am+UwhKkwpCN/VuagM1VUxgH5G1Y e3o0pEIq1TCG2TWzrVlYzmIIAUoAH2aGNXgbi9jOTE1oyDNOGSWiCgW7C 0sX5k+i/TrTD5gZ7gerA640QjzSnBK+VEc1OxhI4C7M7F1gsbv4V1UCSr g==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="438639488" X-IronPort-AV: E=Sophos;i="6.00,175,1681196400"; d="scan'208";a="438639488" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 22:34:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="705462251" X-IronPort-AV: E=Sophos;i="6.00,175,1681196400"; d="scan'208";a="705462251" Received: from dpdk-beileix-3.sh.intel.com ([10.67.110.253]) by fmsmga007.fm.intel.com with ESMTP; 18 May 2023 22:34:58 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com Cc: dev@dpdk.org, mingxia.liu@intel.com, Beilei Xing Subject: [PATCH v2 00/10] add hairpin queue support Date: Fri, 19 May 2023 05:10:44 +0000 Message-Id: <20230519051055.106893-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20230421065048.106899-1-beilei.xing@intel.com> References: <20230421065048.106899-1-beilei.xing@intel.com> 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. v2 changes: - change hairpin rx queus configuration sequence. - code refine. 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 vport 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 | 591 +++++++++++++-- drivers/net/cpfl/cpfl_ethdev.h | 36 +- drivers/net/cpfl/cpfl_rxtx.c | 807 +++++++++++++++++++-- drivers/net/cpfl/cpfl_rxtx.h | 65 ++ drivers/net/cpfl/cpfl_rxtx_vec_common.h | 21 +- 10 files changed, 1642 insertions(+), 119 deletions(-)