]> git.proxmox.com Git - ovs.git/commit - tests/ofproto.at
lib: Retire packet buffering feature.
authorJarno Rajahalme <jarno@ovn.org>
Tue, 30 Aug 2016 17:20:51 +0000 (10:20 -0700)
committerJarno Rajahalme <jarno@ovn.org>
Tue, 30 Aug 2016 17:20:51 +0000 (10:20 -0700)
commitc184807ced554c1dc7b69b3cd4f59cd85575fdf1
tree8a477f382ec8b177ea7a436753933efc8ede606c
parent88e62998a2db1f8c9f3df2ef9f8d0cf8a2277262
lib: Retire packet buffering feature.

OVS implementation of buffering packets that are sent to the
controller is not compliant with the OpenFlow specifications after
OpenFlow 1.0, which is possibly true since OpenFlow 1.0 is not really
specifying the packet buffering behavior.

OVS implementation executes the buffered packet against the actions of
the modified or added rule, whereas OpenFlow (since 1.1) specifies
that the packet should be matched against the flow table 0 and
processed accordingly.

Rather than fix this behavior, and potentially break OVS users, the
packet buffering feature is removed altogether.  After all, such
packet buffering is an optional OpenFlow feature, and as such any
possible users should continue to work without this feature.

This patch also makes OVS check the received 'buffer_id' values more
rigorously, and fixes some internal users accordingly.

Found by inspection.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
16 files changed:
FAQ.md
include/openvswitch/ofp-util.h
lib/automake.mk
lib/ofp-util.c
lib/pktbuf.c [deleted file]
lib/pktbuf.h [deleted file]
ofproto/bundles.c
ofproto/connmgr.c
ofproto/connmgr.h
ofproto/fail-open.c
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
tests/ofproto.at
tutorial/OVN-Tutorial.md
vswitchd/ovs-vswitchd.8.in