Thanks John, I figured that out since I was seeing the MODE: DISABLE all the 
time....
Now I am able to set the flow-director-filter correctly...but need to play with 
the settings to get it right!!!

Will ping this group if I am still stuck end of the week.

Thanks
-Navneet

-----Original Message-----
From: Mcnamara, John [mailto:john.mcnam...@intel.com] 
Sent: Monday, August 31, 2015 4:07 AM
To: Navneet Rao; De Lara Guarch, Pablo; Wu, Jingjing; dev at dpdk.org
Subject: RE: [dpdk-dev] flow_director_filter error!!

> From: Navneet Rao [mailto:navneet.rao at oracle.com] 
> Sent: Friday, August 28, 2015 11:11 PM
> To: De Lara Guarch, Pablo; Wu, Jingjing; Mcnamara, John; dev at 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.
-- 


Reply via email to