]> git.proxmox.com Git - mirror_ovs.git/commit - NEWS
Check and allocate free qdisc queue id for ports with qos parameters
authorBabu Shanmugam <bschanmu@redhat.com>
Wed, 7 Sep 2016 06:10:11 +0000 (11:40 +0530)
committerBen Pfaff <blp@ovn.org>
Tue, 4 Oct 2016 18:03:41 +0000 (11:03 -0700)
commita6095f815ed9b8a8d4e9989179d14308c1ed112c
tree0a64c8d5cb1e2fce8b6ad77795a9472eda7c4d60
parent35f108517902c3dd85652d37a7a36e2ceb0bda42
Check and allocate free qdisc queue id for ports with qos parameters

ovn-northd processes the list of Port_Bindings and hashes the list of
queues per chassis. When it finds a port with qos_parameters and without
a queue_id, it allocates a free queue for the chassis that this port belongs.
The queue_id information is stored in the options field of Port_binding table.
Adds an action set_queue to the ingress table 0 of the logical flows
which will be translated to openflow set_queue by ovn-controller

ovn-controller opens the netdev corresponding to the tunnel interface's
status:tunnel_egress_iface value and configures a HTB qdisc on it. Then for
each SB port_binding that has queue_id set, it allocates a queue with the
qos_parameters of that port. It also frees up unused queues.

This patch replaces the older approach of policing

Signed-off-by: Babu Shanmugam <bschanmu@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
NEWS
include/ovn/actions.h
ovn/controller/binding.c
ovn/lib/actions.c
ovn/northd/ovn-northd.c
ovn/ovn-nb.xml
ovn/ovn-sb.xml
ovn/utilities/ovn-trace.c
tests/ovn.at