mirror of
https://github.com/openvswitch/ovs
synced 2025-10-21 14:49:41 +00:00
nicira-ext: Clarify behavior of overlapping src and dst for NXAST_REG_MOVE.
Reported-by: Pankaj Thakkar <thakkar@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -502,6 +502,10 @@ OFP_ASSERT(sizeof(struct nx_action_pop_queue) == 16);
|
|||||||
* The switch will reject actions for which src_ofs+n_bits is greater than the
|
* The switch will reject actions for which src_ofs+n_bits is greater than the
|
||||||
* width of 'src' or dst_ofs+n_bits is greater than the width of 'dst' with
|
* width of 'src' or dst_ofs+n_bits is greater than the width of 'dst' with
|
||||||
* error type OFPET_BAD_ACTION, code OFPBAC_BAD_ARGUMENT.
|
* error type OFPET_BAD_ACTION, code OFPBAC_BAD_ARGUMENT.
|
||||||
|
*
|
||||||
|
* This action behaves properly when 'src' overlaps with 'dst', that is, it
|
||||||
|
* behaves as if 'src' were copied out to a temporary buffer, then the
|
||||||
|
* temporary buffer copied to 'dst'.
|
||||||
*/
|
*/
|
||||||
struct nx_action_reg_move {
|
struct nx_action_reg_move {
|
||||||
ovs_be16 type; /* OFPAT_VENDOR. */
|
ovs_be16 type; /* OFPAT_VENDOR. */
|
||||||
|
Reference in New Issue
Block a user