From patchwork Mon Aug 26 10:50:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qi Zhang X-Patchwork-Id: 57896 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 A52651BF8D; Mon, 26 Aug 2019 12:48:28 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 2187D1BF82 for ; Mon, 26 Aug 2019 12:48:26 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Aug 2019 03:48:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,431,1559545200"; d="scan'208";a="182402048" Received: from dpdk51.sh.intel.com ([10.67.110.245]) by orsmga003.jf.intel.com with ESMTP; 26 Aug 2019 03:48:24 -0700 From: Qi Zhang To: wenzhuo.lu@intel.com, qiming.yang@intel.com Cc: dev@dpdk.org, xiaolong.ye@intel.com, Qi Zhang Date: Mon, 26 Aug 2019 18:50:02 +0800 Message-Id: <20190826105105.19121-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 Subject: [dpdk-dev] [PATCH 00/63] net/ice/base: update base 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" Key Features: 1) Add PPPoE, GTP protocol support for switch, FDIR, RSS 2) Add Flexible Descriptor support. 3) Improved package download. 4) Improved RSS to support inner header 5) Improved recipe management for switch rule Qi Zhang (63): net/ice/base: enhance NVM read net/ice/base: add function to get FW mode net/ice/base: add support for NVM rollback detection net/ice/base: add support to init RXDID descs fields net/ice/base: store number of functions for the device net/ice/base: add read PBA module function net/ice/base: correct argument port info net/ice/base: remove debug code net/ice/base: add SFF EEPROM AQ Command net/ice/base: improve debug print message net/ice/base: add capabilities when in safe mode net/ice/base: add helper functions for PHY caching net/ice/base: add support for reading REPC statistics net/ice/base: adjust DCB INIT for SW mode net/ice/base: add NVM pkg flag net/ice/base: move VSI to VSI group net/ice/base: enable masking for RSS and FD field vectors net/ice/base: resolve static analysis issues net/ice/base: fix memory leak issue net/ice/base: check root pointer for validity net/ice/base: fix type-mismatch net/ice/base: correct overrun Coverty hit net/ice/base: update Boot Configuration Section read of NVM net/ice/base: add support for NVM access commands net/ice/base: add support for GTP and PPPoE protocols net/ice/base: add locks for flow functions net/ice/base: improve switch advanced rule net/ice/base: move function declaration net/ice/base: add 16-byte Flex Rx Descriptor net/ice/base: add 32-byte Flex Rx Desc for Comms package net/ice/base: update flag bits to current specification net/ice/base: add more opcode and macros net/ice/base: set status when global cfg lock is unavailable net/ice/base: initialize driver NVM data earlier net/ice/base: add function to configure Tx AQ command net/ice/base: add support for not locking sideband queue net/ice/base: associate recipes by profile type net/ice/base: return switch error on invalid match criteria net/ice/base: update UDP tunnel switch training packets net/ice/base: improve switch chained recipe net/ice/base: move and add some help function and macros net/ice/base: add routine for tunnel port query net/ice/base: ptype group consolidation net/ice/base: fix for RSS hash on inner UDP port net/ice/base: packet encapsulation for RSS net/ice/base: add RSS support for PPPoE and GTPU net/ice/base: remove unnecessary conditional check net/ice/base: fix flag settings in AQ call net/ice/base: refactor removal of VLAN promiscuous rules net/ice/base: maximize switch recipe words per line net/ice/base: update switch training packets with open ports net/ice/base: remove unnecessary dummy packet finding net/ice/base: remove unnecessary if branch net/ice/base: correct abbreviations net/ice/base: update to register definition file net/ice/base: replace open-code duplication net/ice/base: delay less net/ice/base: add AQC get link topology handle support net/ice/base: remove Rx flex descriptor programming net/ice/base: enable RSS with ether layer for PPPoE net/ice/base: add GENEVE offset net/ice/base: update profile to recipe bitmap array net/ice/base: ignore inverse switch recipes drivers/net/ice/base/ice_adminq_cmd.h | 221 ++++---- drivers/net/ice/base/ice_bitops.h | 31 ++ drivers/net/ice/base/ice_common.c | 902 ++++++++++++++++++------------ drivers/net/ice/base/ice_common.h | 48 +- drivers/net/ice/base/ice_controlq.c | 54 +- drivers/net/ice/base/ice_controlq.h | 7 +- drivers/net/ice/base/ice_dcb.c | 6 +- drivers/net/ice/base/ice_dcb.h | 1 + drivers/net/ice/base/ice_devids.h | 6 + drivers/net/ice/base/ice_flex_pipe.c | 923 ++++++++++++++++++++++++++----- drivers/net/ice/base/ice_flex_pipe.h | 17 +- drivers/net/ice/base/ice_flex_type.h | 35 +- drivers/net/ice/base/ice_flow.c | 368 ++++++++---- drivers/net/ice/base/ice_flow.h | 107 +++- drivers/net/ice/base/ice_hw_autogen.h | 34 ++ drivers/net/ice/base/ice_lan_tx_rx.h | 76 ++- drivers/net/ice/base/ice_nvm.c | 294 +++++++++- drivers/net/ice/base/ice_nvm.h | 91 +++ drivers/net/ice/base/ice_osdep.h | 2 +- drivers/net/ice/base/ice_protocol_type.h | 40 +- drivers/net/ice/base/ice_sched.c | 87 +-- drivers/net/ice/base/ice_sched.h | 8 +- drivers/net/ice/base/ice_switch.c | 784 ++++++++++++++++++-------- drivers/net/ice/base/ice_switch.h | 5 + drivers/net/ice/base/ice_type.h | 77 ++- 25 files changed, 3142 insertions(+), 1082 deletions(-) create mode 100644 drivers/net/ice/base/ice_nvm.h