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

Simon Horman simon.horman at netronome.com
Thu Sep 7 16:14:09 UTC 2017


On Tue, Aug 29, 2017 at 07:30:24AM +0300, Roi Dayan wrote:
> From: Paul Blakey <paulb at mellanox.com>
> 
> We support parsing set(vlan(vid,pcp,cfi)) so let's test it.
> 
> Signed-off-by: Paul Blakey <paulb at mellanox.com>
> Reviewed-by: Roi Dayan <roid at mellanox.com>

Acked-by: Simon Horman <simon.horman at netronome.com>

> ---
>  tests/odp.at | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> 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)
> -- 
> 2.7.0
> 


More information about the dev mailing list