kni: update log messages

Remove some function entrance logs and changed log level of some logs.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Ferruh Yigit 2016-09-26 16:39:36 +01:00 committed by Thomas Monjalon
parent f13fbc033a
commit e4728a1cfa
2 changed files with 2 additions and 9 deletions

View File

@ -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);

View File

@ -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);