From patchwork Tue Jan 15 12:56:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qi Zhang X-Patchwork-Id: 49830 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 C5B2B5B36; Tue, 15 Jan 2019 13:55:33 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id E4B1D2C52 for ; Tue, 15 Jan 2019 13:55:31 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2019 04:55:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,481,1539673200"; d="scan'208";a="127889453" Received: from dpdk51.sh.intel.com ([10.67.110.190]) by orsmga001.jf.intel.com with ESMTP; 15 Jan 2019 04:55:29 -0800 From: Qi Zhang To: wenzhuo.lu@intel.com, qiming.yang@intel.com Cc: paul.m.stillwell.jr@intel.com, dev@dpdk.org, bruce.richardson@intel.com, ferruh.yigit@intel.com, Qi Zhang Date: Tue, 15 Jan 2019 20:56:51 +0800 Message-Id: <20190115125658.15421-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 Subject: [dpdk-dev] [PATCH 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. 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