[dpdk-dev] flow_director_filter error!!

Mcnamara, John john.mcnamara at intel.com
Mon Aug 31 13:07:22 CEST 2015


> 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.
-- 




More information about the dev mailing list