From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 793E45A26 for ; Fri, 31 Jul 2015 07:45:53 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 30 Jul 2015 22:45:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,582,1432623600"; d="scan'208";a="616561652" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by orsmga003.jf.intel.com with ESMTP; 30 Jul 2015 22:45:52 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 31 Jul 2015 13:45:50 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.126]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.45]) with mapi id 14.03.0224.002; Fri, 31 Jul 2015 13:45:49 +0800 From: "Chen, Jing D" To: "Wang, Xiao W" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] fm10k: fix 2 bugs in rxtx_queue_disable and fm10k_dev_start Thread-Index: AQHQy06i282YASRPCUiQbmvWr4XnAp31EPDA Date: Fri, 31 Jul 2015 05:45:48 +0000 Message-ID: <4341B239C0EFF9468EE453F9E9F4604D0173EAB0@shsmsx102.ccr.corp.intel.com> References: <1438319147-23633-1-git-send-email-xiao.w.wang@intel.com> In-Reply-To: <1438319147-23633-1-git-send-email-xiao.w.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "Wang, Xiao W" Subject: Re: [dpdk-dev] [PATCH] fm10k: fix 2 bugs in rxtx_queue_disable and fm10k_dev_start X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2015 05:45:53 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wang Xiao W > Sent: Friday, July 31, 2015 1:06 PM > To: dev@dpdk.org > Cc: Wang, Xiao W > Subject: [dpdk-dev] [PATCH] fm10k: fix 2 bugs in rxtx_queue_disable and > fm10k_dev_start >=20 > In Rx and Tx queue_disable functions, the index of queue should > be qnum other than i which is the iteration of time expiration. > When a Tx queue fails to start in fm10k_dev_start, all Rx queues > and Tx queues that are started should be cleaned before the > function returns an error. >=20 > Signed-off-by: Wang Xiao W Acked-by: Jing Chen =09