From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <wenzhuo.lu@intel.com>
Received: from mga14.intel.com (mga14.intel.com [192.55.52.115])
 by dpdk.org (Postfix) with ESMTP id E658E56A2
 for <dev@dpdk.org>; Fri, 18 Mar 2016 04:19:38 +0100 (CET)
Received: from fmsmga001.fm.intel.com ([10.253.24.23])
 by fmsmga103.fm.intel.com with ESMTP; 17 Mar 2016 20:19:37 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.24,353,1455004800"; d="scan'208";a="926719938"
Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206])
 by fmsmga001.fm.intel.com with ESMTP; 17 Mar 2016 20:19:37 -0700
Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by
 FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS)
 id 14.3.248.2; Thu, 17 Mar 2016 20:19:37 -0700
Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by
 fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS)
 id 14.3.248.2; Thu, 17 Mar 2016 20:19:37 -0700
Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.232]) by
 SHSMSX101.ccr.corp.intel.com ([169.254.1.136]) with mapi id 14.03.0248.002;
 Fri, 18 Mar 2016 11:19:35 +0800
From: "Lu, Wenzhuo" <wenzhuo.lu@intel.com>
To: "Wang, Xiao W" <xiao.w.wang@intel.com>, "Zhang, Helin"
 <helin.zhang@intel.com>
CC: "dev@dpdk.org" <dev@dpdk.org>
Thread-Topic: [PATCH] ixgbe: fix reta query and update on x550
Thread-Index: AQHRgL3FbR2tzCmpjk6HL+LpEhr+1J9eiFjw
Date: Fri, 18 Mar 2016 03:19:35 +0000
Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09090343C682@shsmsx102.ccr.corp.intel.com>
References: <1458268055-22668-1-git-send-email-xiao.w.wang@intel.com>
In-Reply-To: <1458268055-22668-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
Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix reta query and update on x550
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Mar 2016 03:19:39 -0000

Hi,


> -----Original Message-----
> From: Wang, Xiao W
> Sent: Friday, March 18, 2016 10:28 AM
> To: Zhang, Helin
> Cc: dev@dpdk.org; Lu, Wenzhuo; Wang, Xiao W
> Subject: [PATCH] ixgbe: fix reta query and update on x550
>=20
> For x550 device, the reta table has 512 entries, but in function
> ixgbe_dev_rss_reta_query and ixgbe_dev_rss_reta_update we use an "uint8_t=
 i"
> to traverse the entries, this will lead the function to an endless loop.
>=20
> This patch changes the data type from uint8_t to uint16_t to fix the issu=
e.
>=20
> Fixes: 4bee94a6c22f ("ixgbe: support 512 RSS entries on x550")
>=20
> Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>