lkml.org 
[lkml]   [2022]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 net-next 5/8] vmxnet3: add command to set ring buffer sizes
Date

On 6/7/22, 5:28 PM, "Jakub Kicinski" <kuba@kernel.org> wrote:

> 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().

Thanks, fixed it and sent revised patches.

Thanks,
Ronak

\
 
 \ /
  Last update: 2022-06-09 01:09    [W:0.047 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site