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 46FA9A04DE; Fri, 23 Oct 2020 12:17:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6549E72F1; Fri, 23 Oct 2020 12:17:31 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 5B4D46A68 for ; Fri, 23 Oct 2020 12:17:29 +0200 (CEST) IronPort-SDR: pMrPpcLaIsjG9/nMIpG++CUxm0w84j3YtHwH7+6e4qzlcjhu5cTWj5YBPHnJKouJz8uxrOYbYa jH9QVq4Un7aw== X-IronPort-AV: E=McAfee;i="6000,8403,9782"; a="231847237" X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="231847237" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 03:17:25 -0700 IronPort-SDR: 5pUkrB3EGWvdaTiAf6BQmI0Hp9LfVCEivY7sni3vMrOcNj2OMd2pLuVbGam7jBT8V25F8CtSiH IkTvWZ2fh32w== X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="534347999" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.224.253]) ([10.213.224.253]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 03:17:23 -0700 From: Ferruh Yigit To: Ting Xu , dev@dpdk.org Cc: qi.z.zhang@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com References: <20200909072028.16726-1-ting.xu@intel.com> <20201022064902.40143-1-ting.xu@intel.com> <20201022064902.40143-3-ting.xu@intel.com> <73732205-5fbd-b4f3-5b26-c003fa7d570e@intel.com> Message-ID: <5df4cd2e-d4f8-d1ba-9a6f-45cd35ad0c1f@intel.com> Date: Fri, 23 Oct 2020 11:17:20 +0100 MIME-Version: 1.0 In-Reply-To: <73732205-5fbd-b4f3-5b26-c003fa7d570e@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v8 2/6] net/iavf: add IAVF request queues function 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 10/23/2020 11:11 AM, Ferruh Yigit wrote: > On 10/22/2020 7:48 AM, Ting Xu wrote: >> Add a new virtchnl function to request additional queues from PF. Current >> default queue pairs number when creating a VF is 16. In order to support >> up to 256 queue pairs per VF, enable this request queues function. >> > > If there is a "256" queue pair limit, should it be added into the function, > right now it gets "uint16_t num" parameter? > Ahh, I can see it is enforced by caller in next patch, that is OK. >> When requesting queues succeeds, PF will return an event message. If it >> is handled by interrupt first, the request queues command cannot receive >> the correct PF response and will wait until timeout. Therefore, disable >> interrupt before requesting queues in order to handle the event message >> asynchronously. >> >> Signed-off-by: Ting Xu > > <...> >