DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Why flow can not be created?
@ 2019-07-19  6:08 Hideyuki Yamashita
  2019-07-22 12:48 ` Ye Xiaolong
  0 siblings, 1 reply; 12+ messages in thread
From: Hideyuki Yamashita @ 2019-07-19  6:08 UTC (permalink / raw)
  To: users

Hello,

I am trying to use rte_flow with i40e PMD.

What I want to achieve is like following.

 ---(dst MAC=XorY && VID=AorB) ---> PHY --default(VID=B)--> Queue0
                                                                 VID=A && dstMAC=X----> Queue1
                                                                 VID=A && dstMAC=Y----> Queue2

I tried to create flow using testpmd, but failed.

testpmd> flow create 0 ingress pattern eth dst is 11:22:33:44:55:66 type mask 0xffff / vlan tci is 150 / end quactions inqueue index 1 / end
Caught error type 13 (specific pattern item): cause: 0x17ff5e200, Invalid MAC_addr mask.3, : Invalid argument
testpmd>

Note that I could create flow which matches with dst Mac address.
I could also create flow which matches with VID.

---(dst MAC=XorYorZ) ---> PHY  --default(Z)--> Queue0
                                                      dstMAC=X----> Queue1
                                                       dstMAC=Y----> Queue2

---(VID=AorB) ---> PHY  --default(B)--> Queue0
                                           VID=A-------> Queue1

However when comined those two into one flow, testpmd failed to validate the flow.


Q1. Why above flow can not be created?
Q2. All the NICs supported by i40e-PMD do NOT provide above operation and packet classification features?
Q3. Are there any PMD/NIC which allow above operation?


Thaks in advance,

Hideyuki Yamashita
NTT TechnoCross



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-08-29  3:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-19  6:08 [dpdk-users] Why flow can not be created? Hideyuki Yamashita
2019-07-22 12:48 ` Ye Xiaolong
2019-07-23  6:26   ` Hideyuki Yamashita
2019-07-30 10:37     ` Hideyuki Yamashita
2019-07-30 12:25       ` Adrien Mazarguil
2019-07-31  2:30         ` Hideyuki Yamashita
2019-08-02  6:06           ` Hideyuki Yamashita
2019-08-06  9:12             ` Adrien Mazarguil
2019-08-06  9:59               ` Moti Haimovsky
2019-08-09  6:05               ` Hideyuki Yamashita
2019-08-14  5:56                 ` [dpdk-users] How L2 broadcast is handled under rte_flow? Hideyuki Yamashita
2019-08-29  3:11                   ` Hideyuki Yamashita

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