mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +00:00
ofp-errors: Duplicate instruction error
Add OFPERR_OFPBIC_DUP_INST (type = OFPET_BAD_INSTRUCTION, code = 9) and use it for OpenFlow1.4+. For OpenFlow1.1 - 1.3 map this error to ONFBIC_DUP_INSTRUCTION (experimenter = ONF, type = 2600) which is proposed in OpenFlow enhancement proposal EXT-260 "Add error code for duplicate instruction.". Previously ONFBIC_DUP_INSTRUCTION was used for OpenFlow1.3+. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -272,8 +272,8 @@ enum ofperr {
|
||||
/* OF1.2+(3,8). Permissions error. */
|
||||
OFPERR_OFPBIC_EPERM,
|
||||
|
||||
/* ONF1.1+(2600). Duplicate instruction. */
|
||||
OFPERR_ONFBIC_DUP_INSTRUCTION,
|
||||
/* ONF1.1-1.3(2600), OF1.4+(3,9). Duplicate instruction. */
|
||||
OFPERR_OFPBIC_DUP_INST,
|
||||
|
||||
/* ## --------------- ## */
|
||||
/* ## OFPET_BAD_MATCH ## */
|
||||
|
Reference in New Issue
Block a user