From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 843A7A00BE; Wed, 8 Jul 2020 05:15:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 711661DC78; Wed, 8 Jul 2020 05:15:10 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 56CFE1DC74 for ; Wed, 8 Jul 2020 05:15:08 +0200 (CEST) IronPort-SDR: RoI+og6slS0oPjMIajrE7ygxlKF7/9ZtsrTv5zPOEMDjlO6S8ISVdVyGkUK6a6sR83fxkg9VGv UDXib4j8sIcw== X-IronPort-AV: E=McAfee;i="6000,8403,9675"; a="127331058" X-IronPort-AV: E=Sophos;i="5.75,326,1589266800"; d="scan'208";a="127331058" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2020 20:15:06 -0700 IronPort-SDR: amtOq8shLMZqQ7o9c5sFMr/Ihe59lqXbtGGlDV0YXEY1I9zZxyz1Q67TN+w6SSz8DIg4AltH6b PwiwR8ApIX0w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,326,1589266800"; d="scan'208";a="267000825" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP; 07 Jul 2020 20:15:06 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 7 Jul 2020 20:15:06 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 7 Jul 2020 20:15:06 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.22]) by shsmsx102.ccr.corp.intel.com ([169.254.2.43]) with mapi id 14.03.0439.000; Wed, 8 Jul 2020 11:15:03 +0800 From: "Zhang, Qi Z" To: "Yan, Zhirun" CC: "Cao, Yahui" , "Su, Simei" , "Wang, Xiao W" , "dev@dpdk.org" Thread-Topic: [PATCH] net/ice: add support for src MAC filter on FDIR Thread-Index: AQHWVNOtTATC0FZFREiA/NEsgtqx8Kj9AiSw Date: Wed, 8 Jul 2020 03:15:02 +0000 Message-ID: <039ED4275CED7440929022BC67E7061154856D19@SHSMSX103.ccr.corp.intel.com> References: <20200708105228.43104-1-zhirun.yan@intel.com> In-Reply-To: <20200708105228.43104-1-zhirun.yan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/ice: add support for src MAC filter on FDIR 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" > -----Original Message----- > From: Yan, Zhirun > Sent: Wednesday, July 8, 2020 6:52 PM > To: Zhang, Qi Z > Cc: Cao, Yahui ; Su, Simei ; > Wang, Xiao W ; dev@dpdk.org; Yan, Zhirun > > Subject: [PATCH] net/ice: add support for src MAC filter on FDIR >=20 > This patch enables FDIR with src mac filter and change the logic for only > supporting ether type field without IP pattern. Application may set ether > type with IP. It is redundant for flow, ignore ether type except for > ICE_FLTR_PTYPE_NON_IP_L2. >=20 > Also, remove redundant code for checking next_type. >=20 > Signed-off-by: Zhirun Yan Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi