From patchwork Tue Jun 23 02:38:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xu, Ting" X-Patchwork-Id: 71986 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9AF68A0350; Tue, 23 Jun 2020 04:35:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 70BA31D569; Tue, 23 Jun 2020 04:35:16 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 40EA61D55A for ; Tue, 23 Jun 2020 04:35:15 +0200 (CEST) IronPort-SDR: wW1NXFfejJTF8asv3/itpcrZv0zl337i/Dqb4FCEx3G4gS7QSPq8SS/wbfOOcEgjLuPFUx7xs5 g9fVpJIKs24A== X-IronPort-AV: E=McAfee;i="6000,8403,9660"; a="209128845" X-IronPort-AV: E=Sophos;i="5.75,269,1589266800"; d="scan'208";a="209128845" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2020 19:35:13 -0700 IronPort-SDR: 0fFABgW4fzXyIJ5xIobCHI4KMJ9thbFhsVAN8+o9TMNBUQ0r5cD92CGeW7EQo7mIgfdaeN630p GgsJP8bFuj7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,269,1589266800"; d="scan'208";a="275198072" Received: from dpdk-xuting-second.sh.intel.com ([10.67.116.154]) by orsmga003.jf.intel.com with ESMTP; 22 Jun 2020 19:35:11 -0700 From: Ting Xu To: dev@dpdk.org Cc: qi.z.zhang@intel.com, qiming.yang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, marko.kovacevic@intel.com, john.mcnamara@intel.com, Ting Xu Date: Tue, 23 Jun 2020 10:38:26 +0800 Message-Id: <20200623023838.5608-1-ting.xu@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200605201737.33766-1-ting.xu@intel.com> References: <20200605201737.33766-1-ting.xu@intel.com> Subject: [dpdk-dev] [PATCH v5 00/12] enable DCF datapath configuration 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 patchset adds support to configure DCF datapath, including Rx/Tx queues setup, start and stop, device configuration, RSS and flexible descriptor RXDID initialization and MAC filter setup. Qi Zhang (11): net/ice: init RSS and supported RXDID in DCF net/ice: complete device info get in DCF net/ice: complete dev configure in DCF net/ice: complete queue setup in DCF net/ice: add stop flag for device start / stop net/ice: add Rx queue init in DCF net/ice: init RSS during DCF start net/ice: add queue config in DCF net/ice: add queue start and stop for DCF net/ice: enable stats for DCF net/ice: set MAC filter during dev start for DCF Ting Xu (1): doc: enable DCF datapath configuration Reviewed-by: Qiming Yang --- v4->v5: Add driver's feature doc v3->v4: Clean codes based on comments v2->v3: Correct coding style issue v1->v2: Optimize coding style Correct some return values Add support to stop started queues when queue start failed doc/guides/nics/features/ice_dcf.ini | 19 + doc/guides/rel_notes/release_20_08.rst | 6 + drivers/net/ice/ice_dcf.c | 408 ++++++++++++- drivers/net/ice/ice_dcf.h | 17 + drivers/net/ice/ice_dcf_ethdev.c | 773 +++++++++++++++++++++++-- drivers/net/ice/ice_dcf_ethdev.h | 3 - drivers/net/ice/ice_dcf_parent.c | 8 + 7 files changed, 1181 insertions(+), 53 deletions(-) create mode 100644 doc/guides/nics/features/ice_dcf.ini