[ovs-dev] [PATCHv4 02/11] ofp-actions: Extend reg_load parsing to >64bits.

Joe Stringer joestringer at nicira.com
Tue Oct 6 01:34:20 UTC 2015


On 5 October 2015 at 15:27, Ben Pfaff <blp at nicira.com> wrote:
> On Fri, Oct 02, 2015 at 02:16:09PM -0700, Joe Stringer wrote:
>> Previously, reg_load would only understand 64-bit values passed to it.
>> This patch extends the parsing to handle larger fields, if they are
>> specified in hexadecimal. Internally they are stored as a single action,
>> but they are converted into multiple 64-bit modifications when
>> re-serialised.
>>
>> Signed-off-by: Joe Stringer <joestringer at nicira.com>
>> ---
>> v4: Reduce change to allowing >64bit values to be specified in hex.
>
> Would you mind adding a test that exercises a >64 bit example, at least
> to demonstrate that it is parsed and formatted correctly?

Sure. I was using a test that is added later with the ct_label
support, but IPv6 should be able to be handled in a similar manner.

> Acked-by: Ben Pfaff <blp at nicira.com>

Thanks!



More information about the dev mailing list