Signed-off-by: Jarno Rajahalme <jarno.rajaha...@nsn.com> --- lib/learning-switch.c | 2 ++ lib/ofp-msgs.h | 10 ++++++++++ lib/ofp-print.c | 2 ++ lib/rconn.c | 2 ++ ofproto/ofproto.c | 2 ++ 5 files changed, 18 insertions(+)
diff --git a/lib/learning-switch.c b/lib/learning-switch.c index 0e0d779..e572a34 100644 --- a/lib/learning-switch.c +++ b/lib/learning-switch.c @@ -346,6 +346,8 @@ lswitch_process_packet(struct lswitch *sw, const struct ofpbuf *msg) case OFPTYPE_PORT_MOD: case OFPTYPE_BARRIER_REQUEST: case OFPTYPE_BARRIER_REPLY: + case OFPTYPE_QUEUE_GET_CONFIG_REQUEST: + case OFPTYPE_QUEUE_GET_CONFIG_REPLY: case OFPTYPE_DESC_STATS_REQUEST: case OFPTYPE_DESC_STATS_REPLY: case OFPTYPE_FLOW_STATS_REQUEST: diff --git a/lib/ofp-msgs.h b/lib/ofp-msgs.h index 8d28ce3..808f295 100644 --- a/lib/ofp-msgs.h +++ b/lib/ofp-msgs.h @@ -192,6 +192,12 @@ enum ofpraw { /* OFPT 1.1+ (21): void. */ OFPRAW_OFPT11_BARRIER_REPLY, + /* OFPT 1.1+ (22): struct ofp11_queue_get_config_request. */ + OFPRAW_OFPT11_QUEUE_GET_CONFIG_REQUEST, + + /* OFPT 1.1+ (23): struct ofp11_queue_get_config_reply, struct ofp_packet_queue[]. */ + OFPRAW_OFPT11_QUEUE_GET_CONFIG_REPLY, + /* OFPT 1.3+ (26): void. */ OFPRAW_OFPT13_GET_ASYNC_REQUEST, /* OFPT 1.3+ (27): struct ofp13_async_config. */ @@ -458,6 +464,10 @@ enum ofptype { OFPTYPE_BARRIER_REPLY, /* OFPRAW_OFPT10_BARRIER_REPLY. * OFPRAW_OFPT11_BARRIER_REPLY. */ + /* Queue Configuration messages. */ + OFPTYPE_QUEUE_GET_CONFIG_REQUEST, /* OFPRAW_OFPT11_QUEUE_GET_CONFIG_REQUEST. */ + OFPTYPE_QUEUE_GET_CONFIG_REPLY, /* OFPRAW_OFPT11_QUEUE_GET_CONFIG_REPLY. */ + /* Asynchronous message configuration. */ OFPTYPE_GET_ASYNC_REQUEST, /* OFPRAW_OFPT13_GET_ASYNC_REQUEST. */ OFPTYPE_GET_ASYNC_REPLY, /* OFPRAW_OFPT13_GET_ASYNC_REPLY. */ diff --git a/lib/ofp-print.c b/lib/ofp-print.c index fcc6d25..84c37cf 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -1817,6 +1817,8 @@ ofp_to_string__(const struct ofp_header *oh, enum ofpraw raw, switch (ofptype_from_ofpraw(raw)) { /* FIXME: Change the following once they are implemented: */ + case OFPTYPE_QUEUE_GET_CONFIG_REQUEST: + case OFPTYPE_QUEUE_GET_CONFIG_REPLY: case OFPTYPE_GET_ASYNC_REQUEST: case OFPTYPE_GET_ASYNC_REPLY: case OFPTYPE_METER_MOD: diff --git a/lib/rconn.c b/lib/rconn.c index 2396e44..c9163c5 100644 --- a/lib/rconn.c +++ b/lib/rconn.c @@ -1122,6 +1122,8 @@ is_admitted_msg(const struct ofpbuf *b) case OFPTYPE_GET_CONFIG_REPLY: case OFPTYPE_SET_CONFIG: /* FIXME: Change the following once they are implemented: */ + case OFPTYPE_QUEUE_GET_CONFIG_REQUEST: + case OFPTYPE_QUEUE_GET_CONFIG_REPLY: case OFPTYPE_GET_ASYNC_REQUEST: case OFPTYPE_GET_ASYNC_REPLY: case OFPTYPE_METER_MOD: diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 1130eb7..181d70b 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -4102,6 +4102,7 @@ handle_openflow__(struct ofconn *ofconn, const struct ofpbuf *msg) return handle_flow_monitor_request(ofconn, oh); /* FIXME: Change the following once they are implemented: */ + case OFPTYPE_QUEUE_GET_CONFIG_REQUEST: case OFPTYPE_GET_ASYNC_REQUEST: case OFPTYPE_METER_MOD: case OFPTYPE_GROUP_REQUEST: @@ -4121,6 +4122,7 @@ handle_openflow__(struct ofconn *ofconn, const struct ofpbuf *msg) case OFPTYPE_FLOW_REMOVED: case OFPTYPE_PORT_STATUS: case OFPTYPE_BARRIER_REPLY: + case OFPTYPE_QUEUE_GET_CONFIG_REPLY: case OFPTYPE_DESC_STATS_REPLY: case OFPTYPE_FLOW_STATS_REPLY: case OFPTYPE_QUEUE_STATS_REPLY: -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev