Re: [net-next PATCH v1 1/2 RESEND] octeon_ep: Add support to retrieve hardware channel information
From: Jakub Kicinski
Date: Wed Sep 24 2025 - 21:11:02 EST
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