Hi, If you use "help filters", you can probably get the command format like:
ethertype_filter (port_id) (add|del) (mac_addr|mac_ignr) (mac_address) ethertype (ether_type) (drop|fwd) queue (queue_id) Add/Del an ethertype filter. > -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Navneet Rao > Sent: Tuesday, August 25, 2015 2:56 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] working example commands for > ethertype/flow_director_filter ? > > testpmd> mac_addr add 0 00:10:E0:3B:3B:50 > > testpmd> set promisc all on > > testpmd> ethertype_filter 0 add mac_addr 00:10:E0:3B:3B:50 ethertype 0x0806 > fwd queue > 1 > > ethertype filter programming error: (Invalid argument) > > testpmd> ethertype_filter 0 add mac_addr 00:10:E0:3B:3B:50 ethertype 0x0806 > fwd queue 1 > > ethertype filter programming error: (Invalid argument) [Wu, Jingjing] above error raised may because the NIC you using does not support ethertype_filter with mac. > > testpmd> ethertype_filter 0 add mac_ignr ethertype 0x0806 fwd queue 1 > > Bad arguments > > [Wu, Jingjing] I think command like "ethertype_filter 0 add mac_ignr 00:10:E0:3B:3B:50 ethertype 0x0806 fwd queue 1" may work. > > > > Has anyone been able to get this to work!!! > > All I want to is steer the traffic on port0 to go to some other queue > (instead of default 0) > > > > And I want to filter on the mac_address.so using the ethertype_filter. > > > > Thanks > > -Navneet > > > > > > -----Original Message----- > From: Navneet Rao > Sent: Friday, August 21, 2015 2:55 PM > To: dev at dpdk.org > Subject: [dpdk-dev] working example commands for > ethertype/flow_director_filter ? > > > > Hello: > > > > > > If anybody has any working example commands for ethertype or > flow_director_filter, can > you please send it across.. > > > > I am using the testpmd app, and it is constantly reporting "bad-arguments" > even for the legal > commands in the doc!!! > > > > > > Thanks > > > > -Navneet > > > > > >