From: Jesper Dangaard Brouer <bro...@redhat.com>
Date: Tue, 28 Apr 2020 13:06:10 +0200

> +     /* Detect default qdisc setup/init failed and fallback to "noqueue" */
> +     if (dev->qdisc == &noop_qdisc) {
> +             netdev_warn(dev, "default qdisc (%s) fail, fallback to %s\n",
> +                         default_qdisc_ops->id, noqueue_qdisc_ops.id);
> +             dev->priv_flags |= IFF_NO_QUEUE;

What will ever clear this IFF_NO_QUEUE bit in the future so that another
attempt can be made to attach another qdisc?

An -ENOMEM failure is transient, for example, and shouldn't disable
qdiscs forever on the device.

Reply via email to