diff options
author | Balazs Nemeth <balazs.nemeth@ericsson.com> | 2018-02-26 09:10:35 +0000 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-02-26 14:35:30 -0800 |
commit | aac61d07e3e6307bd193729f4e76831b1c4fcbd2 (patch) | |
tree | 944218940500cdd6e31971c4c816b13059aeafa5 /tests/packet-type-aware.at | |
parent | 8519ea87d7b84166a02d8f3f25c91a2ff7d5fe57 (diff) | |
download | openvswitch-aac61d07e3e6307bd193729f4e76831b1c4fcbd2.tar.gz |
tests: Make packet-type-aware.at hash independent
When compiling with -msse4.2 a test case of packet-type-aware.at will
fail due to the CRC32 based hash function is different from mhash.
Fix this issue with parsing the port statistics one-by-one.
Signed-off-by: Balazs Nemeth <balazs.nemeth@ericsson.com>
CC: Jan Scheurich <jan.scheurich@ericsson.com>
CC: Zoltan Balogh <zoltan.balogh@ericsson.com>
Fixes: 00135b869d7c ("xlate: fix xport lookup for recirc")
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/packet-type-aware.at')
-rw-r--r-- | tests/packet-type-aware.at | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/packet-type-aware.at b/tests/packet-type-aware.at index f43095c60..23f9037ab 100644 --- a/tests/packet-type-aware.at +++ b/tests/packet-type-aware.at @@ -1027,10 +1027,12 @@ tunnel(src=20.0.0.2,dst=20.0.0.1,flags(-df-csum)),recirc_id(0x1),in_port(gre_sys ovs-appctl time/warp 1000 AT_CHECK([ - ovs-ofctl dump-ports int-br -], [0], [OFPST_PORT reply (xid=0x2): 2 ports + ovs-ofctl dump-ports int-br LOCAL + ovs-ofctl dump-ports int-br 2 +], [0], [OFPST_PORT reply (xid=0x2): 1 ports port LOCAL: rx pkts=0, bytes=0, drop=?, errs=?, frame=?, over=?, crc=? tx pkts=4, bytes=392, drop=?, errs=?, coll=? +OFPST_PORT reply (xid=0x2): 1 ports port 2: rx pkts=4, bytes=352, drop=?, errs=?, frame=?, over=?, crc=? tx pkts=0, bytes=0, drop=?, errs=?, coll=? ]) |