ofproto-dpif-xlate: Put recirc_state, not recirc_id_node, in xlate_in.
authorBen Pfaff <blp@ovn.org>
Thu, 21 Jan 2016 00:53:01 +0000 (16:53 -0800)
committerBen Pfaff <blp@ovn.org>
Thu, 21 Jan 2016 21:51:03 +0000 (13:51 -0800)
commit29b1ea3f2e14162f11c6cd8f25a2f68a3ad754df
tree909d32fb717c570e188bd4801bc24e8c7f127159
parentaa07423103f0593e040240313f94e89ad43e674c
ofproto-dpif-xlate: Put recirc_state, not recirc_id_node, in xlate_in.

This will make it possible, in an upcoming commit, to construct a
recirc_state locally on the stack to pass to xlate_actions().  It would
also be possible to construct and pass a recirc_id_node on the stack, but
the translation process only uses the recirc_state anyway.  The alternative
here of having upcall_xlate() know that it can recover the recirc_id_node
from the recirc_state isn't great either; it's debatable which is the
better approach.

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