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/bonding: check flow setting
[dpdk.git]
/
drivers
/
compress
/
zlib
/
zlib_pmd.c
diff --git
a/drivers/compress/zlib/zlib_pmd.c
b/drivers/compress/zlib/zlib_pmd.c
index
e39be2e
..
0220c6d
100644
(file)
--- a/
drivers/compress/zlib/zlib_pmd.c
+++ b/
drivers/compress/zlib/zlib_pmd.c
@@
-7,8
+7,6
@@
#include "zlib_pmd_private.h"
#include "zlib_pmd_private.h"
-int zlib_logtype_driver;
-
/** Compute next mbuf in the list, assign data buffer and length,
* returns 0 if mbuf is NULL
*/
/** Compute next mbuf in the list, assign data buffer and length,
* returns 0 if mbuf is NULL
*/
@@
-428,10
+426,4
@@
static struct rte_vdev_driver zlib_pmd_drv = {
};
RTE_PMD_REGISTER_VDEV(COMPRESSDEV_NAME_ZLIB_PMD, zlib_pmd_drv);
};
RTE_PMD_REGISTER_VDEV(COMPRESSDEV_NAME_ZLIB_PMD, zlib_pmd_drv);
-
-RTE_INIT(zlib_init_log)
-{
- zlib_logtype_driver = rte_log_register("pmd.compress.zlib");
- if (zlib_logtype_driver >= 0)
- rte_log_set_level(zlib_logtype_driver, RTE_LOG_INFO);
-}
+RTE_LOG_REGISTER_DEFAULT(zlib_logtype_driver, INFO);