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

Bruce Richardson bruce.richardson at intel.com
Tue Mar 22 18:19:12 CET 2016


On Fri, Mar 18, 2016 at 03:19:35AM +0000, 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 x550
> > 
> > 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: 4bee94a6c22f ("ixgbe: support 512 RSS entries on x550")
> > 
> > Signed-off-by: Wang Xiao W <xiao.w.wang at intel.com>
> Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
> 
Applied to dpdk-next-net/rel_16_04

/Bruce


More information about the dev mailing list