From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0BCBC4332F for ; Wed, 16 Nov 2022 12:04:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4DDF881FFA; Wed, 16 Nov 2022 12:04:48 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 4DDF881FFA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1668600288; bh=qwNMVdeT81wiUtHp70E5io2xf2KYmMFNYidPp13WAmE=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=3WtUkJN+hSVavcRX4DCc76T1sDYkYbSLd4nsjSrFI65ctFGsKS6DidA2u8PCGB+IW T8di9IsNpBRMZIvviHaYnryhEmxj1TTlQ9E72oETnH9wMbDt9I7ie6QzRO9nFaAd1y p7dLGonpvVILZLeTyzoAwoJAaPdCbKkaeJ0VX9wjAauEvsN4XBKzTt1DBAyJ7qRl2q qLSTfLNWify4QFEtR0+RMF4kLoO0pmSLhXAK03T78uesi2L/VNmNDav+jX5HigZ4UU zimAZn6SO1+15xovviBGWGL0f1rUEu/YTQcvCeIBJmbdZPBNLP88p2xp7WGVXTkdJP K1NALwswf+yhg== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id os2riykJdqsg; Wed, 16 Nov 2022 12:04:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 60D1282012; Wed, 16 Nov 2022 12:04:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 60D1282012 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C80AC1BF576 for ; Wed, 16 Nov 2022 12:04:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id A1DB682012 for ; Wed, 16 Nov 2022 12:04:45 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A1DB682012 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R5sacn-0RCIj for ; Wed, 16 Nov 2022 12:04:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 5636B81FFA Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by smtp1.osuosl.org (Postfix) with ESMTPS id 5636B81FFA for ; Wed, 16 Nov 2022 12:04:44 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="292918030" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="292918030" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2022 04:04:43 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="884380899" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="884380899" Received: from unknown (HELO localhost.localdomain) ([10.237.112.144]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2022 04:04:39 -0800 Date: Wed, 16 Nov 2022 13:04:36 +0100 From: Michal Swiatkowski To: Leon Romanovsky Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668600284; x=1700136284; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=szQ+eh5iF6xXmafylI8uPZAw0AOvf0cuNVf12JThADM=; b=GzyuD6uSL/3+PUJaCy8y7wXbzkwFmN3Fn2vIe+5rWirXQWIseb1qlbTl mKztRy/Xdm7+fxsZ/Z0CZUbw2QH8vbxOTl5+IYHdj/txUOQ81H844/w2Y BHbvuAjbx9ePsMAGynQqhg2Pg91Hm0WLbST4iyj86DQlQgSV4bCK4F5NZ M9nJKRuI6GNFIF27n4T/nnY1McWP+wOKPqrNc/VXQn3loG3VcdXly84yw 9GogTqFwy0gn1aZZ7FHhRI6phc81pW015XRdwbYyaQrFCW85o54+V3W5M gIOtrPgHSK0ocPN9HRqGitp+R/yc4AAAsF3QMh939bhWoiYw6sCm5DE2T A==; X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=GzyuD6uS Subject: Re: [Intel-wired-lan] [PATCH net-next 00/13] resource management using devlink reload X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jiri@nvidia.com, leszek.kaliszczuk@intel.com, przemyslaw.kitszel@intel.com, edumazet@google.com, mustafa.ismail@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, kuba@kernel.org, pabeni@redhat.com, shiraz.saleem@intel.com, davem@davemloft.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Wed, Nov 16, 2022 at 08:04:56AM +0200, Leon Romanovsky wrote: > On Tue, Nov 15, 2022 at 07:59:06PM -0600, Samudrala, Sridhar wrote: > > On 11/15/2022 11:57 AM, Leon Romanovsky wrote: > > <...> > > > > > In case of ice driver lspci -vs shows: > > > > Capabilities: [70] MSI-X: Enable+ Count=1024 Masked > > > > > > > > so all vectors that hw supports (PFs, VFs, misc, etc). Because of that > > > > total number of MSI-X in the devlink example from cover letter is 1024. > > > > > > > > I see that mellanox shows: > > > > Capabilities: [9c] MSI-X: Enable+ Count=64 Masked > > > > > > > > I assume that 64 is in this case MSI-X ony for this one PF (it make > > > > sense). > > > Yes and PF MSI-X count can be changed through FW configuration tool, as > > > we need to write new value when the driver is unbound and we need it to > > > be persistent. Users are expecting to see "stable" number any time they > > > reboot the server. It is not the case for VFs, as they are explicitly > > > created after reboots and start "fresh" after every boot. > > > > > > So we set large enough but not too large value as a default for PFs. > > > If you find sane model of how to change it through kernel, you can count > > > on our support. > > > > I guess one main difference is that in case of ice, PF driver manager resources > > for all its associated functions, not the FW. So the MSI-X count reported for PF > > shows the total vectors(PF netdev, VFs, rdma, SFs). VFs talk to PF over a mailbox > > to get their MSI-X vector information. > > What is the output of lspci for ice VF when the driver is not bound? > > Thanks > It is the same after creating and after unbonding: Capabilities: [70] MSI-X: Enable- Count=17 Masked- 17, because 16 for traffic and 1 for mailbox. Thanks > > > > > > _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan