From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 524CCA04B3; Tue, 24 Dec 2019 03:58:55 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 46AB72BA3; Tue, 24 Dec 2019 03:58:54 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id AD989F72 for ; Tue, 24 Dec 2019 03:58:52 +0100 (CET) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Dec 2019 18:58:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,350,1571727600"; d="scan'208";a="249684748" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by fmsmga002.fm.intel.com with ESMTP; 23 Dec 2019 18:58:49 -0800 Date: Tue, 24 Dec 2019 10:53:46 +0800 From: Ye Xiaolong To: "Zhang, Qi Z" Cc: "Cui, LunyuanX" , "dev@dpdk.org" , "Xing, Beilei" , "Yang, Qiming" Message-ID: <20191224025346.GF14498@intel.com> References: <20191203114339.43719-1-lunyuanx.cui@intel.com> <039ED4275CED7440929022BC67E7061153DF2724@SHSMSX105.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <039ED4275CED7440929022BC67E7061153DF2724@SHSMSX105.ccr.corp.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH] net/i40e: enable multi-queue Rx interrupt for VF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 12/24, Zhang, Qi Z wrote: > > >> -----Original Message----- >> From: Cui, LunyuanX >> Sent: Tuesday, December 3, 2019 7:44 PM >> To: dev@dpdk.org >> Cc: Xing, Beilei ; Zhang, Qi Z ; >> Yang, Qiming ; Cui, LunyuanX >> >> Subject: [PATCH] net/i40e: enable multi-queue Rx interrupt for VF >> >> Current implementation is that only one Rx queue can support interrupt, >> because all queues are mapped in the same vector id in vfio_enable_msix(). >> So VF can not support multi-queue Rx interrupt in the interrupt mode. >> >> In this patch, if the packet I/O interrupt on datapath is enabled >> (rte_intr_dp_is_en(intr_handle) is true), we map different interrupt vectors to >> each queue and send this map to PF. >> After PF sets the map to the register, >> all Rx queue interrupts will be received. >> >> In addition, vector id should less than the maximum vector value. >> When queue number is more than vector value, we set up a loop of interrupt >> vectors map. >> >> Signed-off-by: Lunyuan Cui > >Acked-by: Qi Zhang > Applied to dpdk-next-net-intel, Thanks.