From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4CF0FA054F; Tue, 2 Mar 2021 04:01:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D33494014E; Tue, 2 Mar 2021 04:01:29 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 0BA3B40142 for ; Tue, 2 Mar 2021 04:01:27 +0100 (CET) IronPort-SDR: uloHJAFxaOXcI1BRFAQ4l9Y2oRx90JgMkD0FL87hSLrdxEk/tIHKKVWhPkS9PPH2WaVci9svhj iRj7DgBhJtbA== X-IronPort-AV: E=McAfee;i="6000,8403,9910"; a="183270126" X-IronPort-AV: E=Sophos;i="5.81,216,1610438400"; d="scan'208";a="183270126" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2021 19:01:26 -0800 IronPort-SDR: +UEIvCua4/8vIU0bj3tew3H8zYgDHLuFy/8QeUkQyF98I1PvXNdXYxU1k9WxfKsHxVg6qrqiHE NFqWSKlhPDpw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,216,1610438400"; d="scan'208";a="366967362" Received: from dpdk-zhirun-dev.sh.intel.com ([10.67.118.176]) by orsmga003.jf.intel.com with ESMTP; 01 Mar 2021 19:01:22 -0800 From: Zhirun Yan To: dev@dpdk.org, qi.z.zhang@intel.com, yahui.cao@intel.com, xiao.w.wang@intel.com, junfeng.guo@intel.com Cc: simei.su@intel.com, ting.xu@intel.com, yuying.zhang@intel.com, xuan.ding@intel.com, Zhirun Yan Date: Tue, 2 Mar 2021 10:54:01 +0800 Message-Id: <20210302025407.1197434-1-zhirun.yan@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210127052933.2149243-1-zhirun.yan@intel.com> References: <20210127052933.2149243-1-zhirun.yan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/6] Refactor FDIR pattern parser 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 Sender: "dev" V3: Clear the variable name of input_set_o and input_set_i. Use input_set_o for tunnerl outer or non-tunnel fields, let ice_pattern_match_item 3rd columns all none in ACL, RSS, switch. Add new patch to use seg_tun[1] to record tunnel inner part. Add new patch to clean GTPU inner flow type for PF. V2: Meld patch 4,5 into 3. Update ACL input set. Clear PPPoE GTPU input set in RSS. Put p_v4/6 assignment earlier to reduce redundant code in FDIR. This patch set refactor FDIR pattern parser. Redefine input set. Ignore the redundant inner/outer info. Align the parser action with hardware, using input_set_f for outer, input_set_l for inner or non-tunnel fields. Adjust indentation for easy review. Enable VXLAN inner/outer fields. Zhirun Yan (6): net/ice: clean input set macro definition net/ice: refactor structure field net/ice: refactor flow pattern parser net/ice: refactor input set conf net/ice: add outer input set mask to distinguish outer fields net/ice: clean GTPU flow_type for FDIR drivers/net/ice/ice_acl_filter.c | 10 +- drivers/net/ice/ice_ethdev.h | 4 +- drivers/net/ice/ice_fdir_filter.c | 590 ++++++++++++++-------------- drivers/net/ice/ice_generic_flow.c | 6 +- drivers/net/ice/ice_generic_flow.h | 237 +++++------ drivers/net/ice/ice_hash.c | 214 +++++----- drivers/net/ice/ice_switch_filter.c | 296 +++++--------- 7 files changed, 605 insertions(+), 752 deletions(-) -- 2.25.1