[ovs-dev,V2,2/2] tests/odp: Add set vlan test to odp testsuite

Message ID 1505019607-63461-3-git-send-email-roid@mellanox.com
State Accepted
Headers show
Series
  • [ovs-dev,V2,1/2] lib/odp: Fix handling of set masked action in parse_odp_action
Related show

Commit Message

Roi Dayan Sept. 10, 2017, 5 a.m.
From: Paul Blakey <paulb@mellanox.com>

We support parsing set(vlan(vid,pcp,cfi)) so let's test it.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Acked-by: Simon Horman <simon.horman@netronome.com>
---
 tests/odp.at | 5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/tests/odp.at b/tests/odp.at
index 0e8cbed..cd01b32 100644
--- a/tests/odp.at
+++ b/tests/odp.at
@@ -294,6 +294,11 @@  set(ipv6(label=0,proto=10,hlimit=128))
 set(ipv6(label=0/0xfff,proto=10,tclass=0x70/0x70))
 set(ipv6(label=0))
 set(icmpv6(type=1,code=2))
+set(vlan(vid=5))
+set(vlan(vid=3,pcp=5))
+set(vlan(vid=3,pcp=5,cfi=0))
+set(vlan(vid=5/0x3))
+set(vlan(vid=5/0x1)),3
 push_vlan(vid=12,pcp=0)
 push_vlan(vid=13,pcp=5,cfi=0)
 push_vlan(tpid=0x9100,vid=13,pcp=5)