[ovs-discuss] does openvswitch leverage the linux qdisc?

Ben Pfaff blp at ovn.org
Wed Jan 4 15:56:14 UTC 2017

On Wed, Jan 04, 2017 at 09:24:57PM +0800, Shiyao Ma wrote:
> I am noob to openvswitch,  but I guess as a `switch', it somehow has some qdisc on its queue (that is connected to the out port).
> Linux provides different qdisc for traffic shaping, like htb, red.
> My question is, does openvswitch take use of the linux qdisc? I mean the code reside under https://github.com/torvalds/linux/tree/master/net/sched

OVS sends and receives packets through network devices, which have their
own qdiscs, and therefore it uses those qdiscs.

> Also, in the openvswitch code base, what's the related c file for implementing qdisc?

There is none, because OVS doesn't implement its own qdiscs.

More information about the discuss mailing list