DPDK usage discussions
 help / color / mirror / Atom feed
From: Adrien Mazarguil <adrien.mazarguil@6wind.com>
To: Tetsuro Nakamura <xyz1.8tn@gmail.com>
Cc: users@dpdk.org, Wenzhuo Lu <wenzhuo.lu@intel.com>
Subject: Re: [dpdk-users] using rte_flow via tespmd with Intel X552
Date: Fri, 14 Apr 2017 11:22:02 +0200	[thread overview]
Message-ID: <20170414092202.GJ3790@6wind.com> (raw)
In-Reply-To: <CADr1gdR+8-w8=18xMDZSr4r_CWXNCvD1Mx-HeAyOuhD+dLwbGQ@mail.gmail.com>

Hi Tetsuro,

On Thu, Apr 13, 2017 at 10:18:28AM +0900, Tetsuro Nakamura wrote:
> Hi All,
> 
> I'm now trying to use simple L2 function with "Generic Flow API (rte_flow)"
> using testpmd in dpdk-17.02,
> but it doesn't work with the error below.
> 
> -----------
> $sudo ./dpdk-17.02/x86_64-native-linuxapp-gcc/app/testpmd -l 0-3 -n 4 -- -i
> --portmask=0x3 --nb-cores=2
> 
> testpmd> flow validate 0 ingress pattern eth / eth dst is a0:36:9f:78:30:26
> / end actions drop / end
> Caught error type 9 (specific pattern item): cause: 0x7ffd225adc88, Not
> supported by L2 tunnel filter
> testpmd> flow validate 0 ingress pattern eth / eth dst is a0:36:9f:78:30:26
> / end actions queue index 0 / end
> Caught error type 9 (specific pattern item): cause: 0x7ffd225adc88, Not
> supported by L2 tunnel filter
> -----------
> 
> I tried several other flows and got the same error.
> I'm using Intel X552 NIC. The firmware-version is 0x800003e7.
> 
> -----------
> $ sudo ethtool -i rename6
> driver: ixgbe
> version: 5.0.4
> firmware-version: 0x800003e7
> expansion-rom-version:
> bus-info: 0000:03:00.0
> supports-statistics: yes
> supports-test: yes
> supports-eeprom-access: yes
> supports-register-dump: yes
> supports-priv-flags: no
> -----------
> 
> My question is,
> am I missing some additional settings to do ?
> Should I use another firmware version ?
> # DPDK 17.02 official release note says the tested firmware version was
> 0x800001cf.
> # My version, 0x800003e7 is newer, isn't it?
> 
> I don't think the NIC does't support such simple L2 functions.
> But if it doesn't, are there any documents that tell us which NIC supports
> which flow rules in rte_flow?
> Could you tell me what flows I can try with Intel X552 NIC?
> 
> Thank you and best regards,
> 
> Tetsuro Nakamura, NTT

I'm not familiar with ixgbe but this issue reminds me of this thread [1],
particularly the following comment:

 "the rte_flow_error returned was not very useful for it does return the
 error of the last tried filter-type (L2 tunnel in ixgbe), and not the error
 of the filter-type that my setup should use (flow director)"

CC'ing Wenzhuo, I think this issue is present in 17.02, has it been fixed
since?

[1] http://dpdk.org/ml/archives/dev/2017-March/059928.html

-- 
Adrien Mazarguil
6WIND

  reply	other threads:[~2017-04-14  9:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-13  1:18 Tetsuro Nakamura
2017-04-14  9:22 ` Adrien Mazarguil [this message]
2017-04-17  2:36 Tetsuro Nakamura
2017-04-17  2:56 ` Lu, Wenzhuo
2017-04-17  3:05   ` Zhao1, Wei
2017-04-17  3:43     ` Tetsuro Nakamura
2017-08-01 11:26 TETSURO NAKAMURA

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=20170414092202.GJ3790@6wind.com \
    --to=adrien.mazarguil@6wind.com \
    --cc=users@dpdk.org \
    --cc=wenzhuo.lu@intel.com \
    --cc=xyz1.8tn@gmail.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).