From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E16C31B442; Fri, 13 Jul 2018 05:51:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jul 2018 20:51:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,346,1526367600"; d="scan'208";a="56525911" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga008.jf.intel.com with ESMTP; 12 Jul 2018 20:51:44 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 12 Jul 2018 20:51:44 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 12 Jul 2018 20:51:44 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.100]) by shsmsx102.ccr.corp.intel.com ([169.254.2.124]) with mapi id 14.03.0319.002; Fri, 13 Jul 2018 11:51:41 +0800 From: "Zhang, Qi Z" To: "Zhao1, Wei" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v3] net/i40e: fix FDIR check programming status error Thread-Index: AQHUGlscnq9vrRnvM0SXlpvLSXQsMKSMhIFg Date: Fri, 13 Jul 2018 03:51:41 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153259CC5@SHSMSX103.ccr.corp.intel.com> References: <1531451340-36952-1-git-send-email-wei.zhao1@intel.com> <1531451793-37321-1-git-send-email-wei.zhao1@intel.com> In-Reply-To: <1531451793-37321-1-git-send-email-wei.zhao1@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGQ5NzkxMWEtNzE4Yy00N2Q3LWI3MzYtMzI5OTgwNjUzYzJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicEZhMDZJQjdPUnlRcjBDSDRZeHFlM3N5eXRQdVJCQ0huVDFEYTBLYlVkUjBncmtqUU1EVzI5S2t4Y0p1Ynh5USJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 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 v3] net/i40e: fix FDIR check programming status error 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: , X-List-Received-Date: Fri, 13 Jul 2018 03:51:46 -0000 > -----Original Message----- > From: Zhao1, Wei > Sent: Friday, July 13, 2018 11:17 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; stable@dpdk.org; Zhao1, Wei > > Subject: [PATCH v3] net/i40e: fix FDIR check programming status error >=20 > In i40e FDIR PMD code for checking programming status function > i40e_check_fdir_programming_status(), the initial value of return value r= et > should be set to -1 not 0, because if DD bit of I40E_RX_DESC_STATUS_DD is= not > write back, this function will return > 0 to upper function, this give an error info to upper function, the fact = for this is > it is time out for DD write back and it should return -1. >=20 > Fixes: 05999aab4ca6 ("i40e: add or delete flow director") > Signed-off-by: Wei Zhao Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks! Qi