]> git.proxmox.com Git - mirror_ovs.git/commit - ofproto/ofproto-dpif.h
ofproto-dpif: Add boottime support field.
authorAndy Zhou <azhou@ovn.org>
Sat, 17 Jun 2017 06:39:31 +0000 (23:39 -0700)
committerAndy Zhou <azhou@ovn.org>
Thu, 3 Aug 2017 19:38:32 +0000 (12:38 -0700)
commit88186383f36ca4e3708c9737f43c5e8908cd58d8
tree84bd9e86ade99ebab622d1520629ec86b8bb5644
parent18e5d1a81961786b42a986960059e319dd6a1c9a
ofproto-dpif: Add boottime support field.

When changing support fields, it may be unsafe to set support level
beyond what datapath can support.

This patch introduce the notion of boot time support and
runtime support fields. Boot time support are set only
once during ofproto start up phase, and not changed during
runtime. The runtime support fields are the same as boot time
support fields at the startup time, but can be changed via
the 'ovs-appctl' command.  However, each change will
be checked against the corresponding boot time support field. Only
feature reduction from the boot time support is allowed.

Signed-off-by: Andy Zhou <azhou@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
ofproto/bond.c
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif-xlate.h
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h