🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6465

Re: [PATCH net-next v8 4/4] net: mana: add dynamic HWC queue depth with reinit path

#6465
From: Wei Hu
Date: Thu, 22 Oct 2026 14:44
13 lines
9100 bytes
Thanks for the review.

On Tue, 20 Oct 2026 13:36:34 +0000, netdev-bot+sashiko@kernel.org wrote:

> How does the PF learn the size of the rebuilt rings?

The PF specifies the HWC queue depth and corresponding ring sizes. It
reports the required depth via HWC_INIT_DATA_QUEUE_DEPTH, and the VF
rebuilds the rings to implement that PF requirement.

Regards,
Wei
Technical Details
Message-ID: <hwc-v9-v8-review-20261022-patch4-545e64b8e0aba06c648a@linux.microsoft.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350610-linux-kernel-netdev=dewy.ru
References: <877e674c0255820b0517f863e535615b4028a48a.1791998462.git.weh@linux.microsoft.com> <179250339474.3135.8335532818248262678@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350610-linux-kernel-netdev=dewy.ru
From: weh@linux.microsoft.com (Wei Hu)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v8 4/4] net: mana: add dynamic HWC queue depth with reinit path
Date: Thu, 22 Oct 2026 14:44:10 +0000
Organization: Usenet Network
Message-ID: <hwc-v9-v8-review-20261022-patch4-545e64b8e0aba06c648a@linux.microsoft.com>
References: <877e674c0255820b0517f863e535615b4028a48a.1791998462.git.weh@linux.microsoft.com>  <179250339474.3135.8335532818248262678@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="234808"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:GrTx1xj4YbB0b1ngGc0/fhSbaeo= sha256:GjfntQWN4/F1dCuf1ufzNQrXfm0Ofsd3DiF3TJlOfJI=
	sha1:lpR/A8lIDT0ufJKVLg9hviorYAE= sha256:eQ3fj89uKdXFtwYtblKF3G1W+fCP6oH279Ud9Rufvec=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 962921112AC; Thu, 22 Oct 2026 17:50:47 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=linux.microsoft.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Rsfz6xLVk8Rd;
	Thu, 22 Oct 2026 17:50:45 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350610-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.microsoft.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id EFFC41112A8; Thu, 22 Oct 2026 17:50:36 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 3D7122EECE; Thu, 22 Oct 2026 14:44:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1792680262;
	b=RXnBzHcaZue/iEAmRCl1A6ilDo1ZjxIovmXuovl7MnoMnjSJt3RaFvuVT7WZ9oj+8PS7
	 O1Gh3zki7bttI8pG2RcfW1CJFyF4tFBOoNNoQS2gIzGr+FZJtPS9mj7PZQ4OvS96M/x5W
	 S9HfWu1uxWKnV/S9nspYRsu3mcnj33ekPWGMVRabTztCGTFLKqRPJFqh0BL+P0IBqBb8z
	 KDqcwGAOEFsFAOKP8OC1tJISphjQJx9IvGctb3Naoa5WaBj4u8OWcFrHpjU2NB/0Y7AFb
	 YWcmYC9xb57ZSWh9I6C0xmNRgbzxrQhp/PBgqu8YVob0eRqoFxawCEIcd43QvdfN2hg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792680262;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Filter:
	 DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 In-Reply-To:References:Content-Type:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Transfer-Encoding;
	bh=2G/tkT9b682VBEXOE4r7jWgUbyMAXcNgbFTNw9JLs5c=;
	b=AUSw02EJwj31O1e5rXy2pU9S/0mfjuHA3FzW6NJag2xiNxiuz7yYo4mw+NWYk5IwXRuP
	 19LjCsp8YezlSuY5cFV8g9ENqTGq8kS9belpVbHQzNuF5FPo4kOdLePnhcrohIoRZCKwv
	 v1WPZzhR05r0q7Cqmn6+2EY+gzaeVTW1V2k/8wUMy2JrqM+pjWZpsXD5+EADXrJkoeeXE
	 pq7AaA96hrjLmYId21+zIcbNds6MKfeX++tUdGxxuurvHoxirWKp9/jLoVg8/mQLFpsjA
	 Vte7CD1ie0xHXjDpo5MHIivzdjPwmc33loQhwoIpelXLj5VojBMBLNLx5pJqLmAnuVQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=Jk603uyp;
	dmarc=pass header.from=linux.microsoft.com;
	spf=pass smtp.mailfrom=linux.microsoft.com;
	arc=fail smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id E014B60A260B;
	Thu, 22 Oct 2026 14:44:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=Jk603uyp
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=13.77.154.182
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792680261;
	b=b7+na9I3UKW9FHfjKhAt46Wr0jDFW0mKUuVJtz9Fzw1Gd0nOtbjAbhbOQM71RNRqfaRj
	 /HiSMrPom5/m8j67Qa0v0ZNYEnG0llckHYZvDtqRMK8tV33SU25CXmKIQlS0BEgHQBJjM
	 b7kytvU7NZg7YlFaEiW+30Fv9td33WC0+MzATdeUq6XxPWEZYTTf5dFbi9gpr3aS5g/5J
	 uc4YxQpGzUu6d6LZQ6s2J8ag3OO7wU7xvqVm2nVkOdX8/BlpQtOLbW4bFBImi7UE+ZvYH
	 D3lQHfy/LqWacGLIWsdH3LNg4DT3oSVgOhFKnHPn8KY3iclajG6kS+rbrtntu195Vnw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792680261;
	h=DMARC-Filter:Received:DKIM-Filter:DKIM-Signature:From:To:Cc:Subject:
	 Date:Message-ID:X-Mailer:In-Reply-To:References:Content-Type:
	 MIME-Version:Content-Transfer-Encoding:X-Spam-Status:
	 X-Spam-Checker-Version;
	bh=2G/tkT9b682VBEXOE4r7jWgUbyMAXcNgbFTNw9JLs5c=;
	b=mBg6zv0ujcEc3qam4iZyB4w/HakrisxesQZ92Mm4FZ6l4pfPpAgRSdUcIO9IB5P9K3pW
	 PZ11kzsTZA2rxwuZxD9V1+F0136uAJ8LNuEtxcvLTGp+DdBQa1+k/HDKJbkEfHUtn4l1D
	 jhPBzu2hgilA0FNpSBasXxEf9JPPbFV58wsgZGQSrrNoFIj8yRG/L3npojfYA5u+n8XYW
	 BmQEXynsp50qvMg3WzAFsXMpVYV/5TBnERj5Rb16cjxehUw1V6uiV73grd1OFYC7ag0DR
	 bo7HCyUzyb+IRV5Yku9sVlNeXxlLDWRi+4D6NNrJOhYjmAuoWGOVAnaU+hWnQV7Xpqg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linux.microsoft.com;
	spf=pass smtp.mailfrom=linux.microsoft.com;
	dkim=pass header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=Jk603uyp;
	arc=none smtp.remote-ip=13.77.154.182
