[dpdk-dev] [PATCH] ixgbe: fix reta query and update on x550

2016-03-22 Thread Bruce Richardson
On Fri, Mar 18, 2016 at 03:19:35AM +, Lu, Wenzhuo wrote: > Hi, > > > > -Original Message- > > From: Wang, Xiao W > > Sent: Friday, March 18, 2016 10:28 AM > > To: Zhang, Helin > > Cc: dev at dpdk.org; Lu, Wenzhuo; Wang, Xiao W > > Subject: [PATCH] ixgbe: fix reta query and update on x

[dpdk-dev] [PATCH] ixgbe: fix reta query and update on x550

2016-03-18 Thread Wang Xiao W
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. This patch changes the data type from uint8_t to uint16_t to fix the issue. Fixes:

[dpdk-dev] [PATCH] ixgbe: fix reta query and update on x550

2016-03-18 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Wang, Xiao W > Sent: Friday, March 18, 2016 10:28 AM > To: Zhang, Helin > Cc: dev at dpdk.org; Lu, Wenzhuo; Wang, Xiao W > Subject: [PATCH] ixgbe: fix reta query and update on x550 > > For x550 device, the reta table has 512 entries, but in function > ixg