diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2011-11-01 10:13:16 -0700 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2011-11-01 10:13:16 -0700 |
commit | abff858b5ad310a529d5a5ac2a230ee4ac9736db (patch) | |
tree | ac2cb7524dc3267adf07e0df61d2aab5ee78836f /tests/odp.at | |
parent | 7f4ae491b0fb5fb513e22ed2bd1829c5cd42e71c (diff) |
datapath: Convert kernel priority actions into match/set.
Following patch adds skb-priority to flow key. So userspace will know
what was priority when packet arrived and we can remove the pop/reset
priority action. It's no longer necessary to have a special action for
pop that is based on the kernel remembering original skb->priority.
Userspace can just emit a set priority action with the original value.
Since the priority field is a match field with just a normal set action,
we can convert it into the new model for actions that are based on
matches.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Bug #7715
Diffstat (limited to 'tests/odp.at')
-rw-r--r-- | tests/odp.at | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/odp.at b/tests/odp.at index 65a9fb93..7157ceaf 100644 --- a/tests/odp.at +++ b/tests/odp.at @@ -33,6 +33,10 @@ in_port(1),eth(src=00:01:02:03:04:05,dst=10:11:12:13:14:15),eth_type(0x0806),arp sed 's/eth([[^)]]*)/&,vlan(vid=99,pcp=7)/' odp-base.txt echo + echo '# Valid forms with QoS priority.' + sed 's/^/priority(1234),/' odp-base.txt + + echo echo '# Valid forms with tun_id and VLAN headers.' sed 's/^/tun_id(0xfedcba9876543210),/ s/eth([[^)]]*)/&,vlan(vid=99,pcp=7)/' odp-base.txt |