nx-match: New helpers.
authorEthan Jackson <ethan@nicira.com>
Tue, 19 Jul 2011 22:47:02 +0000 (15:47 -0700)
committerEthan Jackson <ethan@nicira.com>
Sat, 23 Jul 2011 00:46:48 +0000 (17:46 -0700)
commit43edca5717cf389eb87850abbf30efc738049921
treec2293c82bd2c7753e878afe45b66669880211f74
parent711e0157cf345f1473247ec90c6ff39eb9f7743c
nx-match: New helpers.

This patch creates two new helper functions, nxm_reg_load() and
nxm_dst_check().  The new nxm_dst_check() function may be used to
check the validity of destination fields used by actions.  The new
nxm_reg_load() function may be used by actions which need to write
to NXM fields.

This patch also allows multipath and autopath to write their result
to non-register NXM fields.
include/openflow/nicira-ext.h
lib/autopath.c
lib/autopath.h
lib/multipath.c
lib/multipath.h
lib/nx-match.c
lib/nx-match.h
lib/ofp-util.c
tests/autopath.at
tests/multipath.at
utilities/ovs-ofctl.8.in