From patchwork Mon Aug 15 07:30:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qi Zhang X-Patchwork-Id: 115028 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A0B52A00C3; Mon, 15 Aug 2022 01:22:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3ABD940146; Mon, 15 Aug 2022 01:22:17 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 8B878400EF for ; Mon, 15 Aug 2022 01:22:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660519334; x=1692055334; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+xSfw6PEL1x0/9zmOyhafNpSlBB0rh+xFVtzhin20to=; b=IUY52TYpHqIqFke2r1psIUPn34/uo9Iuvl3KODJN7l/IUvWslxQsQ4mf MLHWQDXIhn6YpXiyJGFPEu13EXe+N8Ngd5fbtYTHECGd2p/GB+GdPngAi wV1OS/KLXZCQ6OmFTtTmVJtqFeP5Mn8jeoRif6HLCl02Aiy5ZrhLHx/37 GLkkAivmplP1rnwaYGM/8pCI7Ya+FGlr2YeiGeN3pQeCQUKBX/MCx5hGU m6ys7Bpkh+uFPX0/GJS0RQr/z3VEmkujHsd8TeGkLgtP66C/CFzQd4U+N A28m9sNv0ACFaUkaNYpoiDtr/JyH7qXqAhNHUnck2fNbwxTtH1ipDh/d6 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10439"; a="291857902" X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="291857902" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2022 16:22:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="635282969" Received: from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.4]) by orsmga008.jf.intel.com with ESMTP; 14 Aug 2022 16:22:12 -0700 From: Qi Zhang To: qiming.yang@intel.com Cc: dev@dpdk.org, Qi Zhang Subject: [PATCH v2 00/70] ice base code update Date: Mon, 15 Aug 2022 03:30:56 -0400 Message-Id: <20220815073206.2917968-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220815071306.2910599-1-qi.z.zhang@intel.com> References: <20220815071306.2910599-1-qi.z.zhang@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Update ice base code to 2022-Aug internal release. Summary: 1. Baseline support for L2TPv2 FDIR/RSS. 2. Refactor DDP module. 3. Support 56G PHY 4. Add GTP/GRE tunnel. 6. Clean code and fix bug 5. update copyright v2: - fix couple patchwork warnings. Qi Zhang (70): net/ice/base: add netlist helper functions net/ice/base: get NVM CSS Header length from the CSS Header net/ice/base: combine functions for VSI promisc net/ice/base: make function names more generic net/ice/base: fix incorrect division during E822 PTP init net/ice/base: added auto drop blocking packets functionality net/ice/base: fix 100M speed net/ice/base: support VXLAN and GRE for RSS net/ice/base: fix DSCP PFC TLV creation net/ice/base: complete the health status codes net/ice/base: explicitly name E822 HW-dependent functions net/ice/base: move code block net/ice/base: add PHY 56G destination address net/ice/base: add 56G PHY register definitions net/ice/base: implement 56G PHY access functions net/ice/base: implement 56G PHY setup functions net/ice/base: work around missing PTP caps net/ice/base: enable calling of ETH56G functions net/ice/base: fix PHY type 10G SFI C2C to media type mapping net/ice/base: refactor DDP code net/ice/base: add E822 generic PCI device ID net/ice/base: support double VLAN rules net/ice/base: report NVM version numbers on mismatch net/ice/base: create duplicate detection for ACL rules net/ice/base: fix incorrect function descriptions for parser net/ice/base: fix endian format net/ice/base: convert IO expander handle to u16 net/ice/base: convert array of u8 to bitmap net/ice/base: fix array overflow in add switch recipe code net/ice/base: fix bit finding range over ptype bitmap net/ice/base: move function to internal net/ice/base: change PHY/QUAD/ports definitions net/ice/base: add AQ command to config node attribute net/ice/base: fix null pointer dereference during net/ice/base: refine default VSI config net/ice/base: fix add mac rule net/ice/base: support Tx topo config net/ice/base: adjust the VSI/Aggregator layers net/ice/base: add data typecasting to match sizes net/ice/base: add helper function to check if device is E823 net/ice/base: add low latency Tx timestamp read net/ice/base: fix double VLAN error in promisc mode net/ice/base: move functions net/ice/base: complete support for Tx balancing net/ice/base: update definitions for AQ internal debug dump net/ice/base: update macros of L2TPv2 ptype value net/ice/base: refine header file include net/ice/base: ignore already exist error net/ice/base: clean up with no lookups net/ice/base: add support for Auto FEC with FEC disabled net/ice/base: update PHY type high max index net/ice/base: clean the main timer command register net/ice/base: add support for custom WPC and LGB NICs net/ice/base: add generic MAC with 3K signature segment net/ice/base: enable RSS support for L2TPv2 session ID net/ice/base: enable FDIR support for L2TPv2 net/ice/base: add GRE Tap tunnel type net/ice/base: fix wrong inputset of GTPoGRE packet net/ice/base: add unload flag for control queue shutdown net/ice/base: update comment for overloaded GCO bit net/ice/base: complete pending LLDP MIB net/ice/base: add function to parse DCBX config net/ice/base: handle default VSI lookup type net/ice/base: convert 1588 structs to use bitfields net/ice/base: remove unnecessary fields net/ice/base: add GTP tunnel net/ice/base: check for PTP HW lock more frequently net/ice/base: expose API for move sched element net/ice/base: couple code clean net/ice/base: update copyright drivers/net/ice/base/README | 4 +- drivers/net/ice/base/ice_acl.c | 2 +- drivers/net/ice/base/ice_acl.h | 2 +- drivers/net/ice/base/ice_acl_ctrl.c | 36 +- drivers/net/ice/base/ice_adminq_cmd.h | 175 +- drivers/net/ice/base/ice_alloc.h | 2 +- drivers/net/ice/base/ice_bitops.h | 7 +- drivers/net/ice/base/ice_bst_tcam.c | 8 +- drivers/net/ice/base/ice_bst_tcam.h | 2 +- drivers/net/ice/base/ice_cgu_regs.h | 2 +- drivers/net/ice/base/ice_common.c | 371 ++- drivers/net/ice/base/ice_common.h | 22 +- drivers/net/ice/base/ice_controlq.c | 33 +- drivers/net/ice/base/ice_controlq.h | 2 +- drivers/net/ice/base/ice_dcb.c | 52 +- drivers/net/ice/base/ice_dcb.h | 4 +- drivers/net/ice/base/ice_ddp.c | 2475 ++++++++++++++++++++ drivers/net/ice/base/ice_ddp.h | 466 ++++ drivers/net/ice/base/ice_defs.h | 49 + drivers/net/ice/base/ice_devids.h | 9 +- drivers/net/ice/base/ice_fdir.c | 812 ++++++- drivers/net/ice/base/ice_fdir.h | 28 +- drivers/net/ice/base/ice_flex_pipe.c | 2541 +++------------------ drivers/net/ice/base/ice_flex_pipe.h | 66 +- drivers/net/ice/base/ice_flex_type.h | 359 +-- drivers/net/ice/base/ice_flg_rd.c | 6 +- drivers/net/ice/base/ice_flg_rd.h | 2 +- drivers/net/ice/base/ice_flow.c | 100 +- drivers/net/ice/base/ice_flow.h | 16 +- drivers/net/ice/base/ice_hw_autogen.h | 2 +- drivers/net/ice/base/ice_imem.c | 6 +- drivers/net/ice/base/ice_imem.h | 2 +- drivers/net/ice/base/ice_lan_tx_rx.h | 4 +- drivers/net/ice/base/ice_metainit.c | 6 +- drivers/net/ice/base/ice_metainit.h | 2 +- drivers/net/ice/base/ice_mk_grp.c | 6 +- drivers/net/ice/base/ice_mk_grp.h | 2 +- drivers/net/ice/base/ice_nvm.c | 67 +- drivers/net/ice/base/ice_nvm.h | 2 +- drivers/net/ice/base/ice_osdep.h | 2 +- drivers/net/ice/base/ice_parser.c | 9 +- drivers/net/ice/base/ice_parser.h | 2 +- drivers/net/ice/base/ice_parser_rt.c | 2 +- drivers/net/ice/base/ice_parser_rt.h | 2 +- drivers/net/ice/base/ice_parser_util.h | 2 +- drivers/net/ice/base/ice_pg_cam.c | 14 +- drivers/net/ice/base/ice_pg_cam.h | 2 +- drivers/net/ice/base/ice_proto_grp.c | 6 +- drivers/net/ice/base/ice_proto_grp.h | 2 +- drivers/net/ice/base/ice_protocol_type.h | 4 +- drivers/net/ice/base/ice_ptp_consts.h | 2 +- drivers/net/ice/base/ice_ptp_hw.c | 2618 +++++++++++++++++----- drivers/net/ice/base/ice_ptp_hw.h | 149 +- drivers/net/ice/base/ice_ptype_mk.c | 6 +- drivers/net/ice/base/ice_ptype_mk.h | 2 +- drivers/net/ice/base/ice_sbq_cmd.h | 3 +- drivers/net/ice/base/ice_sched.c | 106 +- drivers/net/ice/base/ice_sched.h | 19 +- drivers/net/ice/base/ice_status.h | 2 +- drivers/net/ice/base/ice_switch.c | 986 ++++---- drivers/net/ice/base/ice_switch.h | 9 +- drivers/net/ice/base/ice_tmatch.h | 2 +- drivers/net/ice/base/ice_type.h | 200 +- drivers/net/ice/base/ice_vlan_mode.c | 3 +- drivers/net/ice/base/ice_vlan_mode.h | 2 +- drivers/net/ice/base/ice_xlt_kb.c | 12 +- drivers/net/ice/base/ice_xlt_kb.h | 2 +- drivers/net/ice/base/meson.build | 1 + drivers/net/ice/ice_ethdev.c | 5 +- 69 files changed, 7890 insertions(+), 4038 deletions(-) create mode 100644 drivers/net/ice/base/ice_ddp.c create mode 100644 drivers/net/ice/base/ice_ddp.h create mode 100644 drivers/net/ice/base/ice_defs.h Acked-by: Qiming Yang