net/vmxnet3: increase Rx data ring descriptor size
authorShraddha Joshi <jshraddha@vmware.com>
Thu, 19 Apr 2018 18:19:01 +0000 (11:19 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 14:54:56 +0000 (15:54 +0100)
commitb7f60773748fd228fefe96df8ed7b16b11b72f4b
treeaa63f385f95cd275332ea2a6563434a9a3afe72c
parent84785018d01932bf98dd0af948309aaefc18195f
net/vmxnet3: increase Rx data ring descriptor size

Vmxnet3 driver supports receive data ring viz. a set of small sized
buffers that are always mapped by the emulation. If a packet fits into
the receive data ring buffer, the emulation delivers the packet via the
receive data ring.

Increasing the receive data ring descriptor size from 128 to 256
showed performance gains as high as 5% for packets smaller than 256.

Signed-off-by: Shraddha Joshi <jshraddha@vmware.com>
Acked-by: Jin Heo <heoj@vmware.com>
Acked-by: Guolin Yang <gyang@vmware.com>
Acked-by: Boon Ang <bang@vmware.com>
Acked-by: Yong Wang <yongwang@vmware.com>
drivers/net/vmxnet3/vmxnet3_ring.h