[ovs-dev] [PATCH branch-2.3 1/2] ofproto-dpif-xlate: Make xlate_actions() caller supply action buffer.

Ben Pfaff blp at ovn.org
Thu Feb 4 18:27:18 UTC 2016


On Wed, Feb 03, 2016 at 12:33:00PM -0800, Jarno Rajahalme wrote:
> From: Ben Pfaff <blp at nicira.com>
> 
> Until now, struct xlate_out has embedded an ofpbuf for actions and a
> large stub for it, which xlate_actions() filled in during the flow
> translation process.  This commit removes the embedded ofpbuf and
> stub, instead putting a pointer to an ofpbuf into struct xlate_in, for
> a caller to fill in with a pointer to its own structure if desired.
> (If none is supplied, xlate_actions() uses an internal scratch buffer
> and destroys it before returning.)
> 
> This patch is a backport of commit 1520ef4 to branch-2.3.
> 
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> Signed-off-by: Jarno Rajahalme <jarno at ovn.org>

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list