[ovs-dev] [PATCH] ofproto-dpif-xlate: Lower missing netdev_max_backlog from WARN to INFO.
Jarno Rajahalme
jrajahalme at nicira.com
Wed Sep 9 01:22:31 UTC 2015
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>
> On Sep 8, 2015, at 4:31 PM, Ben Pfaff <blp at nicira.com> wrote:
>
> In a network namespace, /proc/sys/net/core/netdev_max_backlog is not
> present, so people running OVS inside Docker will always get a log message
> here. That's not important enough to rise to a WARN level that causes
> tests to fail, especially since the default value is rarely changed (and
> wouldn't normally be lowered), so reduce the log leve for this to INFO.
>
> Reported-by: qcorba <qcorba at gmail.com>
> Reported-at: http://openvswitch.org/pipermail/discuss/2015-August/018581.html
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
> ofproto/ofproto-dpif-xlate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
> index de5c9b1..d7ecbe3 100644
> --- a/ofproto/ofproto-dpif-xlate.c
> +++ b/ofproto/ofproto-dpif-xlate.c
> @@ -4634,7 +4634,7 @@ netdev_max_backlog(void)
>
> stream = fopen(filename, "r");
> if (!stream) {
> - VLOG_WARN("%s: open failed (%s)", filename, ovs_strerror(errno));
> + VLOG_INFO("%s: open failed (%s)", filename, ovs_strerror(errno));
> } else {
> if (fscanf(stream, "%d", &n) != 1) {
> VLOG_WARN("%s: read error", filename);
> --
> 2.1.3
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
More information about the dev
mailing list