diff options
author | Ray Kinsella <mdr@ashroe.eu> | 2021-11-22 12:08:04 +0000 |
---|---|---|
committer | Ray Kinsella <mdr@ashroe.eu> | 2021-11-25 09:04:27 +0000 |
commit | a0de7807405963d15216f3d89ee1c6edf678946a (patch) | |
tree | 66112a4af14eab41a9753152d46d5657420c97ee /src/examples | |
parent | 2711ca710affe0c52bf63e08e0cf0588094e6198 (diff) |
dpdk: prefetch becomes prefetchw
Changed dpdk-input prefetch of vlib_buffer_t to prefetchw.
vlib_buffer_t was being prefetched without 'ownership', which may
cause a stall when the buffer is subsequently written to. This saves
4 clocks a packet when the buffer is shared a cross cores, and has no
impact when not sharing.
Type: improvement
Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
Change-Id: I317af2a38ef536022e68552351a8507861f62dad
Diffstat (limited to 'src/examples')
0 files changed, 0 insertions, 0 deletions