From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 5D1F3324D for ; Tue, 10 Jul 2018 10:10:08 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2018 01:10:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,333,1526367600"; d="scan'208";a="73577122" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 10 Jul 2018 01:10:03 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 10 Jul 2018 01:09:51 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.100]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.17]) with mapi id 14.03.0319.002; Tue, 10 Jul 2018 16:09:48 +0800 From: "Zhang, Qi Z" To: "He, Shaopeng" , "dev@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix tx queue setup after stop queue Thread-Index: AQHUGBl/R2bNMzoO5kSzxvIgo/13+KSIGiWQ Date: Tue, 10 Jul 2018 08:09:48 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153257C73@SHSMSX103.ccr.corp.intel.com> References: <20180710103727.209243-1-shaopeng.he@intel.com> In-Reply-To: <20180710103727.209243-1-shaopeng.he@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzVhZjZkMzYtNmQyOS00NjBhLTk2OTMtODQ2NzFmZDI2OWM0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNk5vdnErOE10QkFzMDhmN29BV1F5T1BPc0FHK3RxZUdmRkxuOHlaNFpoMkdTc3QwWkppUFhzMzVPb25cLzQrZWgifQ== 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] net/i40e: fix tx queue setup after stop queue 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: Tue, 10 Jul 2018 08:10:08 -0000 > -----Original Message----- > From: He, Shaopeng > Sent: Tuesday, July 10, 2018 6:37 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; He, Shaopeng > > Subject: [PATCH] net/i40e: fix tx queue setup after stop queue tx -> Tx in title >=20 > Currently, i40e_dev_tx_queue_setup_runtime checks simple tx and treats > mbuf fast free offloading as No-simple, which is classified as simple tx = in > i40e_set_tx_function_flag. This inconsistent behavior causes tx queue set= up > fail after queue was stopped. This patch fixes this bug. >=20 > Fixes: 399421100e08 ("net/i40e: fix missing mbuf fast free offload") >=20 > Signed-off-by: Shaopeng He Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks! Qi