DPDK patches and discussions
 help / color / mirror / Atom feed
From: Mauro Annarumma <mauroannarumma@hotmail.it>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Is Flow Director supported on the x540 chipset?
Date: Thu, 13 Feb 2014 10:44:40 +0100	[thread overview]
Message-ID: <DUB111-W969E48095A698AB4833B58B19D0@phx.gbl> (raw)
In-Reply-To: <201402061747.22088.thomas.monjalon@6wind.com>

Hi,
I'm trying to use Flow Director. Initially I used a X540 chipset and I was not able to make it work; I thought it was a compatibility problem with the controller. Maxime suggested to change some lines in the ixgbe_fdir.c file, I changed these lines but it
      did not give the expected results; 
   At this point I was sure that the problem was the incompatibility between the DPDK and the X540 chipset therefore I retrived a NIC whit a 82599 chipset and I repeated my attempts, unfortunately I got the some problems.
   
In order to be more clear I explain my attempts:
I try  to run the test-pmd app with the command-line option
      "--pkt-filter-mode=perfect", the app doesn't start (the rte_eth_dev_start
      function return an error) otherwise without the --pkt-filter-mode command-line option the application run
      normally. 

This is the command line I use to start the program:

frog@frog:~/dpdk-1.5.2r1/app/test-pmd$
 sudo ./testpmd -c 0x0f -n 2 -m 512 -- -i --portmask=0x3 --nb-cores=2 
--pkt-filter-mode=perfect --rxq=2 --txq=2


and the relative output:

...
Interactive-mode selected
Configuring Port 0 (socket -1)
Fail to start port 0 (ret=-5)*
Configuring Port 1 (socket -1)
Fail to start port 1 (ret=-5)*
Please stop the ports first
Done
testpmd> 

*ret=-5 is the result of the rte_eth_dev_start function

I guess someone was able to use FDIR, at least in the testpmd application. What am I doing wrong?
Best regards

> From: thomas.monjalon@6wind.com
> To: fulvio.risso@polito.it
> Date: Thu, 6 Feb 2014 17:47:21 +0100
> CC: dev@dpdk.org
> Subject: Re: [dpdk-dev] Is Flow Director supported on the x540 chipset?
> 
> Hi Fulvio,
> 
> 17/01/2014 12:24, Maxime Leroy:
> > On Thu, Jan 16, 2014, Fulvio Risso <fulvio.risso@polito.it> wrote:
> > > by digging into the DPDK code it seems to me that FDIR is not supported
> > > on the x540 chipset, while it is supported on 82599.
> [...]
> > > Is there any plan to support FDIR to the x540 chipset?
> > 
> [...]
> > I think you only need to change few lines in
> > lib/librte_pmd_ixgbe/ixgbe_fdir.c:
> > 
> >   - if (hw->mac.type != ixgbe_mac_82599EB)
> >   + if (hw->mac.type != ixgbe_mac_82599EB || hw->mac.type !=
> > ixgbe_mac_X540)
> > 
> > Let me know if you can test it and please provide a patch if it works.
> 
> Have you tried to patch and test flow director for X540 ?
> 
> thanks
> -- 
> Thomas
 		 	   		  

  reply	other threads:[~2014-02-13  9:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-16  6:47 Fulvio Risso
2014-01-17 11:24 ` Maxime Leroy
2014-02-06 16:47   ` Thomas Monjalon
2014-02-13  9:44     ` Mauro Annarumma [this message]
2014-02-13 10:28       ` Richardson, Bruce
2014-02-14 10:28         ` Mauro Annarumma
2014-03-18 14:59           ` Thomas Monjalon
2014-03-24 21:35             ` [dpdk-dev] [PATCH] ixgbe: support flow director for X540 Thomas Monjalon
2014-03-26  9:45               ` Maxime Leroy
2014-03-26 10:30                 ` Thomas Monjalon

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=DUB111-W969E48095A698AB4833B58B19D0@phx.gbl \
    --to=mauroannarumma@hotmail.it \
    --cc=dev@dpdk.org \
    /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).