diff mbox

[ovs-dev,11/13] netdev-dpdk: Change vlog module name to 'netdev_dpdk'.

Message ID 20161005012224.107729-12-diproiettod@vmware.com
State Accepted
Headers show

Commit Message

Daniele Di Proietto Oct. 5, 2016, 1:22 a.m. UTC
It is customary to have the vlog module name similar to the filename.
Plus a following commit will introduce a 'dpdk' module.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
---
 lib/netdev-dpdk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Pfaff Oct. 12, 2016, 8:27 p.m. UTC | #1
On Tue, Oct 04, 2016 at 06:22:22PM -0700, Daniele Di Proietto wrote:
> It is customary to have the vlog module name similar to the filename.
> Plus a following commit will introduce a 'dpdk' module.
> 
> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>

Acked-by: Ben Pfaff <blp@ovn.org>
diff mbox

Patch

diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index fcc4635..8bfd110 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -62,7 +62,7 @@ 
 #endif
 #include "rte_virtio_net.h"
 
-VLOG_DEFINE_THIS_MODULE(dpdk);
+VLOG_DEFINE_THIS_MODULE(netdev_dpdk);
 static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(5, 20);
 
 #define DPDK_PORT_WATCHDOG_INTERVAL 5