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 4D8C7A04DD; Thu, 22 Oct 2020 08:45:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A63915F69; Thu, 22 Oct 2020 08:45:50 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 7E83D2BE1 for ; Thu, 22 Oct 2020 08:45:49 +0200 (CEST) IronPort-SDR: DOxEbrCKroevCtpjMmUsUsNH1KT14XVsCAP+NHfMz6OyImvOjgcYZetmQ8KbGlxqyvFG/P/JiL IhqhVQC03Usw== X-IronPort-AV: E=McAfee;i="6000,8403,9781"; a="185158484" X-IronPort-AV: E=Sophos;i="5.77,403,1596524400"; d="scan'208";a="185158484" 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; 21 Oct 2020 23:45:47 -0700 IronPort-SDR: xEOrj6VG9r+B8dzdkBDwQyFEKXEHBPpf4QGnOnQqModuwXJWAnZYL1PbZmlPsiLDUT/FXS4/6w v18Whx9R2CMA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,403,1596524400"; d="scan'208";a="533829141" Received: from dpdk-xuting-second.sh.intel.com ([10.67.116.154]) by orsmga005.jf.intel.com with ESMTP; 21 Oct 2020 23:45:44 -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: Thu, 22 Oct 2020 14:48:56 +0800 Message-Id: <20201022064902.40143-1-ting.xu@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200909072028.16726-1-ting.xu@intel.com> References: <20200909072028.16726-1-ting.xu@intel.com> Subject: [dpdk-dev] [PATCH v8 0/6] 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 for RSS and filter configuration. Ting Xu (6): net/iavf: handle virtchnl event message without interrupt net/iavf: add IAVF request queues function net/iavf: negotiate large VF and request more queues net/iavf: enable multiple queues configurations for large VF net/iavf: enable IRQ mapping configuration for large VF net/iavf: add enable/disable queues for large VF --- v7->v8: Modify commit logs. Make log sentences in one line. v6->v7: Separate patches. v4->v6: 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 | 142 ++++++++++- drivers/net/iavf/iavf_rxtx.c | 25 +- drivers/net/iavf/iavf_vchnl.c | 448 ++++++++++++++++++++++++++++----- 4 files changed, 572 insertions(+), 80 deletions(-) -- 2.17.1