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

Lu, Wenzhuo wenzhuo.lu at intel.com
Fri Mar 18 04:19:35 CET 2016


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>



More information about the dev mailing list