[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200423082804.6235b084@hermes.lan>
Date: Thu, 23 Apr 2020 08:28:58 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: netdev@...r.kernel.org,
Ilias Apalodimas <ilias.apalodimas@...aro.org>,
Toke Høiland-Jørgensen <toke@...hat.com>,
ruxandra.radulescu@....com, ioana.ciornei@....com,
nipun.gupta@....com, shawnguo@...nel.org
Subject: Re: [PATCH net-next 2/2] dpaa2-eth: fix return codes used in
ndo_setup_tc
On Thu, 23 Apr 2020 16:57:50 +0200
Jesper Dangaard Brouer <brouer@...hat.com> wrote:
> Drivers ndo_setup_tc call should return -EOPNOTSUPP, when it cannot
> support the qdisc type. Other return values will result in failing the
> qdisc setup. This lead to qdisc noop getting assigned, which will
> drop all TX packets on the interface.
>
> Fixes: ab1e6de2bd49 ("dpaa2-eth: Add mqprio support")
> Signed-off-by: Jesper Dangaard Brouer <brouer@...hat.com>
Would it be possible to use extack as well?
Putting errors in dmesg is unhelpful
Powered by blists - more mailing lists