X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B859A606A33F;
	Thu, 22 Oct 2026 14:44:20 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B859A606A33F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com
X-Received: from weh-cvm-dev-vm.y50bckvjo0hefgfnzfztsfttff.phxx.internal.cloudapp.net (unknown [20.169.55.37])
	by linux.microsoft.com (Postfix) with ESMTPSA id 382C220B7167;
	Thu, 22 Oct 2026 07:44:11 -0700 (PDT)
X-DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 382C220B7167
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;
	s=default; t=1792680252;
	bh=2G/tkT9b682VBEXOE4r7jWgUbyMAXcNgbFTNw9JLs5c=;
	h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
	b=Jk603uypHxVp7JE/awAWc6xwGFQD5OwIBxSBC7toug/eo8qvauKAOXu5cXzI+w790
	 lm0xfwYW16LZbzwE4nUyy9n83nRuBExcrlmK4FK1ijz4lo9h8yyHMhPip1dhXINO0j
	 apeML4PteM0tmwS/XepwvDAmBVZjRsnv4sHqyNtY=
X-Cc: longli@kernel.org,
	kotaranov@microsoft.com,
	kuba@kernel.org,
	davem@davemloft.net,
	pabeni@redhat.com,
	edumazet@google.com,
	andrew+netdev@lunn.ch,
	jgg@ziepe.ca,
	leon@kernel.org,
	haiyangz@microsoft.com,
	wei.liu@kernel.org,
	decui@microsoft.com,
	shradhagupta@linux.microsoft.com,
	horms@kernel.org,
	ernis@linux.microsoft.com,
	stephen@networkplumber.org,
	netdev@vger.kernel.org,
	linux-rdma@vger.kernel.org,
	linux-hyperv@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	gargaditya@linux.microsoft.com,
	kees+treewide@kernel.org,
	kees@kernel.org,
	mawasthi@linux.microsoft.com,
	weh@microsoft.com,
	edumazet@kernel.org
X-Mailer: git-send-email 2.43.0
X-In-Reply-To: <179250339474.3135.8335532818248262678@kernel.org>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list