diff options
author | David S. Miller <davem@davemloft.net> | 2020-01-08 23:45:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-08 23:45:53 +0300 |
commit | 2f806c2a16b37ed6f90e4d9c1b14e97bb24ab0c2 (patch) | |
tree | 38df958b10b05e5d459aeec5c5bd18e6785d7a61 /include/linux/if_ether.h | |
parent | cb6f74a1ead4c5ab2431ea6dbecd1447b74f7249 (diff) | |
parent | 240ce7f6428ff5188b9eedc066e1e4d645b8635f (diff) | |
download | linux-2f806c2a16b37ed6f90e4d9c1b14e97bb24ab0c2.tar.xz |
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 'include/linux/if_ether.h')
0 files changed, 0 insertions, 0 deletions