DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jan Viktorin <viktorin@rehivetech.com>
To: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported
Date: Wed, 28 Oct 2015 12:22:25 +0100	[thread overview]
Message-ID: <20151028122225.1c8dc8fe@jvn> (raw)
In-Reply-To: <2601191342CEEE43887BDE71AB97725836AB5D0B@irsmsx105.ger.corp.intel.com>

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

> Hi Jan,
> 
> > -----Original Message-----
> > From: Jan Viktorin [mailto:viktorin@rehivetech.com]
> > Sent: Wednesday, October 28, 2015 11:00 AM
> > To: Ananyev, Konstantin
> > Cc: dev@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@intel.com
> > To: test-report@dpdk.org,viktorin@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@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@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@RehiveTech.com
> >   System Architect            Web:    www.RehiveTech.com
> >   RehiveTech
> >   Brno, Czech Republic  



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

  reply	other threads:[~2015-10-28 11:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28 10:59 [dpdk-dev] Fw: " Jan Viktorin
2015-10-28 11:17 ` [dpdk-dev] " Ananyev, Konstantin
2015-10-28 11:22   ` Jan Viktorin [this message]
2015-10-28 11:56     ` Ananyev, Konstantin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151028122225.1c8dc8fe@jvn \
    --to=viktorin@rehivetech.com \
    --cc=dev@dpdk.org \
    --cc=konstantin.ananyev@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).