Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3254765lqp; Tue, 26 Mar 2024 04:23:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOomUoL5LGzBaTRhjpizDsPGuEvlzRM6O3DjYWG3CRjEER6wlS++sxfvkfrIA24L1rbPmJHIHjHw/+Yz/Pwp/8dHA3ey6uq7np6yye1A== X-Google-Smtp-Source: AGHT+IGmOsxiGwRd+meeTkuj8CB8hnzTWf9A5qgaz0lKelNCZAKPEWLyxl1BwtUb8YtybOFsLJRn X-Received: by 2002:ac8:5a84:0:b0:431:255c:daa6 with SMTP id c4-20020ac85a84000000b00431255cdaa6mr1281514qtc.18.1711452191505; Tue, 26 Mar 2024 04:23:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711452191; cv=pass; d=google.com; s=arc-20160816; b=z48lwP54UbuWnipNO+H30XVIfVCnRCyg2/HkiDBvCt4BQ8AM+FmuR7JHH+eBkfmCZ7 sDVUEDwKJp3eW6X9fCXvausHM0i8hh4tyL1fcptL6m5YnIJBSUZzDJOKT+lsNQuCcd5g AZDjc52JCiwf3LqdrSKn8uXb/B/zTgOoaqdJS6nTRccjqK6I6efUJz1wSlydvWhjePDJ MdoLCvdpKNIGXWa2KMuULgg9Mbhq7j6JO8RuJRjvGJhGYG6aVGrRf5I2ZEoREJ4Es1TT HgLhEU71iLYIoV7EKyHdjmOx04koTKYJbgkryFSIV7qhrC388ymMUapmh2rOwcC1W4i/ FOsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=m0OCziT4N6p2VrqlgMnboSVazstivIaeBbs5tvol0zw=; fh=OYOMwh5N7I+MXUPw8E2BFpDK7IlOD9YzS7/jGBaD5+E=; b=ZRVb3xeF5LZGYdwQM2lmiUyLcHYX2a2DE2ke8u9jpnwnLzIpl1B6P8QhYf7b06k1Ef 3SwZFvmwsTocJTN7BC1Mk0jHW0pltYEmDLKSbN2Q3bUywJQ4NDcZfQIDGgufFpvAav/O 789wVyo3T7k1D6Uo7Kb8xW2ZKL1isp60nM4RQN6VAgDxuv3xTSwUJjXaQ11ES3pJNeeJ JZyPwnvPEx0yMF9O61ZxcPb5hetFaTzBsNWATdM5lq4yNyJk396JErgvqeg140ea1JEa aNcWfw28fI/QA6aPND84/bgZKqcwT2+QDMS4me/UorWnhAlOhWQmkEdd0p+1zRsL9dk6 Jycw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GQV9VlHA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118875-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118875-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fe12-20020a05622a4d4c00b004313ac9c0c0si8590389qtb.576.2024.03.26.04.23.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 04:23:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118875-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GQV9VlHA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118875-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118875-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3B5FA1C312AE for ; Tue, 26 Mar 2024 11:23:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E73754BEB; Tue, 26 Mar 2024 11:22:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GQV9VlHA" 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 3537753E2E; Tue, 26 Mar 2024 11:22:57 +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=1711452178; cv=none; b=GUki9Id+MsnrIzmGIZOTsITPEQkFdoavHJO/lW+z82VKRlPSqJUFhqtV97QHuaT/uhCHS9zSGAFqhu7JJxl19txteui/yIMLTMfvu8mlFLznHv+ht7g/cBBtH4nxcBtbsATsBK3/vaNgMThyXWQndWXa3LdXgBBIyP0u4u77Oac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711452178; c=relaxed/simple; bh=WawzTENwsYUOrDp5S0K26oozIGFl1jrEA05wmb5QyPM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nJ5Gu+HPDBGAYh9mugiuVQhDJE4PNHL2qJNMhfv7dOEFSS+lQ39PMFT3AeOEJ0DvKoOYGe8w8BgOXY2fkEWQZBRBGE5D7N8dRwjNcxcDWDe9ASRJE2AIuW6bcjzg7QPTb4S4cC237Np5Aks9tKJbDQ4I9r5B4vQTIQsIPr6n+4I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GQV9VlHA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0813C433C7; Tue, 26 Mar 2024 11:22:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711452177; bh=WawzTENwsYUOrDp5S0K26oozIGFl1jrEA05wmb5QyPM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GQV9VlHAeTw/8dqGLG3t5wlWDT7oCEKR6rQHIChe3CQ6LIRUNSfi/kYjKD57e9Svf hPhyEFNjnxAgYimBoIU7AA0ikXajsUVs94wa7lMdxMmmwRYUuOlZMbJhh3urVf0JOE NeP1DhKJ1e6FyHjeqG3JaLYzTwast0tJZB5L8gVP9LEcUBbic5Eg391Eklx3G7ZDyo NtopiBh6iLhvqp+0Xr9NC5ya1bI+V2iwe04vDDAUoyPQiTP67ZWKjWhJv48xob34vS 4N0mXgJrDn8FTOP77zSmkB1koQ9lqsynAwYoT3owghDZSeMKP//1lZyaw0klQoUJ2a iD+hT0uIHOhbw== Date: Tue, 26 Mar 2024 11:22:52 +0000 From: Simon Horman To: Jijie Shao Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, michal.kubiak@intel.com, rkannoth@marvell.com, jiri@resnulli.us, shenjian15@huawei.com, wangjie125@huawei.com, liuyonglong@huawei.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V4 net 1/3] net: hns3: fix index limit to support all queue stats Message-ID: <20240326112252.GN403975@kernel.org> References: <20240325124311.1866197-1-shaojijie@huawei.com> <20240325124311.1866197-2-shaojijie@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240325124311.1866197-2-shaojijie@huawei.com> On Mon, Mar 25, 2024 at 08:43:09PM +0800, Jijie Shao wrote: > From: Jie Wang > > Currently, hns hardware supports more than 512 queues and the index limit > in hclge_comm_tqps_update_stats is wrong. So this patch removes it. > > Fixes: 287db5c40d15 ("net: hns3: create new set of common tqp stats APIs for PF and VF reuse") > Signed-off-by: Jie Wang > Signed-off-by: Jijie Shao > Reviewed-by: Michal Kubiak > Reviewed-by: Kalesh AP Reviewed-by: Simon Horman