[dpdk-dev] [PATCH] i40e: fix the VF rss issue when nb_rx_queue is less than nb_tx_queue

Zhang, Helin helin.zhang at intel.com
Tue Jul 14 20:08:06 CEST 2015



> -----Original Message-----
> From: Wu, Jingjing
> Sent: Sunday, July 12, 2015 6:22 PM
> To: dev at dpdk.org
> Cc: Wu, Jingjing; Xu, Qian Q; Zhang, Helin
> Subject: [PATCH] i40e: fix the VF rss issue when nb_rx_queue is less than
> nb_tx_queue
> 
> From: "jingjing.wu" <jingjing.wu at intel.com>
> 
> I40e VF driver uses the num_queue_pairs in vf structure to construct queue
> index look up table. When the nb_rx_queue is less than nb_tx_queue,
> num_queue_pairs is equal to nb_tx_queue. It will make the table use invalid
> queue index, then application cannot poll packets on these queues.
> 
> This patch also moves the inline function i40e_align_floor from i40e_ethdev.c to
> i40e_ethdev.h.
> 
> Signed-off-by: jingjing.wu <jingjing.wu at intel.com>
Acked-by: Helin Zhang <helin.zhang at intel.com>


More information about the dev mailing list