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
app/crypto-perf: support lookaside IPsec
[dpdk.git]
/
lib
/
efd
/
rte_efd.c
diff --git
a/lib/efd/rte_efd.c
b/lib/efd/rte_efd.c
index
77f4680
..
86ef468
100644
(file)
--- a/
lib/efd/rte_efd.c
+++ b/
lib/efd/rte_efd.c
@@
-495,7
+495,7
@@
efd_search_hash(struct rte_efd_table * const table,
struct rte_efd_table *
rte_efd_create(const char *name, uint32_t max_num_rules, uint32_t key_len,
struct rte_efd_table *
rte_efd_create(const char *name, uint32_t max_num_rules, uint32_t key_len,
- uint
8
_t online_cpu_socket_bitmask, uint8_t offline_cpu_socket)
+ uint
64
_t online_cpu_socket_bitmask, uint8_t offline_cpu_socket)
{
struct rte_efd_table *table = NULL;
uint8_t *key_array = NULL;
{
struct rte_efd_table *table = NULL;
uint8_t *key_array = NULL;
@@
-759,7
+759,7
@@
rte_efd_free(struct rte_efd_table *table)
efd_list = RTE_TAILQ_CAST(rte_efd_tailq.head, rte_efd_list);
rte_mcfg_tailq_write_lock();
efd_list = RTE_TAILQ_CAST(rte_efd_tailq.head, rte_efd_list);
rte_mcfg_tailq_write_lock();
- TAILQ_FOREACH_SAFE(te, efd_list, next, temp) {
+
RTE_
TAILQ_FOREACH_SAFE(te, efd_list, next, temp) {
if (te->data == (void *) table) {
TAILQ_REMOVE(efd_list, te, next);
rte_free(te);
if (te->data == (void *) table) {
TAILQ_REMOVE(efd_list, te, next);
rte_free(te);