[ovs-dev] [no-slow v2 7/8] ofproto-dpif: Don't slow-path controller actions.

Ben Pfaff blp at ovn.org
Thu Jan 11 10:20:15 UTC 2018


On Wed, Jan 10, 2018 at 02:27:25PM -0800, Justin Pettit wrote:
> Controller actions have become more commonly used for purposes other
> than just making forwarding decisions (e.g., packet logging).  A packet
> that needs to be copied to the controller and forwarded would always be
> sent to ovs-vswitchd to be handled, which could negatively affect
> performance and cause heavier CPU utilization in ovs-vswitchd.
> 
> This commit changes the behavior so that OpenFlow controller actions
> become userspace datapath actions while continuing to let packet
> forwarding and manipulation continue to be handled by the datapath
> directly.
> 
> This patch still slow-paths controller actions with the "pause" flag
> set.  A future patch will stop slow-pathing these pause actions as
> well.
> 
> Signed-off-by: Justin Pettit <jpettit at ovn.org>
> ---
> v1->v2: Changes suggested by Ben.

Looking at the updates in v2:
Acked-by: Ben Pfaff <blp at ovn.org>


More information about the dev mailing list