Re: [PATCH net-next v2] net: mana: Implement get_ringparam/set_ringparam for mana

2024-08-03 Thread Stephen Hemminger
On Sun, 4 Aug 2024 02:09:21 +0800 Zhu Yanjun wrote: > > > > /* The minimum size of the WQE is 32 bytes, hence > > -* MAX_SEND_BUFFERS_PER_QUEUE represents the maximum number of WQEs > > +* apc->tx_queue_size represents the maximum number of WQEs > > * the SQ can store. Thi

Re: [PATCH net-next v2] net: mana: Implement get_ringparam/set_ringparam for mana

2024-08-03 Thread Zhu Yanjun
在 2024/7/31 1:01, Shradha Gupta 写道: Currently the values of WQs for RX and TX queues for MANA devices are hardcoded to default sizes. Allow configuring these values for MANA devices as ringparam configuration(get/set) through ethtool_ops. Signed-off-by: Shradha Gupta Reviewed-by: Haiyang Zhang