From patchwork Wed Jan 16 14:13:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qi Zhang X-Patchwork-Id: 49885 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 74BF710A3; Wed, 16 Jan 2019 15:12:12 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id CE92E239 for ; Wed, 16 Jan 2019 15:12:11 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2019 06:12:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,486,1539673200"; d="scan'208";a="118951302" Received: from dpdk51.sh.intel.com ([10.67.110.190]) by orsmga003.jf.intel.com with ESMTP; 16 Jan 2019 06:12:09 -0800 From: Qi Zhang To: wenzhuo.lu@intel.com, qiming.yang@intel.com Cc: paul.m.stillwell.jr@intel.com, dev@dpdk.org, ferruh.yigit@intel.com, Qi Zhang Date: Wed, 16 Jan 2019 22:13:31 +0800 Message-Id: <20190116141338.12310-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20190115125658.15421-1-qi.z.zhang@intel.com> References: <20190115125658.15421-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH v2 0/7] net/ice: update share code 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" For ice family NICs, package processing pipe line can be configured in a package file should be downloaded into device by driver during init. The patch set add necessary share code APIs to support package download. Also some code clean is included. Though package download will not be enabled in 19.02 as plan, but we hope the share code part could be merged early. Meanwhile we will submit a seperate RFC patch for package download for customer early evelutation. v2: - fix 32 bit compile error. - fix check patch warning. Qi Zhang (7): net/ice/base: code clean net/ice/base: add API to support resource allocate net/ice/base: add package download related data structure net/ice/base: add some help macros net/ice/base: add flexible pipeline module net/ice/base: add flow module net/ice/base: free flow profile entries drivers/net/ice/Makefile | 2 + drivers/net/ice/base/ice_adminq_cmd.h | 85 + drivers/net/ice/base/ice_common.c | 85 +- drivers/net/ice/base/ice_common.h | 32 +- drivers/net/ice/base/ice_controlq.c | 2 +- drivers/net/ice/base/ice_flex_pipe.c | 5056 +++++++++++++++++++++++++++++++++ drivers/net/ice/base/ice_flex_pipe.h | 107 + drivers/net/ice/base/ice_flex_type.h | 685 +++++ drivers/net/ice/base/ice_flow.c | 2080 ++++++++++++++ drivers/net/ice/base/ice_flow.h | 337 +++ drivers/net/ice/base/ice_osdep.h | 2 + drivers/net/ice/base/ice_type.h | 37 +- drivers/net/ice/base/meson.build | 2 + 13 files changed, 8479 insertions(+), 33 deletions(-) create mode 100644 drivers/net/ice/base/ice_flex_pipe.c create mode 100644 drivers/net/ice/base/ice_flex_pipe.h create mode 100644 drivers/net/ice/base/ice_flow.c