nx-match: New function nxm_read_field_bits().
authorEthan Jackson <ethan@nicira.com>
Wed, 10 Aug 2011 20:32:51 +0000 (13:32 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 12 Aug 2011 22:06:53 +0000 (15:06 -0700)
commite7ba48c87d5b6441e2a3f07f3bc1a1f3633616c7
treeec4f014099ed523d982cd99226a14fc482d7a6ed
parentce523f65fc0f283269f6a697b152c089fb0a22ee
nx-match: New function nxm_read_field_bits().

nxm_read_field_bits() simplifies reading of NXM fields with an
ofs_nbits parameter.  This patch updates nxm_execute_reg_move() to
use the new function.  A user outside of the nx-match module will
be added in future patches.
lib/nx-match.c
lib/nx-match.h