Skip to contentSkip to conversation

|ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

DISCUSSION Jan Viktorin 2 participants 4 messages Oct 28, 2015

lore
Share & tools
lore
#0 lore raw

Hello Konstantin,

the ACL patch (with changes as you suggested yesterday) breaks the following test. I am confused about this. There is nothing in the log that would help me to determine the source of the problem. How is this test related to ACL? Moreover, I cannot see the actual packet drop there, what packet has been dropped?

Regards
Jan

Begin forwarded message:

Date: 27 Oct 2015 13:44:40 -0700
From: [email protected]
To: [email protected],[email protected]
Subject: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

Test-Label: Intel Niantic on Fedora
Test-Status: ERROR
Patchwork: http://www.dpdk.org/dev/patchwork/patch/8106/

DPDK git baseline: affc455438f4cbd3b14e2d9a24fbc154e22d68d3 Patchwork ID: 8090-8106
http://www.dpdk.org/dev/patchwork/patch/8106/
Submitter: Jan Viktorin <[email protected]>
Date: Tue, 27 Oct 2015 20:13:49 +0100

Compilation:
OS: fedora
Nic: niantic
i686-native-linuxapp-gcc: compile pass
x86_64-native-linuxapp-gcc: compile pass

DTS validation:
OS: fedora
Nic: Niantic
TestType: auto
GCC: 4
x86_64-native-linuxapp-gcc: total 75, passed 74, failed 1. Failed Case List:
Target: x86_64-native-linuxapp-gcc
OS: fedora
Failed DTS case:
checksum_offload_with_vlan:
http://dpdk.org/browse/tools/dts/tree/test_plans/checksum_offload_test_plan.rst

DTS Validation Error:
========================================================================================================================
========================================================================================================================
TEST SUITE : TestChecksumOffload

-------------------------------------------------------------------------------
Begin: Test Casetest_checksum_offload_with_vlan
--------------------------------------------------
FAILED 'Unexpected Packets Drop'
--------------------------------------------------
[ SUITE_DUT_CMD] ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n
4 -- -i --portmask=0x3 --disable-hw-vlan --enable-rx-cksum --crc-strip
--txqflags=0 [ SUITE_DUT_CMD] set verbose 1 [ SUITE_DUT_CMD] set
fwd csum [ SUITE_DUT_CMD] csum set ip hw 0

[   SUITE_DUT_CMD]  csum set udp hw 0
[   SUITE_DUT_CMD]  csum set tcp hw 0
[   SUITE_DUT_CMD]  csum set sctp hw 0
[   SUITE_DUT_CMD]  csum set ip hw 1
[   SUITE_DUT_CMD]  csum set udp hw 1
[   SUITE_DUT_CMD]  csum set tcp hw 1
[   SUITE_DUT_CMD]  csum set sctp hw 1
[   SUITE_DUT_CMD]  start
[SUITE_TESTER_CMD]  scapy
[SUITE_TESTER_CMD]  sys.path.append("./")
[SUITE_TESTER_CMD]  from sctp import *
[SUITE_TESTER_CMD]  p = Ether(dst="90:e2:ba:4a:54:81",

src="52:00:00:00:00:00")/IPv6(src="::2")/UDP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/SCTP()/("X"*48) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::2")/TCP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/UDP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/TCP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] exit() [SUITE_TESTER_CMD] echo -n '' > scapyResult.txt [SUITE_TESTER_CMD] scp sniff.py [email protected]:~/ [SUITE_TESTER_CMD] SCAPY Receive
setup: [SUITE_TESTER_CMD] killall scapy 2>/dev/null; echo tester [SUITE_TESTER_CMD] scapy [SUITE_TESTER_CMD] subprocess.call("scapy -c sniff.py &", shell=True) [SUITE_TESTER_CMD] sys.path.append("./") [SUITE_TESTER_CMD] import sctp [SUITE_TESTER_CMD] from sctp import * [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::1")/UDP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/SCTP(chksum=0xf)/("X"*48)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::1")/TCP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/UDP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/TCP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] exit() [SUITE_TESTER_CMD] cat scapyResult.txt [SUITE_TESTER_CMD] SCAPY Result: End test_checksum_offload_with_vlan
-------------------------------------------------------------------------------
[SUITE_DUT_CMD] quit

