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 5FFDE968; Wed, 20 Sep 2017 03:42:47 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2017 18:42:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,419,1500966000"; d="scan'208";a="1173978795" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 19 Sep 2017 18:42:45 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 19 Sep 2017 18:42:36 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 19 Sep 2017 18:42:36 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.98]) with mapi id 14.03.0319.002; Wed, 20 Sep 2017 09:42:19 +0800 From: "Xing, Beilei" To: "Wu, Jingjing" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/i40e: fix incorrect var assignment Thread-Index: AQHTMOyYzlbshdMCV0+A1sSNvpX5WaK9AVUQ Date: Wed, 20 Sep 2017 01:42:18 +0000 Message-ID: <94479800C636CB44BD422CB454846E013203547E@SHSMSX101.ccr.corp.intel.com> References: <1505323889-9744-1-git-send-email-jingjing.wu@intel.com> <1505760786-44718-1-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1505760786-44718-1-git-send-email-jingjing.wu@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 Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix incorrect var assignment 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: Wed, 20 Sep 2017 01:42:47 -0000 > -----Original Message----- > From: Wu, Jingjing > Sent: Tuesday, September 19, 2017 2:53 AM > To: Xing, Beilei > Cc: dev@dpdk.org; Wu, Jingjing ; stable@dpdk.org > Subject: [PATCH v2] net/i40e: fix incorrect var assignment >=20 > rx/tx_queue_setup functions are shared between PF and VF drivers. So the > var 'pf' should not be assigned at the beginning. > This patch fixes the issue, and also corrects the return err code. >=20 > Cc: stable@dpdk.org > Fixes: b6583ee40265 ("i40e: full VMDQ pools support") >=20 > Signed-off-by: Jingjing Wu Acked-by: Beilei Xing