diff options
Diffstat (limited to 'include/openflow/openflow-common.h')
-rw-r--r-- | include/openflow/openflow-common.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/openflow/openflow-common.h b/include/openflow/openflow-common.h index 81f9120cc..f152718f5 100644 --- a/include/openflow/openflow-common.h +++ b/include/openflow/openflow-common.h @@ -209,29 +209,6 @@ enum ofp_port_features { OFPPF_10GB_FD = 1 << 6, /* 10 Gb full-duplex rate support. */ }; -enum ofp_queue_properties { - OFPQT_MIN_RATE = 1, /* Minimum datarate guaranteed. */ - OFPQT_MAX_RATE = 2, /* Maximum guaranteed rate. */ - OFPQT_EXPERIMENTER = 0xffff, /* Experimenter defined property. */ -}; - -/* Common description for a queue. */ -struct ofp_queue_prop_header { - ovs_be16 property; /* One of OFPQT_. */ - ovs_be16 len; /* Length of property, including this header. */ - uint8_t pad[4]; /* 64-bit alignemnt. */ -}; -OFP_ASSERT(sizeof(struct ofp_queue_prop_header) == 8); - -/* Min-Rate and Max-Rate queue property description (OFPQT_MIN and - * OFPQT_MAX). */ -struct ofp_queue_prop_rate { - struct ofp_queue_prop_header prop_header; - ovs_be16 rate; /* In 1/10 of a percent; >1000 -> disabled. */ - uint8_t pad[6]; /* 64-bit alignment */ -}; -OFP_ASSERT(sizeof(struct ofp_queue_prop_rate) == 16); - /* Switch features. */ struct ofp_switch_features { ovs_be64 datapath_id; /* Datapath unique ID. The lower 48-bits are for |