DPDK STV team

Signature · 4 lines
  Jan Viktorin                E-mail: [email protected]
  System Architect            Web:    www.RehiveTech.com
  RehiveTech
  Brno, Czech Republic
#1 lore raw

Hi Jan,

Quoted 7 lines

-----Original Message-----
From: Jan Viktorin [mailto:[email protected]]
Sent: Wednesday, October 28, 2015 11:00 AM
To: Ananyev, Konstantin
Cc: [email protected]
Subject: Fw: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

Quoted 7 lines

Hello Konstantin,

the ACL patch (with changes as you suggested yesterday) breaks the following test. I am confused about this. There is nothing in the log that would help me to determine the source of the problem. How is this test related to ACL? Moreover, I cannot see the actual packet drop there, what packet has been dropped?

I am also confused - testpmd doesn't use librte_acl at all. Are there any other changes in your patch set?
Something related to vector instrincts emulation?
As they are now in rte_vect.h and are seen not only by LPM ilbrary? Probably someone from STC team can explain what exactly packet fails? Konstantin

Quoted 119 lines

Regards
Jan

Begin forwarded message:

Date: 27 Oct 2015 13:44:40 -0700
From: [email protected]
To: [email protected],[email protected]
Subject: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

Test-Label: Intel Niantic on Fedora
Test-Status: ERROR
Patchwork: http://www.dpdk.org/dev/patchwork/patch/8106/

DPDK git baseline: affc455438f4cbd3b14e2d9a24fbc154e22d68d3 Patchwork ID: 8090-8106
http://www.dpdk.org/dev/patchwork/patch/8106/
Submitter: Jan Viktorin <[email protected]>
Date: Tue, 27 Oct 2015 20:13:49 +0100

Compilation:
OS: fedora
Nic: niantic
i686-native-linuxapp-gcc: compile pass
x86_64-native-linuxapp-gcc: compile pass

DTS validation:
OS: fedora
Nic: Niantic
TestType: auto
GCC: 4
x86_64-native-linuxapp-gcc: total 75, passed 74, failed 1. Failed Case List:
Target: x86_64-native-linuxapp-gcc
OS: fedora
Failed DTS case:
checksum_offload_with_vlan:
http://dpdk.org/browse/tools/dts/tree/test_plans/checksum_offload_test_plan.rst

DTS Validation Error:
======================================================================================================
==================
======================================================================================================
==================
TEST SUITE : TestChecksumOffload

-------------------------------------------------------------------------------
Begin: Test Casetest_checksum_offload_with_vlan
--------------------------------------------------
FAILED 'Unexpected Packets Drop'
--------------------------------------------------
[ SUITE_DUT_CMD] ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n
4 -- -i --portmask=0x3 --disable-hw-vlan --enable-rx-cksum --crc-strip
--txqflags=0 [ SUITE_DUT_CMD] set verbose 1 [ SUITE_DUT_CMD] set
fwd csum [ SUITE_DUT_CMD] csum set ip hw 0

[   SUITE_DUT_CMD]  csum set udp hw 0
[   SUITE_DUT_CMD]  csum set tcp hw 0
[   SUITE_DUT_CMD]  csum set sctp hw 0
[   SUITE_DUT_CMD]  csum set ip hw 1
[   SUITE_DUT_CMD]  csum set udp hw 1
[   SUITE_DUT_CMD]  csum set tcp hw 1
[   SUITE_DUT_CMD]  csum set sctp hw 1
[   SUITE_DUT_CMD]  start
[SUITE_TESTER_CMD]  scapy
[SUITE_TESTER_CMD]  sys.path.append("./")
[SUITE_TESTER_CMD]  from sctp import *
[SUITE_TESTER_CMD]  p = Ether(dst="90:e2:ba:4a:54:81",

src="52:00:00:00:00:00")/IPv6(src="::2")/UDP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/SCTP()/("X"*48) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::2")/TCP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/UDP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/TCP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] exit() [SUITE_TESTER_CMD] echo -n '' > scapyResult.txt [SUITE_TESTER_CMD] scp sniff.py [email protected]:~/ [SUITE_TESTER_CMD] SCAPY Receive
setup: [SUITE_TESTER_CMD] killall scapy 2>/dev/null; echo tester [SUITE_TESTER_CMD] scapy [SUITE_TESTER_CMD] subprocess.call("scapy -c sniff.py &", shell=True) [SUITE_TESTER_CMD] sys.path.append("./") [SUITE_TESTER_CMD] import sctp [SUITE_TESTER_CMD] from sctp import * [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::1")/UDP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/SCTP(chksum=0xf)/("X"*48)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::1")/TCP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/UDP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/TCP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] exit() [SUITE_TESTER_CMD] cat scapyResult.txt [SUITE_TESTER_CMD] SCAPY Result: End test_checksum_offload_with_vlan
-------------------------------------------------------------------------------
[SUITE_DUT_CMD] quit

