summaryrefslogtreecommitdiff
path: root/lib/learning-switch.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-05-12 09:58:01 -0700
committerBen Pfaff <blp@nicira.com>2011-05-12 09:58:01 -0700
commit6c1491fbd75754d2e4d5028650554f9d5d3a4958 (patch)
tree1593f6aea5ac2a851d6c8a0d06dc88cee73c3332 /lib/learning-switch.c
parent154896e3b99978317d74b5c9847fe07ec01b54b3 (diff)
downloadopenvswitch-6c1491fbd75754d2e4d5028650554f9d5d3a4958.tar.gz
Implement basic multiple table support.
This implements basic multiple table support in ofproto and supporting libraries and utilities. The design is the same as the one that has been on the Open vSwitch "wdp" branch for a long time. There is no support for multiple tables in the software switch implementation (ofproto-dpif), only a set of hooks for other switch implementations to use. To allow controllers to add flows in a particular table, Open vSwitch adds an OpenFlow 1.0 extension called NXT_FLOW_MOD_TABLE_ID.
Diffstat (limited to 'lib/learning-switch.c')
-rw-r--r--lib/learning-switch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/learning-switch.c b/lib/learning-switch.c
index dc9af7739..75e04df62 100644
--- a/lib/learning-switch.c
+++ b/lib/learning-switch.c
@@ -241,6 +241,7 @@ lswitch_process_packet(struct lswitch *sw, struct rconn *rconn,
case OFPUTIL_NXT_TUN_ID_FROM_COOKIE:
case OFPUTIL_NXT_ROLE_REQUEST:
case OFPUTIL_NXT_ROLE_REPLY:
+ case OFPUTIL_NXT_FLOW_MOD_TABLE_ID:
case OFPUTIL_NXT_SET_FLOW_FORMAT:
case OFPUTIL_NXT_FLOW_MOD:
case OFPUTIL_NXT_FLOW_REMOVED: