summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_trigger.c
diff options
context:
space:
mode:
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>2018-06-05 10:45:22 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2018-07-03 01:35:57 +0200
commitc44fbc7cc2fb6cf62956d6b5bb2c0206884ad568 (patch)
treef65f8fdacb093087e5c29a117e56eab2bf535e32 /drivers/net/mlx5/mlx5_trigger.c
parent05e0eee0001cb19671eb7e8d3dd68680a695fea2 (diff)
downloaddpdk-c44fbc7cc2fb6cf62956d6b5bb2c0206884ad568.zip
dpdk-c44fbc7cc2fb6cf62956d6b5bb2c0206884ad568.tar.gz
dpdk-c44fbc7cc2fb6cf62956d6b5bb2c0206884ad568.tar.xz
net/mlx5: clean-up developer logs
Split maintainers logs from user logs. A lot of debug logs are present providing internal information on how the PMD works to users. Such logs should not be available for them and thus should remain available only when the PMD is compiled in debug mode. This commits removes some useless debug logs, move the Maintainers ones under DEBUG and also move dump into debug mode only. Cc: stable@dpdk.org Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_trigger.c')
-rw-r--r--drivers/net/mlx5/mlx5_trigger.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c
index 3e7c0a9..4d2078b 100644
--- a/drivers/net/mlx5/mlx5_trigger.c
+++ b/drivers/net/mlx5/mlx5_trigger.c
@@ -167,8 +167,6 @@ mlx5_dev_start(struct rte_eth_dev *dev)
dev->data->port_id, strerror(rte_errno));
goto error;
}
- if (rte_log_get_level(mlx5_logtype) == RTE_LOG_DEBUG)
- mlx5_mr_dump_dev(dev);
ret = mlx5_rx_intr_vec_enable(dev);
if (ret) {
DRV_LOG(ERR, "port %u Rx interrupt vector creation failed",