From patchwork Mon Dec 17 11:10:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yan, Zhirun" X-Patchwork-Id: 48963 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8468D1B72A; Mon, 17 Dec 2018 04:34:03 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id CE2C91B729 for ; Mon, 17 Dec 2018 04:34:01 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Dec 2018 19:34:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,363,1539673200"; d="scan'208";a="126515241" Received: from dpdk-server.sh.intel.com ([10.67.110.170]) by fmsmga002.fm.intel.com with ESMTP; 16 Dec 2018 19:33:59 -0800 From: Zhirun Yan To: dev@dpdk.org, qi.z.zhang@intel.com Cc: Zhirun Yan Date: Mon, 17 Dec 2018 11:10:52 +0000 Message-Id: <20181217111054.45414-1-zhirun.yan@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181214143720.34163-1-zhirun.yan@intel.com> References: <20181214143720.34163-1-zhirun.yan@intel.com> Subject: [dpdk-dev] [PATCH v5 0/2] Support request more queues 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" V5 - modify the loop conditions (ret == I40EVF_MSG_ERR || ret == I40EVF_MSG_CMD) if there is no free queue available, just end the loop. DPDK VF send VIRTCHNL_OP_REQUEST_QUEUES to kernel PF or DPDK VF for requesting more queues, then PF will allocate more queues. Zhirun Yan (2): net/i40e: support VF request more queues net/i40e: support PF respond VF request more queues drivers/net/i40e/i40e_ethdev_vf.c | 62 ++++++++++++++++++++++++++++- drivers/net/i40e/i40e_pf.c | 65 +++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 2 deletions(-)