mirror of
https://github.com/openvswitch/ovs
synced 2025-10-17 14:28:02 +00:00
ovs-controller: Improve QoS abilities.
This makes it a little easier to test Open vSwitch QoS features using ovs-controller, by making it possible to assign queues on the basis of input port, instead of just allowing a single queue for a whole switch. CC: Michael Mao <mmao@nicira.com>
This commit is contained in:
@@ -46,9 +46,12 @@ struct lswitch_config {
|
||||
* requests to set up the flow table. */
|
||||
const struct ofpbuf *default_flows;
|
||||
|
||||
/* The OpenFlow queue used by packets and flows set up by 'sw'. Use
|
||||
* UINT32_MAX to avoid specifying a particular queue. */
|
||||
uint32_t queue_id;
|
||||
/* The OpenFlow queue to use by default. Use UINT32_MAX to avoid
|
||||
* specifying a particular queue. */
|
||||
uint32_t default_queue;
|
||||
|
||||
/* Maps from a port name to a queue_id (cast to void *). */
|
||||
const struct shash *port_queues;
|
||||
};
|
||||
|
||||
struct lswitch *lswitch_create(struct rconn *, const struct lswitch_config *);
|
||||
|
Reference in New Issue
Block a user