ixgbe: fix perf regression due to moved pool ptr
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 15 Sep 2014 16:20:13 +0000 (17:20 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 17 Sep 2014 16:57:37 +0000 (18:57 +0200)
commit1f22652ca886941b0961c792e5ba688b3764c041
tree96bafc146a9556b170ce0a57df5a81f11c678868
parent0ff3324da2eb36c606457121f397f9b0d3fa3a26
ixgbe: fix perf regression due to moved pool ptr

Adjust the fast-path code to fix the regression caused by the pool
pointer moving to the second cache line. This change adjusts the
prefetching and also the way in which the mbufs are freed back to the
mempool.
Note: slow-path e.g. path supporting jumbo frames, is still slower, but
is dealt with by a later commit

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_pmd_ixgbe/ixgbe_rxtx.c
lib/librte_pmd_ixgbe/ixgbe_rxtx.h
lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c