From patchwork Mon Sep 28 09:56:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xu, Ting" X-Patchwork-Id: 78990 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0A7FEA04AF; Mon, 28 Sep 2020 11:52:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E9401D68E; Mon, 28 Sep 2020 11:52:33 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 75BFC1BA4B for ; Mon, 28 Sep 2020 11:52:31 +0200 (CEST) IronPort-SDR: STHluTcT6GKNcOs7M1AJ77Y8OmMznMaMzKfNmvRjhBZXVXjepWp5GF8pQBO2usMb8pQcMgVQGM C7WFXFpOY13A== X-IronPort-AV: E=McAfee;i="6000,8403,9757"; a="223560332" X-IronPort-AV: E=Sophos;i="5.77,313,1596524400"; d="scan'208";a="223560332" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 02:52:28 -0700 IronPort-SDR: 4E8Nw21Hkxv4LjVfat9ubuNZnVMQoWasfbjL1W7cmRVQBTcEe+3PLWu8+tplNwEwh0yK2mmy4c y7U5mTRUiVeA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,313,1596524400"; d="scan'208";a="349792866" Received: from dpdk-xuting-second.sh.intel.com ([10.67.116.154]) by FMSMGA003.fm.intel.com with ESMTP; 28 Sep 2020 02:52:27 -0700 From: Ting Xu To: dev@dpdk.org Cc: qi.z.zhang@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com, Ting Xu Date: Mon, 28 Sep 2020 17:56:02 +0800 Message-Id: <20200928095604.50040-1-ting.xu@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v3 0/2] enable large VF configuration 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" This patchset supports to configure up to 256 queue pairs per VF. If large VF is supported after capability negotiation, VF will request queues from PF as needed. New virtual channel opcodes and structures are used to indicate 256 queues, so VF is designed to handle the new function of configure VSI queues, IRQ mapping and enable/disable queues. Also, enable VF to query the max RSS queue region. Ting Xu (2): net/iavf: add IAVF request queues function net/iavf: enable large VF configuration --- v2->v3: Fix coding style issue. Move get max RSS queue region after VF reset. Add request queues capability negotiation. v1->v2: Change the communication with kernel PF. --- drivers/net/iavf/iavf.h | 40 ++- drivers/net/iavf/iavf_ethdev.c | 102 +++++++- drivers/net/iavf/iavf_rxtx.c | 27 +- drivers/net/iavf/iavf_vchnl.c | 444 ++++++++++++++++++++++++++++++--- 4 files changed, 558 insertions(+), 55 deletions(-)