From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8078515A86D; Fri, 27 Mar 2026 03:18:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774581523; cv=none; b=BflpHOIzaGPOQixodz/DVhydfjYik1yQFeNo4jvRcW4JUK0RszV9QChM1zQamta8ufkhPHPY9uXKPPjBCVR++/50E3dY1uGQwCm6i9zPd2jKnAs0n6dFAw09Vy6BYgp48bRheL8XoWvXvXyQgvAGuHy8v6zgRxL2oWVYoFdDHuA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774581523; c=relaxed/simple; bh=4o3vkP9OMGwxwIJArEgPS7h9NEih+KsevhqFz1wSHY4=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ueymIkTFOWnsTVE7gWUHjomW52eNvpBU6azM1dN6SHXeWUN5aVLKC05C/5ZtHz7TWReYGLvmdqUmDeBGDT0OYn3VBKuy7oliH7rIZtY5XxnmJ2WB7d9VN1x9WQvHqGJrr0Co706DfvOh60TJubfUpHI77cElsbCZUDysYhnnS/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Tnl6ldck; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Tnl6ldck" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CF97C116C6; Fri, 27 Mar 2026 03:18:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774581523; bh=4o3vkP9OMGwxwIJArEgPS7h9NEih+KsevhqFz1wSHY4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Tnl6ldckXuQZq4kxsRIMFYMpVnctQA4xcZsfGzIoQhKKekRk68UqyzLs0B98juB1Y Xzbs1CY5JqCOwqJUgML76wRo3VIxawJk0V9O+3QXwcCap4XRsk9d+FcYYh0v7Jtkgw n3O1yyACqXlV9r2TdCHT+cKkfGZRBuUGkNvK+lob7qaWOP0iaBFNiWzfHvIhfgT5rV m9kCcFTiz+reJpnMoT3MlObYUTOLGlGAVXT84Fc/CXCx7Dj5iWCINtPDzmaDvcvJHB PdwugxRuhD3+ttiuIJ0kEIK1NRwrxpC3DbiQQ+4J+ze8VC/BjZobZDxPWVC46DWGiE ay+FXIdxuiFhA== Date: Thu, 26 Mar 2026 20:18:41 -0700 From: Jakub Kicinski To: Long Li Cc: Konstantin Taranov , "David S . Miller" , Paolo Abeni , Eric Dumazet , Andrew Lunn , Jason Gunthorpe , Leon Romanovsky , Haiyang Zhang , "K . Y . Srinivasan" , Wei Liu , Dexuan Cui , Simon Horman , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2] net: mana: Set default number of queues to 16 Message-ID: <20260326201841.3b7e5b78@kernel.org> In-Reply-To: <20260323194925.1766385-1-longli@microsoft.com> References: <20260323194925.1766385-1-longli@microsoft.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 23 Mar 2026 12:49:25 -0700 Long Li wrote: > Set the default number of queues per vPort to MANA_DEF_NUM_QUEUES (16), > as 16 queues can achieve optimal throughput for typical workloads. The > actual number of queues may be lower if it exceeds the hardware reported > limit. Users can increase the number of queues up to max_queues via > ethtool if needed. Sorry we are a bit backlogged I didn't spot this in time (read: I'm planning to revert this unless proper explanation is provided) Could you explain why not use netif_get_num_default_rss_queues() ? Having local driver innovations is a major PITA for users who deal with heterogeneous envs.