dpif-linux: Report packet loss as WARN instead of ERR.
authorBen Pfaff <blp@nicira.com>
Wed, 5 Sep 2012 18:02:27 +0000 (11:02 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 5 Sep 2012 20:36:35 +0000 (13:36 -0700)
Packet loss is recoverable so it doesn't warrant an ERR.

Bug #12920.
Reported-by: Scott Hendricks <shendricks@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-linux.c

index d9c50cc..a2eb490 100644 (file)
@@ -2002,7 +2002,7 @@ report_loss(struct dpif *dpif_, struct dpif_channel *ch)
     }
     ds_chomp(&s, ',');
 
-    VLOG_ERR("%s: lost packet on channel %td%s",
-             dpif_name(dpif_), ch - dpif->channels, ds_cstr(&s));
+    VLOG_WARN("%s: lost packet on channel %td%s",
+              dpif_name(dpif_), ch - dpif->channels, ds_cstr(&s));
     ds_destroy(&s);
 }