ofp-actions: Extend reg_load parsing to >64bits.
authorJoe Stringer <joestringer@nicira.com>
Thu, 24 Sep 2015 23:13:13 +0000 (16:13 -0700)
committerJoe Stringer <joestringer@nicira.com>
Tue, 13 Oct 2015 22:34:14 +0000 (15:34 -0700)
commit81270993ab95b463ffc3a7779a352ee5a6a27f21
tree93ae6831407e38fbbca68ae7b837529ac7d513f4
parent36b43aa6500124578b75a8c3cb6417201b58cce2
ofp-actions: Extend reg_load parsing to >64bits.

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@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/ofp-actions.c