[dpdk-dev] flow_director_filter error!!
navneet.rao at oracle.com
Tue Aug 25 22:27:21 CEST 2015
I did have the ethertype_filter ignore the mac_addr, and look at only ethertype filtyer and it still got a "bad arguments" message :-(
testpmd> ethertype_filter 0 add mac_ignr ethertype 0x0806 fwd queue 1
From: Wu, Jingjing [mailto:jingjing.wu at intel.com]
Sent: Tuesday, August 25, 2015 6:55 AM
To: Navneet Rao; Mcnamara, John; dev at dpdk.org
Subject: RE: [dpdk-dev] flow_director_filter error!!
I'm sorry for I have no idea about the NIC i540. Are you talking about X540?
If X540, I guess you can't classify on the MAC-ADDRESS to different queue by ethertype filter. Because in the X540 datasheet the ethertype filter is described as below:
" 188.8.131.52 L2 Ethertype Filters
These filters identify packets by their L2 Ethertype, 802.1Q user priority and optionally assign them to a receive queue."
So the mac_address is not the filter's input.
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Navneet Rao
> Sent: Friday, August 21, 2015 2:57 AM
> To: Mcnamara, John; dev at dpdk.org
> Subject: Re: [dpdk-dev] flow_director_filter error!!
> Thanks John.
> I am trying to setup/use the flow-director-filter on the i540.
> -- When I try to setup the flow-director-filter as per the example, I
> am getting "bad arguments"!!!
> So decided to see if the flush command would work.
> In the interim --- I am using ethertype filter to accomplish the following.
> What I am trying to do is this --
> Use 2 different i540 cards
> Use the igb_uio driver.
> Use the testpmd app.
> Setup 5 different MAC-ADDRESSes on each port. (using the set mac_addr
> command) Setup 5 different RxQs and TxQs on each port.
> And then use the testpmd app to generate traffic..
> I am assuming that the testpmd app will now send and receive traffic
> using the 5 different MAC_ADDRESSes..
> On each port's receive I will now want to classify on the MAC-ADDRESS
> and steer the traffic to different queues.
> Is there an example/reference on how to achieve this?
> Next, I would want to do "classify" on "flexbytes" and send/steer the
> traffic to different queues using flow-director-filter.
> -----Original Message-----
> From: Mcnamara, John [mailto:john.mcnamara at intel.com]
> Sent: Wednesday, August 19, 2015 3:39 PM
> To: Navneet Rao; dev at dpdk.org
> Subject: RE: [dpdk-dev] flow_director_filter error!!
> > -----Original Message-----
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Navneet Rao
> > Sent: Tuesday, August 18, 2015 4:01 PM
> > To: HYPERLINK "mailto:dev at dpdk.org" dev at dpdk.org
> > Subject: [dpdk-dev] flow_director_filter error!!
> > After I start the testpmd app, I am flusing the flow_director_filter
> > settings and get the following error -
> > testpmd> flush_flow_director 0
> > PMD: ixgbe_fdir_flush(): Failed to re-initialize FD table.
> > flow director table flushing error: (Too many open files in system)
> Are you setting a flow director filter before flushing? If so, could you give an example.
More information about the dev