[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220328103538.3bdf79d2@kernel.org>
Date: Mon, 28 Mar 2022 10:35:38 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: "wangjie (L)" <wangjie125@...wei.com>
Cc: <mkubecek@...e.cz>, <davem@...emloft.net>,
<netdev@...r.kernel.org>, <huangguangbin2@...wei.com>,
<lipeng321@...wei.com>, <shenjian15@...wei.com>,
<moyufeng@...wei.com>, <linyunsheng@...wei.com>,
<salil.mehta@...wei.com>, <chenhao288@...ilicon.com>
Subject: Re: [RFCv2 PATCH net-next 1/2] net-next: ethtool: extend ringparam
set/get APIs for tx_push
On Mon, 28 Mar 2022 11:05:26 +0800 wangjie (L) wrote:
> > This can only be 0 and 1, right? Set a policy to to that effect please.
> >
> I will use NLA_POLICY_MAX(NLA_U8, 1), is this ok?
Yes, that looks right!
Powered by blists - more mailing lists