DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Mcnamara, John" <john.mcnamara@intel.com>
To: Navneet Rao <navneet.rao@oracle.com>,
	"De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>,
	"Wu, Jingjing" <jingjing.wu@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] flow_director_filter error!!
Date: Mon, 31 Aug 2015 11:07:22 +0000	[thread overview]
Message-ID: <B27915DBBA3421428155699D51E4CFE2022FF698@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <27224a44-abf9-4981-8788-915fbbbe89ce@default>

> From: Navneet Rao [mailto:navneet.rao@oracle.com] 
> Sent: Friday, August 28, 2015 11:11 PM
> To: De Lara Guarch, Pablo; Wu, Jingjing; Mcnamara, John; dev@dpdk.org
> Subject: RE: [dpdk-dev] flow_director_filter error!!
> 
> Hi John et al:
> I am using the X540, and setting it up to receive UDP traffic.
> Want to use the flow-director filter, to steer packets to different receive queues.
> Using the testpmd app, I am running into the following error --
> testpmd> flow_director_filter 0 add flow ipv4-udp src 192.168.10.100 ...
> flow director programming error: (Operation not supported)


Hi,

You need to pass --pkt-filter-mode=perfect or --pkt-filter-mode=signature on the commandline to enable flow director. If it isn't enabled you will see something like the following and you will get the "Operation not supported" message in several places:

  testpmd> show port fdir all

  ######################## FDIR infos for port 0      ########################
  MODE:   DISABLE
  SUPPORTED FLOW TYPE:  ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-tcp ipv6-udp ipv6-sctp ipv6-other
  FLEX PAYLOAD INFO:
  ...

John.
-- 



  parent reply	other threads:[~2015-08-31 11:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18 23:00 Navneet Rao
2015-08-19 19:26 ` Navneet Rao
2015-08-20  7:17   ` Wu, Jingjing
2015-08-19 22:39 ` Mcnamara, John
2015-08-20 18:56   ` Navneet Rao
2015-08-25 13:55     ` Wu, Jingjing
2015-08-25 20:27       ` Navneet Rao
2015-08-26  7:27         ` De Lara Guarch, Pablo
2015-08-26 17:11           ` Navneet Rao
2015-08-28  0:35           ` Navneet Rao
2015-08-28 22:11             ` Navneet Rao
2015-08-28 22:50               ` Navneet Rao
2015-08-31 11:07               ` Mcnamara, John [this message]
2015-09-02  0:09                 ` Navneet Rao

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=B27915DBBA3421428155699D51E4CFE2022FF698@IRSMSX103.ger.corp.intel.com \
    --to=john.mcnamara@intel.com \
    --cc=dev@dpdk.org \
    --cc=jingjing.wu@intel.com \
    --cc=navneet.rao@oracle.com \
    --cc=pablo.de.lara.guarch@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).