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
eal: export function to get runtime directory
[dpdk.git]
/
lib
/
librte_flow_classify
/
rte_flow_classify.c
diff --git
a/lib/librte_flow_classify/rte_flow_classify.c
b/lib/librte_flow_classify/rte_flow_classify.c
index
591d98e
..
fb652a2
100644
(file)
--- a/
lib/librte_flow_classify/rte_flow_classify.c
+++ b/
lib/librte_flow_classify/rte_flow_classify.c
@@
-247,8
+247,7
@@
rte_flow_classifier_check_params(struct rte_flow_classifier_params *params)
}
/* socket */
}
/* socket */
- if ((params->socket_id < 0) ||
- (params->socket_id >= RTE_MAX_NUMA_NODES)) {
+ if (params->socket_id < 0) {
RTE_FLOW_CLASSIFY_LOG(ERR,
"%s: Incorrect value for parameter socket_id\n",
__func__);
RTE_FLOW_CLASSIFY_LOG(ERR,
"%s: Incorrect value for parameter socket_id\n",
__func__);
@@
-673,10
+672,7
@@
rte_flow_classifier_query(struct rte_flow_classifier *cls,
return ret;
}
return ret;
}
-RTE_INIT(librte_flow_classify_init_log);
-
-static void
-librte_flow_classify_init_log(void)
+RTE_INIT(librte_flow_classify_init_log)
{
librte_flow_classify_logtype =
rte_log_register("lib.flow_classify");
{
librte_flow_classify_logtype =
rte_log_register("lib.flow_classify");