DPDK STV team

--
Jan Viktorin E-mail: [email protected]
System Architect Web: www.RehiveTech.com
RehiveTech
Brno, Czech Republic

#2 lore raw
Quoted 17 lines · Konstantin

Hi Jan,

Quoted 7 lines

-----Original Message-----
From: Jan Viktorin [mailto:[email protected]]
Sent: Wednesday, October 28, 2015 11:00 AM
To: Ananyev, Konstantin
Cc: [email protected]
Subject: Fw: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

Quoted 7 lines

Hello Konstantin,

the ACL patch (with changes as you suggested yesterday) breaks the following test. I am confused about this. There is nothing in the log that would help me to determine the source of the problem. How is this test related to ACL? Moreover, I cannot see the actual packet drop there, what packet has been dropped?

Quoted 4 lines

I am also confused - testpmd doesn't use librte_acl at all. Are there any other changes in your patch set?
Something related to vector instrincts emulation?
As they are now in rte_vect.h and are seen not only by LPM ilbrary?

So, it is related to all the ARMv7 patch set? I thought it is only this single patch... The only other thing I've changed is the LPM where for x86/64 it keeps the previous implementation and for other platforms it introduces a workaround without SSE. The new rte_vect.h is ARM-only.

Jan

Quoted 122 lines

Probably someone from STC team can explain what exactly packet fails? Konstantin

Quoted 119 lines

Regards
Jan

Begin forwarded message:

Date: 27 Oct 2015 13:44:40 -0700
From: [email protected]
To: [email protected],[email protected]
Subject: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

Test-Label: Intel Niantic on Fedora
Test-Status: ERROR
Patchwork: http://www.dpdk.org/dev/patchwork/patch/8106/

DPDK git baseline: affc455438f4cbd3b14e2d9a24fbc154e22d68d3 Patchwork ID: 8090-8106
http://www.dpdk.org/dev/patchwork/patch/8106/
Submitter: Jan Viktorin <[email protected]>
Date: Tue, 27 Oct 2015 20:13:49 +0100

Compilation:
OS: fedora
Nic: niantic
i686-native-linuxapp-gcc: compile pass
x86_64-native-linuxapp-gcc: compile pass

DTS validation:
OS: fedora
Nic: Niantic
TestType: auto
GCC: 4
x86_64-native-linuxapp-gcc: total 75, passed 74, failed 1. Failed Case List:
Target: x86_64-native-linuxapp-gcc
OS: fedora
Failed DTS case:
checksum_offload_with_vlan:
http://dpdk.org/browse/tools/dts/tree/test_plans/checksum_offload_test_plan.rst

DTS Validation Error:
======================================================================================================
==================
======================================================================================================
==================
TEST SUITE : TestChecksumOffload

-------------------------------------------------------------------------------
Begin: Test Casetest_checksum_offload_with_vlan
--------------------------------------------------
FAILED 'Unexpected Packets Drop'
--------------------------------------------------
[ SUITE_DUT_CMD] ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n
4 -- -i --portmask=0x3 --disable-hw-vlan --enable-rx-cksum --crc-strip
--txqflags=0 [ SUITE_DUT_CMD] set verbose 1 [ SUITE_DUT_CMD] set
fwd csum [ SUITE_DUT_CMD] csum set ip hw 0

