]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ip_frag/rte_ip_frag_common.c
ixgbe/base: fix typos
[dpdk.git] / lib / librte_ip_frag / rte_ip_frag_common.c
index acd1864eace112e8094f4614826aa1ffbd45e46c..c982d8cc7c8671430919f67699741aff8cbf675d 100644 (file)
  */
 
 #include <stddef.h>
  */
 
 #include <stddef.h>
-#include <stdint.h>
 #include <stdio.h>
 
 #include <rte_memory.h>
 #include <rte_log.h>
 #include <stdio.h>
 
 #include <rte_memory.h>
 #include <rte_log.h>
-#include <rte_byteorder.h>
 
 
-#include "rte_ip_frag.h"
 #include "ip_frag_common.h"
 
 #define        IP_FRAG_HASH_FNUM       2
 #include "ip_frag_common.h"
 
 #define        IP_FRAG_HASH_FNUM       2
@@ -90,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",