vmxnet3: restore Tx data ring support
authorYong Wang <yongwang@vmware.com>
Wed, 13 Jan 2016 02:08:33 +0000 (18:08 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 18:05:46 +0000 (19:05 +0100)
commit6e9893c5ef586c95cdb4cf87f17a826de1b26e66
treec0fb13eb51282fa3c94cc41d1b24de18a49bb7bf
parent1089b5066da13113a68ab714bce6052088cbbdc1
vmxnet3: restore Tx data ring support

Tx data ring support was removed in a previous change that
added multi-seg transmit.  This change adds it back.

According to the original commit (2e849373), 64B pkt
rate with l2fwd improved by ~20% on an Ivy Bridge
server at which point we start to hit some bottleneck
on the rx side.

I also re-did the same test on a different setup (Haswell
processor, ~2.3GHz clock rate) on top of the master
and still observed ~17% performance gains.

Fixes: 7ba5de417e3c ("vmxnet3: support multi-segment transmit")

Signed-off-by: Yong Wang <yongwang@vmware.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
doc/guides/rel_notes/release_16_04.rst
drivers/net/vmxnet3/vmxnet3_rxtx.c