You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Call the "tc qdisc" command for ingress qdisc without parent
The "tc qdisc" command to create an ingress qdisc does not require
to define a parent qdisc [1]. The ingress qdisc "differs from other
qdiscs in that it does not occupy the root of a device".
The previous command was replacing the default root egress qdisc:
root@dev20:~# ip netns exec ns01 tc qdisc show
qdisc noqueue 0: dev dummy root refcnt 2
This operation is now not permitted with the new kernel.
This patch is also changing how the TC funtional tests interact with
the namespace interface created. Now the interface is set to UP before
the test starts. That changes the "tc qdisc show" command because now
the default qdisc (see the aforementioned CLI output) is now present,
as it should be in a live environment (where the interfaces are UP).
Closes-Bug: #2034540
[1]https://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.adv-qdisc.ingress.html
Conflicts:
neutron/tests/functional/privileged/agent/linux/test_tc_lib.py
Change-Id: I2f8130dc3cf3244be2a44a4ecbdbaa9c7f865731
(cherry picked from commit 8cba9a2)
(cherry picked from commit 37d09f9)
0 commit comments