Hello All,

The following steps seem to reset the QoS configuration on the netdevice
when added to ovs bridge:

*sudo ip link add dummy0 type dummy*
*sudo tc qdisc add dev dummy0 root handle 1: htb default 1*
*sudo ovs-vsctl add-port global_fwbr dummy0*

i.e. when a port with linux htb config having qdisc "1:" is added to ovs
bridge, the qdisc is reset to its default type ('noqueue').

*However, this is only true for qdisc "1:" and not for any other qdiscs.*

On further checking the code, it looks like *netdev_linux_set_qos* eventually
calls tc_del_qdisc for this port due to a mismatch in *new_ops* and
*netdev->tc->ops.*

And eventhough the description of *tc_del_qdisc* says that it's equivalent
to `tc qdisc del dev <name> root`, it seems to only delete the qdisc with
handle "1:0" and nothing else.

*Could you please suggest if it is a valid configuration to have a port
with its own linux htb configuration to be enslaved into an ovs bridge
while the configs remain intact?*

Thanks in advance!

Thanks,
Reshma
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to