From patchwork Wed Sep 9 07:20:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xu, Ting" X-Patchwork-Id: 77011 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 6D07EA04B1; Wed, 9 Sep 2020 09:16:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 576FB1C0CC; Wed, 9 Sep 2020 09:16:52 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C7DF51C0CA for ; Wed, 9 Sep 2020 09:16:50 +0200 (CEST) IronPort-SDR: R52s+yShauDbuo4v7Fje2gcc/MKhMtUQ2c9kH3f+CPd3R+wyM3oqtpvzh1ES5rurhK47tiF8h/ HW2CkSKGX94w== X-IronPort-AV: E=McAfee;i="6000,8403,9738"; a="219840802" X-IronPort-AV: E=Sophos;i="5.76,408,1592895600"; d="scan'208";a="219840802" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2020 00:16:45 -0700 IronPort-SDR: KHH2J2X6KMxGfWAqB/UuoYLPSWdzExMwt1DnynGn3JseLdK6BJb+xxQovj+ZvWAQjT6Zb0uE5t z+3vKauhY5ow== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,408,1592895600"; d="scan'208";a="328804511" Received: from dpdk-xuting-second.sh.intel.com ([10.67.116.154]) by fmsmga004.fm.intel.com with ESMTP; 09 Sep 2020 00:16:44 -0700 From: Ting Xu To: dev@dpdk.org Cc: qi.z.zhang@intel.com, jingjing.wu@intel.com, Ting Xu Date: Wed, 9 Sep 2020 15:20:26 +0800 Message-Id: <20200909072028.16726-1-ting.xu@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v1 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, 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. Enable VF to query the max RSS queue regions and report to users. Ting Xu (2): net/iavf: add IAVF request queues net/iavf: enable large VF configuration drivers/net/iavf/iavf.h | 41 +++- drivers/net/iavf/iavf_ethdev.c | 93 +++++-- drivers/net/iavf/iavf_rxtx.c | 27 ++- drivers/net/iavf/iavf_vchnl.c | 426 ++++++++++++++++++++++++++++++--- 4 files changed, 528 insertions(+), 59 deletions(-)