[ovs-git] [openvswitch/ovs] a6095f: Check and allocate free qdisc queue id for ports w...

GitHub noreply at github.com
Tue Oct 4 18:03:55 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: a6095f815ed9b8a8d4e9989179d14308c1ed112c
      https://github.com/openvswitch/ovs/commit/a6095f815ed9b8a8d4e9989179d14308c1ed112c
  Author: Babu Shanmugam <bschanmu at redhat.com>
  Date:   2016-10-04 (Tue, 04 Oct 2016)

  Changed paths:
    M NEWS
    M include/ovn/actions.h
    M ovn/controller/binding.c
    M ovn/lib/actions.c
    M ovn/northd/ovn-northd.c
    M ovn/ovn-nb.xml
    M ovn/ovn-sb.xml
    M ovn/utilities/ovn-trace.c
    M tests/ovn.at

  Log Message:
  -----------
  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 at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list