* [dpdk-dev] working example commands for ethertype/flow_director_filter ?
@ 2015-08-21 21:54 Navneet Rao
2015-08-24 18:56 ` Navneet Rao
0 siblings, 1 reply; 3+ messages in thread
From: Navneet Rao @ 2015-08-21 21:54 UTC (permalink / raw)
To: dev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] working example commands for ethertype/flow_director_filter ?
2015-08-21 21:54 [dpdk-dev] working example commands for ethertype/flow_director_filter ? Navneet Rao
@ 2015-08-24 18:56 ` Navneet Rao
2015-08-25 13:45 ` Wu, Jingjing
0 siblings, 1 reply; 3+ messages in thread
From: Navneet Rao @ 2015-08-24 18:56 UTC (permalink / raw)
To: dev
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)
testpmd> ethertype_filter 0 add mac_ignr ethertype 0x0806 fwd queue 1
Bad arguments
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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] working example commands for ethertype/flow_director_filter ?
2015-08-24 18:56 ` Navneet Rao
@ 2015-08-25 13:45 ` Wu, Jingjing
0 siblings, 0 replies; 3+ messages in thread
From: Wu, Jingjing @ 2015-08-25 13:45 UTC (permalink / raw)
To: Navneet Rao, dev
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@dpdk.org] On Behalf Of Navneet Rao
> Sent: Tuesday, August 25, 2015 2:56 AM
> To: dev@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@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
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-25 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-21 21:54 [dpdk-dev] working example commands for ethertype/flow_director_filter ? Navneet Rao
2015-08-24 18:56 ` Navneet Rao
2015-08-25 13:45 ` Wu, Jingjing
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).