Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
build: archive make install-ext-deps build logs in ci
[vpp.git]
/
src
/
plugins
/
nsim
/
nsim_input.c
diff --git
a/src/plugins/nsim/nsim_input.c
b/src/plugins/nsim/nsim_input.c
index
6b8bfee
..
889d9c9
100644
(file)
--- a/
src/plugins/nsim/nsim_input.c
+++ b/
src/plugins/nsim/nsim_input.c
@@
-17,7
+17,6
@@
#include <vlib/vlib.h>
#include <vnet/vnet.h>
#include <vlib/vlib.h>
#include <vnet/vnet.h>
-#include <vnet/pg/pg.h>
#include <vppinfra/error.h>
#include <nsim/nsim.h>
#include <vppinfra/error.h>
#include <nsim/nsim.h>
@@
-95,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)
{
/* 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;
ep = wp->entries + wp->head;
from[0] = ep->buffer_index;
@@
-127,7
+126,6
@@
VLIB_NODE_FN (nsim_input_node) (vlib_main_t * vm, vlib_node_runtime_t * node,
}
}
-/* *INDENT-OFF* */
#ifndef CLIB_MARCH_VARIANT
VLIB_REGISTER_NODE (nsim_input_node) =
{
#ifndef CLIB_MARCH_VARIANT
VLIB_REGISTER_NODE (nsim_input_node) =
{
@@
-143,7
+141,6
@@
VLIB_REGISTER_NODE (nsim_input_node) =
.error_strings = nsim_tx_error_strings,
};
#endif /* CLIB_MARCH_VARIANT */
.error_strings = nsim_tx_error_strings,
};
#endif /* CLIB_MARCH_VARIANT */
-/* *INDENT-ON* */
/*
* fd.io coding-style-patch-verification: ON
/*
* fd.io coding-style-patch-verification: ON