Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1466777

Re: [PATCH net] vmxnet3: fix tx data ring copy for variable size

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net] vmxnet3: fix tx data ring copy for variable size
Date 2016-08-20 07:50 +0200
Message-ID <s87km-7o3-5@gated-at.bofh.it> (permalink)
References <s7W5A-aY-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Shrikrishna Khare <skhare@vmware.com>
Date: Fri, 19 Aug 2016 10:33:42 -0700

> 'Commit 3c8b3efc061a ("vmxnet3: allow variable length transmit data ring
> buffer")' changed the size of the buffers in the tx data ring from a
> fixed size of 128 bytes to a variable size.
> 
> However, while copying data to the data ring, vmxnet3_copy_hdr continues
> to carry the old code that assumes fixed buffer size of 128. This patch
> fixes it by adding correct offset based on the actual data ring buffer
> size.
> 
> Signed-off-by: Guolin Yang <gyang@vmware.com>
> Signed-off-by: Shrikrishna Khare <skhare@vmware.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net] vmxnet3: fix tx data ring copy for variable size Shrikrishna Khare <skhare@vmware.com> - 2016-08-19 19:50 +0200
  Re: [PATCH net] vmxnet3: fix tx data ring copy for variable size David Miller <davem@davemloft.net> - 2016-08-20 07:50 +0200

csiph-web