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 5C466A00C2; Thu, 23 Apr 2020 05:01:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 862871D44F; Thu, 23 Apr 2020 05:01:10 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E892B1D441 for ; Thu, 23 Apr 2020 05:01:08 +0200 (CEST) IronPort-SDR: goz5doLs+0C5aP+IFsdWJy1BS7eXlzWEc+/C0HOQs5scXhmxtdgmih5Ns7uwTawB2O0E2GtHB2 m0EreGJMG1cA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 20:01:08 -0700 IronPort-SDR: ObE+dau4npC4h567JlGghlSQTr7HlBYprG5oApUk9sVnB1mY0CnnkFQ+GVCNJPkUIEdiCQFXHv MuirRq7jA7Hw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,305,1583222400"; d="scan'208";a="430160175" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 22 Apr 2020 20:01:07 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 20:00:07 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 20:00:07 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.146]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.129]) with mapi id 14.03.0439.000; Thu, 23 Apr 2020 11:00:04 +0800 From: "Zhang, Qi Z" To: "Yang, Qiming" CC: "Ye, Xiaolong" , "dev@dpdk.org" Thread-Topic: [PATCH] net/ice/base: fix DCF switch rule on Tx path Thread-Index: AQHWGRsOdrUD43E93ECLPrKVFd7Cb6iGBCuQ Date: Thu, 23 Apr 2020 03:00:03 +0000 Message-ID: <039ED4275CED7440929022BC67E7061154801170@SHSMSX103.ccr.corp.intel.com> References: <20200423030159.8655-1-qi.z.zhang@intel.com> In-Reply-To: <20200423030159.8655-1-qi.z.zhang@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/base: fix DCF switch rule on Tx path 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: Zhang, Qi Z > Sent: Thursday, April 23, 2020 11:02 AM > To: Yang, Qiming > Cc: Ye, Xiaolong ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH] net/ice/base: fix DCF switch rule on Tx path >=20 > 1. ln_en bit should not be turned on, since we only support Rx VEB. > 2. lan_en bit need to be turn on for a DCF switch rule, otherwise > any Tx packet that hit on a rule will be dropped. >=20 > Fixes: fed0c5ca5f19 ("net/ice/base: support programming a new switch > recipe") >=20 > Signed-off-by: Qi Zhang Nacked-by: Qi Zhang Send wrong patch.