mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user