From: Ferruh Yigit Date: Mon, 26 Sep 2016 15:39:36 +0000 (+0100) Subject: kni: update log messages X-Git-Tag: spdx-start~5583 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e4728a1cfadad33a0934d4c8c00933d31667f331;p=dpdk.git kni: update log messages Remove some function entrance logs and changed log level of some logs. Signed-off-by: Ferruh Yigit --- diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni/kni_misc.c index bc43e5f6e8..a0b819956c 100644 --- a/lib/librte_eal/linuxapp/kni/kni_misc.c +++ b/lib/librte_eal/linuxapp/kni/kni_misc.c @@ -616,8 +616,6 @@ kni_init(void) { int rc; - pr_debug("######## DPDK kni module loading ########\n"); - if (kni_parse_kthread_mode() < 0) { pr_err("Invalid parameter for kthread_mode\n"); return -EINVAL; @@ -645,8 +643,6 @@ kni_init(void) /* Configure the lo mode according to the input parameter */ kni_net_config_lo_mode(lo_mode); - pr_debug("######## DPDK kni module loaded ########\n"); - return 0; out: @@ -667,7 +663,6 @@ kni_exit(void) #else unregister_pernet_gen_subsys(kni_net_id, &kni_net_ops); #endif - pr_debug("####### DPDK kni module unloaded #######\n"); } module_init(kni_init); diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/lib/librte_eal/linuxapp/kni/kni_net.c index dfc6b3708d..e9df9ec6dc 100644 --- a/lib/librte_eal/linuxapp/kni/kni_net.c +++ b/lib/librte_eal/linuxapp/kni/kni_net.c @@ -586,8 +586,8 @@ kni_net_tx_timeout(struct net_device *dev) static int kni_net_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) { - pr_debug("kni_net_ioctl %d\n", - ((struct kni_dev *)netdev_priv(dev))->group_id); + pr_debug("kni_net_ioctl group:%d cmd:%d\n", + ((struct kni_dev *)netdev_priv(dev))->group_id, cmd); return 0; } @@ -730,8 +730,6 @@ kni_net_init(struct net_device *dev) { struct kni_dev *kni = netdev_priv(dev); - pr_debug("kni_net_init\n"); - init_waitqueue_head(&kni->wq); mutex_init(&kni->sync_lock);