From patchwork Fri May 19 07:31:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xing, Beilei" X-Patchwork-Id: 127091 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 1BABC42B45; Fri, 19 May 2023 09:55:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC99D4161A; Fri, 19 May 2023 09:55:24 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 4877B40F16 for ; Fri, 19 May 2023 09:55:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684482922; x=1716018922; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=E4Vo2pdhhTp/ejoqhnJOWz7p+oOAs0I29IrMBbG0nCM=; b=FBB0NrfVzhnZoGtXvMttOmx40i1K43ti45UXZ74xKAnrXMVxWd2N3e9Z Kh1kdrsXzkmQlH2jDyXQZUXbPbKhQRJnWwI5dnLNtyK5CtrqSr+lCS7+J +gAnjRlurcVSTym4s1bS+p23bTNVJwHneQyAYO5RE3zsozDH5ReEnfTRl 0SayLeZptlLKpuLX+ioU9WWu3TPDzUVyD+9UxhdbrmWfC2pqIlA4jZmPZ gChHvzavbeLl/0g6p7MnwxxNmzAwIKOb42gqhb1YHiMEVfG/k654UTbQv iyDgm/EJw5VXXfyv8j6ZqN4nzkXak7pnExNzuLBQvrLrS0txXxSgIwuTC g==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="349824830" X-IronPort-AV: E=Sophos;i="6.00,176,1681196400"; d="scan'208";a="349824830" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2023 00:55:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="696611218" X-IronPort-AV: E=Sophos;i="6.00,176,1681196400"; d="scan'208";a="696611218" Received: from dpdk-beileix-3.sh.intel.com ([10.67.110.253]) by orsmga007.jf.intel.com with ESMTP; 19 May 2023 00:55:19 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com Cc: dev@dpdk.org, mingxia.liu@intel.com, Beilei Xing Subject: [PATCH v3 00/10] net/cpfl: add hairpin queue support Date: Fri, 19 May 2023 07:31:06 +0000 Message-Id: <20230519073116.56749-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20230519051055.106893-1-beilei.xing@intel.com> References: <20230519051055.106893-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. v3 changes: - Refine the patchset based on the latest code. 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(-)