[   SUITE_DUT_CMD]  csum set udp hw 0
[   SUITE_DUT_CMD]  csum set tcp hw 0
[   SUITE_DUT_CMD]  csum set sctp hw 0
[   SUITE_DUT_CMD]  csum set ip hw 1
[   SUITE_DUT_CMD]  csum set udp hw 1
[   SUITE_DUT_CMD]  csum set tcp hw 1
[   SUITE_DUT_CMD]  csum set sctp hw 1
[   SUITE_DUT_CMD]  start
[SUITE_TESTER_CMD]  scapy
[SUITE_TESTER_CMD]  sys.path.append("./")
[SUITE_TESTER_CMD]  from sctp import *
[SUITE_TESTER_CMD]  p = Ether(dst="90:e2:ba:4a:54:81",

src="52:00:00:00:00:00")/IPv6(src="::2")/UDP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/SCTP()/("X"*48) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::2")/TCP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/UDP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/TCP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] exit() [SUITE_TESTER_CMD] echo -n '' > scapyResult.txt [SUITE_TESTER_CMD] scp sniff.py [email protected]:~/ [SUITE_TESTER_CMD] SCAPY Receive
setup: [SUITE_TESTER_CMD] killall scapy 2>/dev/null; echo tester [SUITE_TESTER_CMD] scapy [SUITE_TESTER_CMD] subprocess.call("scapy -c sniff.py &", shell=True) [SUITE_TESTER_CMD] sys.path.append("./") [SUITE_TESTER_CMD] import sctp [SUITE_TESTER_CMD] from sctp import * [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::1")/UDP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/SCTP(chksum=0xf)/("X"*48)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::1")/TCP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/UDP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/TCP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] exit() [SUITE_TESTER_CMD] cat scapyResult.txt [SUITE_TESTER_CMD] SCAPY Result: End test_checksum_offload_with_vlan
-------------------------------------------------------------------------------
[SUITE_DUT_CMD] quit

DPDK STV team

--
Jan Viktorin E-mail: [email protected]
System Architect Web: www.RehiveTech.com
RehiveTech
Brno, Czech Republic

Signature · 4 lines
  Jan Viktorin                E-mail: [email protected]
  System Architect            Web:    www.RehiveTech.com
  RehiveTech
  Brno, Czech Republic
#3 lore raw
Quoted 34 lines

-----Original Message-----
From: Jan Viktorin [mailto:[email protected]]
Sent: Wednesday, October 28, 2015 11:22 AM
To: Ananyev, Konstantin
Cc: [email protected]; Cao, Waterman
Subject: Re: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

Quoted 17 lines · Konstantin

Hi Jan,

Quoted 7 lines

-----Original Message-----
From: Jan Viktorin [mailto:[email protected]]
Sent: Wednesday, October 28, 2015 11:00 AM
To: Ananyev, Konstantin
Cc: [email protected]
Subject: Fw: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

Quoted 7 lines

Hello Konstantin,

the ACL patch (with changes as you suggested yesterday) breaks the following test. I am confused about this. There is nothing in the log that would help me to determine the source of the problem. How is this test related to ACL? Moreover, I cannot see the actual packet drop there, what packet has been dropped?

Quoted 4 lines

I am also confused - testpmd doesn't use librte_acl at all. Are there any other changes in your patch set?
Something related to vector instrincts emulation?
As they are now in rte_vect.h and are seen not only by LPM ilbrary?

Quoted 4 lines

So, it is related to all the ARMv7 patch set? I thought it is only this single patch... The only other thing I've changed is the LPM where for x86/64 it keeps the previous implementation and for other platforms it introduces a workaround without SSE. The new rte_vect.h is ARM-only.

Yep, it should be arm-only...

Quoted 135 lines

Jan

Quoted 46 lines

Probably someone from STC team can explain what exactly packet fails? Konstantin

Quoted 43 lines

Regards
Jan

Begin forwarded message:

Date: 27 Oct 2015 13:44:40 -0700
From: [email protected]
To: [email protected],[email protected]
Subject: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

Test-Label: Intel Niantic on Fedora
Test-Status: ERROR
Patchwork: http://www.dpdk.org/dev/patchwork/patch/8106/

