git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add prefix to cache line macros
[dpdk.git]
/
lib
/
librte_ip_frag
/
rte_ip_frag_common.c
diff --git
a/lib/librte_ip_frag/rte_ip_frag_common.c
b/lib/librte_ip_frag/rte_ip_frag_common.c
index
e4d16d0
..
c982d8c
100644
(file)
--- a/
lib/librte_ip_frag/rte_ip_frag_common.c
+++ b/
lib/librte_ip_frag/rte_ip_frag_common.c
@@
-87,7
+87,7
@@
rte_ip_frag_table_create(uint32_t bucket_num, uint32_t bucket_entries,
}
sz = sizeof (*tbl) + nb_entries * sizeof (tbl->pkt[0]);
}
sz = sizeof (*tbl) + nb_entries * sizeof (tbl->pkt[0]);
- if ((tbl = rte_zmalloc_socket(__func__, sz, CACHE_LINE_SIZE,
+ if ((tbl = rte_zmalloc_socket(__func__, sz,
RTE_
CACHE_LINE_SIZE,
socket_id)) == NULL) {
RTE_LOG(ERR, USER1,
"%s: allocation of %zu bytes at socket %d failed do\n",
socket_id)) == NULL) {
RTE_LOG(ERR, USER1,
"%s: allocation of %zu bytes at socket %d failed do\n",