From patchwork Mon Sep 25 10:33:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qi Zhang X-Patchwork-Id: 178 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 4DADA42630; Mon, 25 Sep 2023 04:13:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32A2D402B8; Mon, 25 Sep 2023 04:13:16 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id B9C9E40266 for ; Mon, 25 Sep 2023 04:13: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=1695607994; x=1727143994; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=T05FRkADbUa4ES9UWDxLAkdNtNdfk0pN78i0BUdscaI=; b=Sy4Q8winSLzdGfendj0voirhlAAeiVhpMCbgd28JcFsPjiNfNKVOv1BF DDK2rTrUrd04b8czhnC5w/AXykfS0izrS8jXPbwbS54xnXw+gF8CXInd9 TuR4IIK19xxi42o3s2B2HILR3BMdGhlkta09TYWJORFfaHWhXkssTHsXI PBuca+R8qzcugXB2uVNKEmHLxKjgHbTVaXAGwubUflPMn+w8JDI8wcfiB XMiCOJ2xE5fejsMv0oTEKwGakd0uuqbtr4qR4FRepW/3JoknUIuR6y9So v5LfvZD1zETJoDlA/tdH/wsDK7uKP4IXfspDhfF6Fr25T+8lTtFTkRKiM Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="384978666" X-IronPort-AV: E=Sophos;i="6.03,174,1694761200"; d="scan'208";a="384978666" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2023 19:13:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="777501941" X-IronPort-AV: E=Sophos;i="6.03,174,1694761200"; d="scan'208";a="777501941" Received: from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.37]) by orsmga008.jf.intel.com with ESMTP; 24 Sep 2023 19:13:11 -0700 From: Qi Zhang To: qiming.yang@intel.com Cc: zhichaox.zeng@intel.com, dev@dpdk.org, Qi Zhang Subject: [PATCH v4 0/5] net/ice: refactor rte_flow Date: Mon, 25 Sep 2023 06:33:19 -0400 Message-Id: <20230925103324.4137053-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230814202616.3346652-1-qi.z.zhang@intel.com> References: <20230814202616.3346652-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 1. remove pipeline mode 2. apply group to hardware pipeline stage static mapping 3. add genenic flow document v4: - fix error handling when target engine was disabled. v3: - fix the issue when acl=off on dcf mode - refine the disabled engine handling - unified the supported pattern variable name - add document v2: - fix segment fault when an unintialized engine has been selected. Qi Zhang (5): net/ice: remove pipeline mode net/ice: refine flow engine disabling net/ice: map group to pipeline stage net/ice: refine supported flow pattern name doc: add generic flow doc for ice PMD doc/guides/nics/ice.rst | 64 ++++-- drivers/net/ice/ice_acl_filter.c | 22 +- drivers/net/ice/ice_dcf_parent.c | 3 + drivers/net/ice/ice_ethdev.c | 9 +- drivers/net/ice/ice_ethdev.h | 4 - drivers/net/ice/ice_fdir_filter.c | 30 +-- drivers/net/ice/ice_generic_flow.c | 298 ++++++++-------------------- drivers/net/ice/ice_generic_flow.h | 15 +- drivers/net/ice/ice_hash.c | 19 +- drivers/net/ice/ice_switch_filter.c | 133 +------------ 10 files changed, 159 insertions(+), 438 deletions(-)