ofproto-dpif: Make OFPP_TABLE send packet-in on miss.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 28 Aug 2012 17:19:03 +0000 (02:19 +0900)
committerBen Pfaff <blp@nicira.com>
Wed, 29 Aug 2012 20:06:05 +0000 (13:06 -0700)
commit1688c479753fa62843a15a5f0b7dc8dd9f6ead28
tree489494debac153b6956f1a0692d5e18ea0aaa25b
parent58cf43df9aa551b58970153d020728c1825f91c8
ofproto-dpif: Make OFPP_TABLE send packet-in on miss.

The OpenFlow specification for OFPP_TABLE implies that a miss
should generate a packet-in, but Open vSwitch has never done
that.  This corrects the behavior.

This also prepares for the goto-table instruction, which will
need to generate a table-miss in some circumstances.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
[blp@nicira.com rebased and updated commit message]
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c