From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 17B4F106B for ; Tue, 14 Jul 2015 20:11:14 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 14 Jul 2015 11:08:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,473,1432623600"; d="scan'208";a="728776342" Received: from kmsmsx154.gar.corp.intel.com ([172.21.73.14]) by orsmga001.jf.intel.com with ESMTP; 14 Jul 2015 11:08:10 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by KMSMSX154.gar.corp.intel.com (172.21.73.14) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 15 Jul 2015 02:08:09 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.129]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.146]) with mapi id 14.03.0224.002; Wed, 15 Jul 2015 02:08:07 +0800 From: "Zhang, Helin" To: "Wu, Jingjing" , "dev@dpdk.org" Thread-Topic: [PATCH] i40e: fix the VF rss issue when nb_rx_queue is less than nb_tx_queue Thread-Index: AQHQvQpLLdCghNvLm06VA5dfissdc53bRdiA Date: Tue, 14 Jul 2015 18:08:06 +0000 Message-ID: References: <1436750501-6585-1-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1436750501-6585-1-git-send-email-jingjing.wu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] i40e: fix the VF rss issue when nb_rx_queue is less than nb_tx_queue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2015 18:11:15 -0000 > -----Original Message----- > From: Wu, Jingjing > Sent: Sunday, July 12, 2015 6:22 PM > To: dev@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 >=20 > From: "jingjing.wu" >=20 > I40e VF driver uses the num_queue_pairs in vf structure to construct queu= e > 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 inval= id > queue index, then application cannot poll packets on these queues. >=20 > This patch also moves the inline function i40e_align_floor from i40e_ethd= ev.c to > i40e_ethdev.h. >=20 > Signed-off-by: jingjing.wu Acked-by: Helin Zhang