lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250924181049.1ab2dc56@kernel.org>
Date: Wed, 24 Sep 2025 18:10:49 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Sathesh B Edara <sedara@...vell.com>
Cc: <linux-kernel@...r.kernel.org>, <sburla@...vell.com>,
 <vburru@...vell.com>, <davem@...emloft.net>, <edumazet@...gle.com>,
 <pabeni@...hat.com>, <netdev@...r.kernel.org>, <hgani@...vell.com>,
 <andrew@...n.ch>, <srasheed@...vell.com>, Andrew Lunn
 <andrew+netdev@...n.ch>
Subject: Re: [net-next PATCH v1 1/2 RESEND] octeon_ep: Add support to
 retrieve hardware channel information

On Tue, 23 Sep 2025 02:41:18 -0700 Sathesh B Edara wrote:
> +	channel->max_rx = CFG_GET_PORTS_MAX_IO_RINGS(oct->conf);
> +	channel->max_tx = CFG_GET_PORTS_MAX_IO_RINGS(oct->conf);
> +	channel->rx_count = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf);
> +	channel->tx_count = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf);

AFAICT you're using one IRQ for both Rx and Tx. The channel is
basically an IRQ. So if you're using one for Rx+Tx you should be
reporting the combined channel counts.
-- 
pw-bot: cr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