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 d9c50ccdf5f0d35738d0492a2abcb39d917798da..a2eb490a60d059b86eefb0c1f566a6bf918ad36a 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);
 }