From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 190C0A0471 for ; Fri, 19 Jul 2019 08:09:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 561B3231E; Fri, 19 Jul 2019 08:09:26 +0200 (CEST) Received: from dish-sg.nttdocomo.co.jp (dish-sg.nttdocomo.co.jp [202.19.227.74]) by dpdk.org (Postfix) with ESMTP id B92D31DBF for ; Fri, 19 Jul 2019 08:09:24 +0200 (CEST) X-dD-Source: Outbound Received: from zssg-mailmd105.ddreams.local (zssg-mailmd900.ddreams.local [10.160.172.63]) by zssg-mailou102.ddreams.local (Postfix) with ESMTP id 4050812010E for ; Fri, 19 Jul 2019 15:09:23 +0900 (JST) Received: from t131sg-mailcc12.ddreams.local (t131sg-mailcc12.ddreams.local [100.66.31.87]) by zssg-mailmd105.ddreams.local (dDREAMS) with ESMTP id <0PUV0111EL3M2E20@dDREAMS> for users@dpdk.org; Fri, 19 Jul 2019 15:09:22 +0900 (JST) Received: from t131sg-mailcc12 (localhost [127.0.0.1]) by t131sg-mailcc12.ddreams.local (unknown) with SMTP id x6J69MhL010404 for ; Fri, 19 Jul 2019 15:09:22 +0900 Received: from zssg-mailmf101.ddreams.local (unknown [127.0.0.1]) by zssg-mailmf101.ddreams.local (Postfix) with ESMTP id 2A28B7E603B for ; Fri, 19 Jul 2019 15:08:56 +0900 (JST) Received: from zssg-mailmf101.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 28B2E8E6058 for ; Fri, 19 Jul 2019 15:08:56 +0900 (JST) Received: from localhost (unknown [127.0.0.1]) by IMSVA (Postfix) with SMTP id 27A2A8E6051 for ; Fri, 19 Jul 2019 15:08:56 +0900 (JST) X-IMSS-HAND-OFF-DIRECTIVE: localhost:10026 Received: from zssg-mailmf101.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9BBCB8E6055 for ; Fri, 19 Jul 2019 15:08:55 +0900 (JST) Received: from zssg-mailua104.ddreams.local (unknown [10.160.172.62]) by zssg-mailmf101.ddreams.local (Postfix) with ESMTP for ; Fri, 19 Jul 2019 15:08:55 +0900 (JST) Received: from [10.87.198.18] (unknown [10.160.183.129]) by zssg-mailua104.ddreams.local (dDREAMS) with ESMTPA id <0PUV017G4L2MKW40@dDREAMS> for users@dpdk.org; Fri, 19 Jul 2019 15:08:46 +0900 (JST) Date: Fri, 19 Jul 2019 15:08:46 +0900 From: Hideyuki Yamashita Message-id: <20190719150846.9A1E.17218CA3@ntt-tx.co.jp_1> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Mailer: Becky! ver. 2.74.02 [ja] X-TM-AS-GCONF: 00 To: "users@dpdk.org" Subject: [dpdk-users] Why flow can not be created? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "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