From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] i40e: fix the VF rss issue when nb_rx_queue is less than nb_tx_queue Date: Mon, 20 Jul 2015 01:04:29 +0200 Message-ID: <4791767.QP1g9sLXx2@xps13> References: <1436750501-6585-1-git-send-email-jingjing.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Wu, Jingjing" Return-path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id AA6075A31 for ; Mon, 20 Jul 2015 01:05:40 +0200 (CEST) Received: by wibud3 with SMTP id ud3so82691060wib.0 for ; Sun, 19 Jul 2015 16:05:40 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > 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 > Acked-by: Helin Zhang Applied, thanks