Re: [ovs-dev] [PATCH 06/11] nx-match: Enable parsing string representations of variable fields.

2015-06-24 Thread Jesse Gross
On Wed, Jun 24, 2015 at 12:26 PM, Ben Pfaff wrote: > On Fri, Jun 19, 2015 at 04:13:20PM -0700, Jesse Gross wrote: >> When reading in hex strings that form NXM fields, we don't need to >> enforce size constraints if the fields are variable length. >> Instead, we can set the header size based on the

Re: [ovs-dev] [PATCH 06/11] nx-match: Enable parsing string representations of variable fields.

2015-06-24 Thread Ben Pfaff
On Fri, Jun 19, 2015 at 04:13:20PM -0700, Jesse Gross wrote: > When reading in hex strings that form NXM fields, we don't need to > enforce size constraints if the fields are variable length. > Instead, we can set the header size based on the string length. > > Signed-off-by: Jesse Gross I think

[ovs-dev] [PATCH 06/11] nx-match: Enable parsing string representations of variable fields.

2015-06-19 Thread Jesse Gross
When reading in hex strings that form NXM fields, we don't need to enforce size constraints if the fields are variable length. Instead, we can set the header size based on the string length. Signed-off-by: Jesse Gross --- lib/nx-match.c | 20 ++-- 1 file changed, 18 insertions(+)