net/i40e: eliminate mbuf write on rearm
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 6 Apr 2017 11:32:16 +0000 (12:32 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commitf4356d7ca1686531798aea20dd7dd589b8946141
tree28e6a9fd0851f2f88a8acce633f990c75960992f
parent21ea96388eef6f33bd3f0cbfea1554c394ada4d8
net/i40e: eliminate mbuf write on rearm

With the mbuf rework, we now have 8 contiguous bytes to be rearmed in the
mbuf just before the 8-bytes of olflags. If we don't do the rearm write
inside the descriptor ring replenishment function, and delay it to
receiving the packet, we can do a single 16B write inside the RX function
to set both the rearm data, and the flags together.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Jianbo Liu <jianbo.liu@linaro.org>
drivers/net/i40e/i40e_rxtx_vec_sse.c