[dpdk-dev] |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

Jan Viktorin viktorin at rehivetech.com
Wed Oct 28 12:22:25 CET 2015


On Wed, 28 Oct 2015 11:17:37 +0000
"Ananyev, Konstantin" <konstantin.ananyev at intel.com> wrote:

> Hi Jan,
> 
> > -----Original Message-----
> > From: Jan Viktorin [mailto:viktorin at rehivetech.com]
> > Sent: Wednesday, October 28, 2015 11:00 AM
> > To: Ananyev, Konstantin
> > Cc: dev at dpdk.org
> > Subject: Fw: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported
> > 
> > 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?

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

> Probably someone from STC team can explain what exactly packet fails?
> Konstantin
> 
> > 
> > Regards
> > Jan
> > 
> > Begin forwarded message:
> > 
> > Date: 27 Oct 2015 13:44:40 -0700
> > From: sys_stv at intel.com
> > To: test-report at dpdk.org,viktorin at rehivetech.com
> > 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 <viktorin at rehivetech.com>
> > 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 root at 10.239.128.80:~/ [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: Viktorin at RehiveTech.com
> >   System Architect            Web:    www.RehiveTech.com
> >   RehiveTech
> >   Brno, Czech Republic  



-- 
  Jan Viktorin                E-mail: Viktorin at RehiveTech.com
  System Architect            Web:    www.RehiveTech.com
  RehiveTech
  Brno, Czech Republic


More information about the dev mailing list