misc: replace CLIB_PREFETCH with clib_prefetch_{load,store}
Type: refactor Change-Id: Id10cbf52e8f2dd809080a228d8fa282308be84ac Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:

committed by
Andrew Yourtchenko

parent
0aea808ac5
commit
af7fb04b81
@@ -94,7 +94,7 @@ nsim_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
|
||||
{
|
||||
/* prefetch one line / 2 entries ahead */
|
||||
if ((((uword) ep) & (CLIB_CACHE_LINE_BYTES - 1)) == 0)
|
||||
CLIB_PREFETCH ((ep + 2), CLIB_CACHE_LINE_BYTES, LOAD);
|
||||
clib_prefetch_load ((ep + 2));
|
||||
|
||||
ep = wp->entries + wp->head;
|
||||
from[0] = ep->buffer_index;
|
||||
|
Reference in New Issue
Block a user