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
net/mlx5: make tunnel hub list thread safe
[dpdk.git]
/
lib
/
librte_bpf
/
bpf.c
diff --git
a/lib/librte_bpf/bpf.c
b/lib/librte_bpf/bpf.c
index
7e1879f
..
8d15885
100644
(file)
--- a/
lib/librte_bpf/bpf.c
+++ b/
lib/librte_bpf/bpf.c
@@
-14,8
+14,6
@@
#include "bpf_impl.h"
#include "bpf_impl.h"
-int rte_bpf_logtype;
-
void
rte_bpf_destroy(struct rte_bpf *bpf)
{
void
rte_bpf_destroy(struct rte_bpf *bpf)
{
@@
-55,9
+53,4
@@
bpf_jit(struct rte_bpf *bpf)
return rc;
}
return rc;
}
-RTE_INIT(rte_bpf_init_log)
-{
- rte_bpf_logtype = rte_log_register("lib.bpf");
- if (rte_bpf_logtype >= 0)
- rte_log_set_level(rte_bpf_logtype, RTE_LOG_INFO);
-}
+RTE_LOG_REGISTER(rte_bpf_logtype, lib.bpf, INFO);