diff options
author | 2020-01-08 12:45:53 -0800 | |
---|---|---|
committer | 2020-01-08 12:45:53 -0800 | |
commit | 2f806c2a16b37ed6f90e4d9c1b14e97bb24ab0c2 (patch) | |
tree | 38df958b10b05e5d459aeec5c5bd18e6785d7a61 /drivers/net/macvlan.c | |
parent | MAINTAINERS: Remove myself as co-maintainer for qcom-ethqos (diff) | |
parent | net: sch_prio: When ungrafting, replace with FIFO (diff) | |
download | linux-2f806c2a16b37ed6f90e4d9c1b14e97bb24ab0c2.tar.gz linux-2f806c2a16b37ed6f90e4d9c1b14e97bb24ab0c2.tar.bz2 linux-2f806c2a16b37ed6f90e4d9c1b14e97bb24ab0c2.zip |
Merge branch 'net-ungraft-prio'
Petr Machata says:
====================
When ungrafting from PRIO, replace child with FIFO
When a child Qdisc is removed from one of the PRIO Qdisc's bands, it is
replaced unconditionally by a NOOP qdisc. As a result, any traffic hitting
that band gets dropped. That is incorrect--no Qdisc was explicitly added
when PRIO was created, and after removal, none should have to be added
either.
In patch #2, this problem is fixed for PRIO by first attempting to create a
default Qdisc and only falling back to noop when that fails. This pattern
of attempting to create an invisible FIFO, using NOOP only as a fallback,
is also seen in some other Qdiscs.
The only driver currently offloading PRIO (and thus presumably the only one
impacted by this) is mlxsw. Therefore patch #1 extends mlxsw to handle the
replacement by an invisible FIFO gracefully.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions