diff options
author | 2019-03-08 09:30:39 +0100 | |
---|---|---|
committer | 2019-03-08 09:30:39 +0100 | |
commit | c87345903a3cdb7a392b4bbb0f25ed2c1b7fbd45 (patch) | |
tree | 2f371b5c14c9378c6be6853dd399f47f104a6d1e /hicn-plugin/src/data_pcslookup_node.c | |
parent | ce1429f7c9ccaf93d15cbad1b6a7a4dd0976f1a2 (diff) |
[HICN-100] When the incoming face of a data is an application face, the data is always stored in the face CS (if any)
Change-Id: I87e296caa57e04964f6f3971f37737d4c6e49c8f
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/data_pcslookup_node.c')
-rw-r--r-- | hicn-plugin/src/data_pcslookup_node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-plugin/src/data_pcslookup_node.c b/hicn-plugin/src/data_pcslookup_node.c index 231d8557e..0a5793056 100644 --- a/hicn-plugin/src/data_pcslookup_node.c +++ b/hicn-plugin/src/data_pcslookup_node.c @@ -87,7 +87,7 @@ hicn_data_pcslookup_node_fn (vlib_main_t * vm, vlib_node_runtime_t * node, { vlib_buffer_t *b1; b1 = vlib_get_buffer (vm, from[1]); - //Prefetch one cache line-- 64 byte-- so that we load the hicn_buffer_t as well + //Prefetch two cache lines-- 128 byte-- so that we load the hicn_buffer_t as well CLIB_PREFETCH (b1, 2 * CLIB_CACHE_LINE_BYTES, STORE); CLIB_PREFETCH (b1->data, CLIB_CACHE_LINE_BYTES, LOAD); } |