mbox series

[00/63,v2] net/ice/base: update base code

Message ID 20190829023656.8220-1-qi.z.zhang@intel.com (mailing list archive)
Headers
Series net/ice/base: update base code |

Message

Qi Zhang Aug. 29, 2019, 2:35 a.m. UTC
  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

v2:
- improved commit log
 
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
  

Comments

Xiaolong Ye Aug. 30, 2019, 9:44 a.m. UTC | #1
On 08/29, Qi Zhang wrote:
>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
>
>v2:
>- improved commit log
> 
>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
>
>-- 
>2.13.6
>

Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>

Series applied to dpdk-next-net-intel/master with some tweak on patch 13's commit log.

Thanks,
Xiaolong