summaryrefslogtreecommitdiff
path: root/lib/ofp-util.c
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2010-10-02 00:27:23 -0700
committerJustin Pettit <jpettit@nicira.com>2010-10-02 18:36:10 -0700
commiteedc0097f475a15297375a2aba39313c0f98f330 (patch)
tree5638ed76a699901cddacdf2524a4fbab6edcade7 /lib/ofp-util.c
parent9ebc44ae8c5940513a8dcc2aab8dcca8aff9d2a2 (diff)
downloadopenvswitch-eedc0097f475a15297375a2aba39313c0f98f330.tar.gz
Add Nicira extension for modifying queue without transmitting
The OpenFlow OFPAT_ENQUEUE action sets a queue id and outputs the packet in one shot. There are times in which the queue should be set, but the output port is not yet known. This commit adds the NXAST_SET_QUEUE and NXAST_POP_QUEUE Nicira extension actions to modify the queue configuration without requiring a port argument. CC: Jeremy Stribling <strib@nicira.com> CC: Keith Amidon <keith@nicira.com>
Diffstat (limited to 'lib/ofp-util.c')
-rw-r--r--lib/ofp-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 5171900a7..7a2e17cb2 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -565,6 +565,8 @@ check_nicira_action(const union ofp_action *a, unsigned int len)
case NXAST_RESUBMIT:
case NXAST_SET_TUNNEL:
case NXAST_DROP_SPOOFED_ARP:
+ case NXAST_SET_QUEUE:
+ case NXAST_POP_QUEUE:
return check_action_exact_len(a, len, 16);
default:
return ofp_mkerr(OFPET_BAD_ACTION, OFPBAC_BAD_VENDOR_TYPE);