Message ID | 20200909072028.16726-1-ting.xu@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 <dev@dpdk.org>; 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 <ting.xu@intel.com> To: dev@dpdk.org Cc: qi.z.zhang@intel.com, jingjing.wu@intel.com, Ting Xu <ting.xu@intel.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
enable large VF configuration
|
|
Message
Xu, Ting
Sept. 9, 2020, 7:20 a.m. UTC
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(-)
Comments
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 for RSS and filter configuration. Ting Xu (2): net/iavf: add IAVF request queues function net/iavf: enable large VF configuration --- v4->v5: Solve queue mapping buffer limitation issue. Optimize VSI queue configuration v3->v4: Optimize handling messages from PF. 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 | 37 ++- drivers/net/iavf/iavf_ethdev.c | 158 +++++++++++- drivers/net/iavf/iavf_rxtx.c | 27 +- drivers/net/iavf/iavf_vchnl.c | 450 ++++++++++++++++++++++++++++----- 4 files changed, 587 insertions(+), 85 deletions(-)