summaryrefslogtreecommitdiff
path: root/drivers/compress
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2018-07-11 07:38:44 +0100
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2018-07-24 01:48:10 +0200
commit23edc362ff53b190b1a4ca0abf5619a5d45bac5a (patch)
tree94bf92e73322a6a4864607319d40011ca0c2df21 /drivers/compress
parent6a000343ed2be981337e990cff717e9cb7de13f2 (diff)
downloaddpdk-next-eventdev-23edc362ff53b190b1a4ca0abf5619a5d45bac5a.zip
dpdk-next-eventdev-23edc362ff53b190b1a4ca0abf5619a5d45bac5a.tar.gz
dpdk-next-eventdev-23edc362ff53b190b1a4ca0abf5619a5d45bac5a.tar.xz
compress/isal: fix log type name
There is a naming convention for logtypes of PMDs: "pmd.driverType.driverName". Therefore, the logtype for ISA-L PMD should be "pmd.compress.isal". Fixes: 490e725b95b2 ("compress/isal: add device init and de-init") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Lee Daly <lee.daly@intel.com>
Diffstat (limited to 'drivers/compress')
-rw-r--r--drivers/compress/isal/isal_compress_pmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/compress/isal/isal_compress_pmd.c b/drivers/compress/isal/isal_compress_pmd.c
index be8b92f..5966cc3 100644
--- a/drivers/compress/isal/isal_compress_pmd.c
+++ b/drivers/compress/isal/isal_compress_pmd.c
@@ -494,7 +494,7 @@ RTE_PMD_REGISTER_PARAM_STRING(COMPDEV_NAME_ISAL_PMD,
RTE_INIT(isal_init_log)
{
- isal_logtype_driver = rte_log_register("comp_isal");
+ isal_logtype_driver = rte_log_register("pmd.compress.isal");
if (isal_logtype_driver >= 0)
rte_log_set_level(isal_logtype_driver, RTE_LOG_INFO);
}