[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231206093500.7e71fbcf@kernel.org>
Date: Wed, 6 Dec 2023 09:35:00 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Jiawen Wu <jiawenwu@...stnetic.com>
Cc: davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
linux@...linux.org.uk, andrew@...n.ch, netdev@...r.kernel.org,
mengyuanlou@...-swift.com
Subject: Re: [PATCH net-next v3 6/7] net: wangxun: add ethtool_ops for
channel number
On Wed, 6 Dec 2023 17:53:54 +0800 Jiawen Wu wrote:
> + /* verify they are not requesting separate vectors */
> + if (!count || ch->rx_count || ch->tx_count)
> + return -EOPNOTSUPP;
Doesn't core already check this? You leave the max_ values as 0
Powered by blists - more mailing lists