Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2c25a62
)
dpdk: prefetch 2nd cacheline of rte_mbuf during tx
22/7522/2
author
Damjan Marion
<damarion@cisco.com>
Tue, 11 Jul 2017 15:13:37 +0000
(17:13 +0200)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Wed, 12 Jul 2017 10:14:10 +0000
(10:14 +0000)
Change-Id: I0db02dd0147dbd47d4296fdb84280d0e7d321f3c
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/plugins/dpdk/device/device.c
patch
|
blob
|
history
diff --git
a/src/plugins/dpdk/device/device.c
b/src/plugins/dpdk/device/device.c
index
c68ecbd
..
8801bfd
100644
(file)
--- a/
src/plugins/dpdk/device/device.c
+++ b/
src/plugins/dpdk/device/device.c
@@
-307,7
+307,7
@@
dpdk_prefetch_buffer_by_index (vlib_main_t * vm, u32 bi)
struct rte_mbuf *mb;
b = vlib_get_buffer (vm, bi);
mb = rte_mbuf_from_vlib_buffer (b);
- CLIB_PREFETCH (mb,
CLIB_CACHE_LINE_BYTES, LOAD
);
+ CLIB_PREFETCH (mb,
2 * CLIB_CACHE_LINE_BYTES, STORE
);
CLIB_PREFETCH (b, CLIB_CACHE_LINE_BYTES, LOAD);
}