Re: [ovs-dev] [PATCH 1/2] nx-match: New function nxm_read_field_bits().

2011-08-11 Thread Ethan Jackson
sure no problem. Ethan On Thu, Aug 11, 2011 at 21:44, Ben Pfaff wrote: > On Thu, Aug 11, 2011 at 07:47:27PM -0700, Ethan Jackson wrote: >> This patch also fixes a bug introduced in Commit 43edca57 >> "nx-match: New helpers.", which caused the "move" action to >> improperly handle bit ranges. > >

Re: [ovs-dev] [PATCH 1/2] nx-match: New function nxm_read_field_bits().

2011-08-11 Thread Ben Pfaff
On Thu, Aug 11, 2011 at 07:47:27PM -0700, Ethan Jackson wrote: > This patch also fixes a bug introduced in Commit 43edca57 > "nx-match: New helpers.", which caused the "move" action to > improperly handle bit ranges. I assume that a minimal fix would be much shorter? Would you mind writing that u

[ovs-dev] [PATCH 1/2] nx-match: New function nxm_read_field_bits().

2011-08-11 Thread Ethan Jackson
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. This patch also fixes a bug introduced in Commit 43edca57 "nx-match: New h