DPDK git baseline: affc455438f4cbd3b14e2d9a24fbc154e22d68d3 Patchwork ID: 8090-8106
http://www.dpdk.org/dev/patchwork/patch/8106/
Submitter: Jan Viktorin <[email protected]>
Date: Tue, 27 Oct 2015 20:13:49 +0100

Compilation:
OS: fedora
Nic: niantic
i686-native-linuxapp-gcc: compile pass
x86_64-native-linuxapp-gcc: compile pass

DTS validation:
OS: fedora
Nic: Niantic
TestType: auto
GCC: 4
x86_64-native-linuxapp-gcc: total 75, passed 74, failed 1. Failed Case List:
Target: x86_64-native-linuxapp-gcc
OS: fedora
Failed DTS case:
checksum_offload_with_vlan:
http://dpdk.org/browse/tools/dts/tree/test_plans/checksum_offload_test_plan.rst

DTS Validation Error:

======================================================================================================

Quoted 2 lines
Quoted 2 lines

==================

======================================================================================================

Quoted 66 lines
Quoted 66 lines

==================
TEST SUITE : TestChecksumOffload

-------------------------------------------------------------------------------
Begin: Test Casetest_checksum_offload_with_vlan
--------------------------------------------------
FAILED 'Unexpected Packets Drop'
--------------------------------------------------
[ SUITE_DUT_CMD] ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n
4 -- -i --portmask=0x3 --disable-hw-vlan --enable-rx-cksum --crc-strip
--txqflags=0 [ SUITE_DUT_CMD] set verbose 1 [ SUITE_DUT_CMD] set
fwd csum [ SUITE_DUT_CMD] csum set ip hw 0

[   SUITE_DUT_CMD]  csum set udp hw 0
[   SUITE_DUT_CMD]  csum set tcp hw 0
[   SUITE_DUT_CMD]  csum set sctp hw 0
[   SUITE_DUT_CMD]  csum set ip hw 1
[   SUITE_DUT_CMD]  csum set udp hw 1
[   SUITE_DUT_CMD]  csum set tcp hw 1
[   SUITE_DUT_CMD]  csum set sctp hw 1
[   SUITE_DUT_CMD]  start
[SUITE_TESTER_CMD]  scapy
[SUITE_TESTER_CMD]  sys.path.append("./")
[SUITE_TESTER_CMD]  from sctp import *
[SUITE_TESTER_CMD]  p = Ether(dst="90:e2:ba:4a:54:81",

src="52:00:00:00:00:00")/IPv6(src="::2")/UDP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/SCTP()/("X"*48) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::2")/TCP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/UDP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] p = Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(src="127.0.0.2")/TCP()/("X"*46) [SUITE_TESTER_CMD] p.show2() [SUITE_TESTER_CMD] exit() [SUITE_TESTER_CMD] echo -n '' > scapyResult.txt [SUITE_TESTER_CMD] scp sniff.py [email protected]:~/ [SUITE_TESTER_CMD] SCAPY Receive
setup: [SUITE_TESTER_CMD] killall scapy 2>/dev/null; echo tester [SUITE_TESTER_CMD] scapy [SUITE_TESTER_CMD] subprocess.call("scapy -c sniff.py &", shell=True) [SUITE_TESTER_CMD] sys.path.append("./") [SUITE_TESTER_CMD] import sctp [SUITE_TESTER_CMD] from sctp import * [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::1")/UDP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/SCTP(chksum=0xf)/("X"*48)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IPv6(src="::1")/TCP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/UDP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] sendp([Ether(dst="90:e2:ba:4a:54:81", src="52:00:00:00:00:00")/IP(chksum=0x0)/TCP(chksum=0xf)/("X"*46)], iface="p785p2") [SUITE_TESTER_CMD] exit() [SUITE_TESTER_CMD] cat scapyResult.txt [SUITE_TESTER_CMD] SCAPY Result: End test_checksum_offload_with_vlan
-------------------------------------------------------------------------------
[SUITE_DUT_CMD] quit

Quoted 8 lines
Quoted 8 lines

DPDK STV team

--
Jan Viktorin E-mail: [email protected]
System Architect Web: www.RehiveTech.com
RehiveTech
Brno, Czech Republic

--
Jan Viktorin E-mail: [email protected]
System Architect Web: www.RehiveTech.com
RehiveTech
Brno, Czech Republic