ofproto-dpif-rid: Use array instead of ofpbuf for recirc_state stack.
authorBen Pfaff <blp@ovn.org>
Thu, 21 Jan 2016 00:47:14 +0000 (16:47 -0800)
committerBen Pfaff <blp@ovn.org>
Thu, 21 Jan 2016 00:47:22 +0000 (16:47 -0800)
commit5c1b231450df9e9681b7fb233217ee2f6199c11d
treeffc38ccf36f793b982fa7a2771a2c3bebb3a23b9
parent86c2eb45fd82d7e12436a8d692a524729420fe30
ofproto-dpif-rid: Use array instead of ofpbuf for recirc_state stack.

In my opinion, this makes better sense for the stack, because it's not
a packet or a collection of bytes, it's an array of struct mf_subvalue.
(I left it as an ofpbuf for accumulating stack entries during
translation, because the automatic reallocation and especially the stub
support there is helpful.)

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
ofproto/ofproto-dpif-rid.c
ofproto/ofproto-dpif-rid.h
ofproto/ofproto-dpif-xlate.c