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/af_xdp: allow bigger batch sizes
[dpdk.git]
/
drivers
/
raw
/
dpaa2_cmdif
/
dpaa2_cmdif.c
diff --git
a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
index
7c21c6a
..
c7bddbc
100644
(file)
--- a/
drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
+++ b/
drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
@@
-20,9
+20,6
@@
#include "dpaa2_cmdif_logs.h"
#include "rte_pmd_dpaa2_cmdif.h"
#include "dpaa2_cmdif_logs.h"
#include "rte_pmd_dpaa2_cmdif.h"
-/* Dynamic log type identifier */
-int dpaa2_cmdif_logtype;
-
/* CMDIF driver name */
#define DPAA2_CMDIF_PMD_NAME dpaa2_dpci
/* CMDIF driver name */
#define DPAA2_CMDIF_PMD_NAME dpaa2_dpci
@@
-291,10
+288,4
@@
static struct rte_vdev_driver dpaa2_cmdif_drv = {
};
RTE_PMD_REGISTER_VDEV(DPAA2_CMDIF_PMD_NAME, dpaa2_cmdif_drv);
};
RTE_PMD_REGISTER_VDEV(DPAA2_CMDIF_PMD_NAME, dpaa2_cmdif_drv);
-
-RTE_INIT(dpaa2_cmdif_init_log)
-{
- dpaa2_cmdif_logtype = rte_log_register("pmd.raw.dpaa2.cmdif");
- if (dpaa2_cmdif_logtype >= 0)
- rte_log_set_level(dpaa2_cmdif_logtype, RTE_LOG_INFO);
-}
+RTE_LOG_REGISTER(dpaa2_cmdif_logtype, pmd.raw.dpaa2.cmdif, INFO);