From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.176]) (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 8D28B262A3 for ; Thu, 14 Nov 2024 16:16:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731600986; cv=none; b=lmHRI9mZqSFWAlxmMYodajzL58RAFhZPIquc5vMW9/fckoGFa0H+xz9RSm3ql8H+4UcxEat8FIlrFEV5i3/YmADjvzCvB9OvIT/JZQ241rATdP2EstkdnGougHIReWDdakC9P3RHy/4ZoEFVu5wDAIvR8wI19SqlnSmXUoj12ds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731600986; c=relaxed/simple; bh=mHFHn4t/EyBpmOdpPhVG84ehQfiDq556H9EMlvRdlW8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EvlTdORpN/hCkiEXylP5/551YXx2ZnyafoAMCR9r5UHvjNY8UpiNS8V9N+xhVUamuNIXLCfnfPtUxkaJ7bF3FjWhQt9yVbeZJZw/vLZKHBAOy4SHWH9CEI1hGrScgiP4tJOaLVgI4+A7ep53hS27qWiO+2AdbVJb9wFR+WQwWaM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=MG/+ZokM; arc=none smtp.client-ip=91.218.175.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="MG/+ZokM" Message-ID: <73b2b454-8897-49ff-8393-0dcb8b69d5ba@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1731600981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZhLrL6xZDaAVGdx5FBoKq/JE8N1BZC18rNxW8cG3LwM=; b=MG/+ZokMHcJO11rqkIZQxRk3+tGpLIu90jFGT/9urCOVehojALFFgRaNd2/EZm7/5oq+2A ZztGSENBEtuhaT0zxiykSERYXyqag/e2O36FtDuK5J+Cf5DliSVLX4u4k+ns5N4RFtqaec ow6y3M1Bpmn/prD2yFWNIKYMqinGe7I= Date: Thu, 14 Nov 2024 16:16:14 +0000 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net-next v4 3/7] enic: Save resource counts we read from HW To: Nelson Escobar , John Daley , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Benvenuti , Satish Kharat , Andrew Lunn , "David S. Miller" Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Simon Horman References: <20241113-remove_vic_resource_limits-v4-0-a34cf8570c67@cisco.com> <20241113-remove_vic_resource_limits-v4-3-a34cf8570c67@cisco.com> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: <20241113-remove_vic_resource_limits-v4-3-a34cf8570c67@cisco.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 13/11/2024 23:56, Nelson Escobar wrote: > Save the resources counts for wq,rq,cq, and interrupts in *_avail variables > so that we don't lose the information when adjusting the counts we are > actually using. > > Report the wq_avail and rq_avail as the channel maximums in 'ethtool -l' > output. > > Co-developed-by: John Daley > Signed-off-by: John Daley > Co-developed-by: Satish Kharat > Signed-off-by: Satish Kharat > Signed-off-by: Nelson Escobar > Reviewed-by: Simon Horman Reviewed-by: Vadim Fedorenko