Remove useless prefetch in ip4-rewrite node 77/16177/3
authorSimon Zhang <yuwei1.zhang@intel.com>
Mon, 26 Nov 2018 09:15:24 +0000 (17:15 +0800)
committerDamjan Marion <dmarion@me.com>
Wed, 28 Nov 2018 08:43:46 +0000 (08:43 +0000)
commit5a5a86987b1b5bd792e9615c3f26471abd4babb4
treefc376ca9d216a8b3dd19c54217b0d3d2a91a29fc
parent7e713f133a62efdc9d3019aeeee15cce774087e2
Remove useless prefetch in ip4-rewrite node

Prefetching first 2 packets' header is useless cause of the prefetching
action is not done before using the packets.

There's no performance drop in Xeon platform and slightly performance
gain in Atom platform after rmoving the prefetch.

Change-Id: Ib4b074af20d7cd5053aecc7147b162141aec31f5
Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
src/vnet/ip/ip4_forward.c