[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220607172812.489814b9@kernel.org>
Date: Tue, 7 Jun 2022 17:28:12 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Ronak Doshi <doshir@...are.com>
Cc: <netdev@...r.kernel.org>,
VMware PV-Drivers Reviewers <pv-drivers@...are.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 net-next 5/8] vmxnet3: add command to set ring buffer
sizes
On Tue, 7 Jun 2022 01:45:15 -0700 Ronak Doshi wrote:
> + adapter->ringBufSize.ring1BufSizeType0 = adapter->skb_buf_size;
> + adapter->ringBufSize.ring1BufSizeType1 = 0;
> + adapter->ringBufSize.ring2BufSizeType1 = PAGE_SIZE;
These need to use correct byte ordering helpers, since the fields are
__le16 probably cpu_to_le16().
Powered by blists - more mailing lists