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 EE6C7A04DE; Fri, 23 Oct 2020 12:11:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0F374A93A; Fri, 23 Oct 2020 12:11:40 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id ACA05A93A for ; Fri, 23 Oct 2020 12:11:37 +0200 (CEST) IronPort-SDR: PYS5T+WIh1vyjZL/WkU6W4idpq5ysYBfl2PyLMkWug+jSKaVAbM1emxUA4JO9Js+tkTi5wkg9O BirgseIAqeOQ== X-IronPort-AV: E=McAfee;i="6000,8403,9782"; a="185351920" X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="185351920" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 03:11:33 -0700 IronPort-SDR: fC0EENxwgT1Wz1BnnX/9nX3XTEf3P2UzeKKcS3/W0H0Hg9LCn+lST5eb4KJuJ/vEcRFkfia5iK V8fFnyZHt3SQ== X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="534346011" 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:11:32 -0700 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> From: Ferruh Yigit Message-ID: <73732205-5fbd-b4f3-5b26-c003fa7d570e@intel.com> Date: Fri, 23 Oct 2020 11:11:30 +0100 MIME-Version: 1.0 In-Reply-To: <20201022064902.40143-3-ting.xu@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/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? > 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 <...>