]> git.proxmox.com Git - ovs.git/commit - lib/ofp-actions.c
ofp-actions: Better support OXM in Copy-Field action.
authorBen Pfaff <blp@nicira.com>
Tue, 30 Sep 2014 21:05:14 +0000 (14:05 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 7 Oct 2014 22:34:42 +0000 (15:34 -0700)
commitf13cdd7374e00afb38d56de5f5ac622c66190245
tree1b8fbd8d6a7c2c2b9cc6f7e4d4207d8faf6cda2d
parent178742f941354475c3f242c676b3e772ad5d7d9e
ofp-actions: Better support OXM in Copy-Field action.

The OpenFlow 1.5 (draft) Copy-Field action has two OXM headers, one after
the other.  Until now, Open vSwitch has implemented these as a pair of
ovs_be32 members, which meant that only 32-bit OXM could be supported.  This
commit changes the implementation to use nx_pull_header(), which means that
in the future when that function supports 64-bit experimenter OXMs,
Copy-Field will automatically get that support too.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
lib/ofp-actions.c