From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7CAE8A00C2 for ; Tue, 27 Sep 2022 09:34:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E64F942B76; Tue, 27 Sep 2022 09:34:32 +0200 (CEST) Received: from mail.deltatec.be (mail.deltatec.be [91.183.90.4]) by mails.dpdk.org (Postfix) with ESMTP id 8C19941133 for ; Tue, 27 Sep 2022 09:34:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltacast.tv; s=AnsUTM; h=MIME-Version:Content-Type:Message-ID:Date:Subject :To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=f7qR2lM5b9TGOmVrKkpMqwuZtoojXwMP7etkcNL8GMA=; b=SDTiqwtT28IykuCMLptw4lCyqN v3HJAx5H2KfjptHlLP8XCmOhWIZBuG+6Dnm2xffdTkHkPn/9pAPAeq/BuIUc2/58nxjlZ2abhXa1l VcmaMt2IztPYMS+ds0O39EZW8LHWk01/UUMSFLq6h3oIMzemLZEogWsCY72VUZEqK1R0=; Received: from [172.16.4.5] (port=43906 helo=W2K19-SVR-5.office.deltatec.net) by mail.deltatec.be with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1od56q-00030j-0r for users@dpdk.org; Tue, 27 Sep 2022 09:34:28 +0200 Received: from W2K19-SVR-5.office.deltatec.net (172.16.4.5) by W2K19-SVR-5.office.deltatec.net (172.16.4.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Tue, 27 Sep 2022 09:34:28 +0200 Received: from W2K19-SVR-5.office.deltatec.net ([::1]) by W2K19-SVR-5.office.deltatec.net ([::1]) with mapi id 15.02.0792.003; Tue, 27 Sep 2022 09:34:28 +0200 X-SASI-Hits: BODYTEXTH_SIZE_10000_LESS 0.000000, BODYTEXTH_SIZE_3000_MORE 0.000000, BODY_SIZE_10000_PLUS 0.000000, HTML_50_70 0.100000, NO_CTA_URI_FOUND 0.000000, NO_FUR_HEADER 0.000000, NO_URI_HTTPS 0.000000, OUTBOUND 0.000000, OUTBOUND_SOPHOS 0.000000, SENDER_NO_AUTH 0.000000, SUPERLONG_LINE 0.050000, WEBMAIL_SOURCE 0.000000, WEBMAIL_XOIP 0.000000, WEBMAIL_X_IP_HDR 0.000000, __ANY_URI 0.000000, __BODY_NO_MAILTO 0.000000, __BODY_TEXT_X4 0.000000, __BULK_NEGATE 0.000000, __CT 0.000000, __CTYPE_HAS_BOUNDARY 0.000000, __CTYPE_MULTIPART 0.000000, __CTYPE_MULTIPART_ALT 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FUR_RDNS_SOPHOS 0.000000, __HAS_FROM 0.000000, __HAS_HTML 0.000000, __HAS_MSGID 0.000000, __HAS_XOIP 0.000000, __HTML_BAD_END 0.000000, __HTML_TAG_DIV 0.000000, __MIME_HTML 0.000000, __MIME_TEXT_H 0.000000, __MIME_TEXT_H1 0.000000, __MIME_TEXT_H2 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_TEXT_P2 0.000000, __MIME_VERSION 0.000000, __MSGID_32HEX 0.000000, __O365_FILTER_URI_ONLY 0.000000, __OUTBOUND_SOPHOS_FUR 0.000000, __OUTBOUND_SOPHOS_FUR_IP 0.000000, __OUTBOUND_SOPHOS_FUR_RDNS 0.000000, __PHISH_SPEAR_SUBJ_PREDICATE 0.000000, __RATWARE_SIGNATURE_3_N1 0.000000, __SANE_MSGID 0.000000, __STYLE_RATWARE_NEG 0.000000, __STYLE_TAG 0.000000, __SUBJ_ALPHA_END 0.000000, __SUBJ_STARTS_S_BRACKETS 0.000000, __TAG_EXISTS_HTML 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NO_NAME 0.000000, __URI_NO_MAILTO 0.000000, __URI_NO_WWW 0.000000 X-SASI-Probability: 8% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 4.1.4, AntispamData: 2022.9.27.70318 From: Antoine POLLENUS To: "users@dpdk.org" Subject: [MLX5, Windows] Flows rules are limited Thread-Topic: [MLX5, Windows] Flows rules are limited Thread-Index: AdjSQlVMrDdPXuJcR5S3imCQJS0T/w== Date: Tue, 27 Sep 2022 07:34:28 +0000 Message-ID: <489942490e214cd2bd06dee329622bdf@deltacast.tv> Accept-Language: en-US, fr-BE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.6.199] Content-Type: multipart/alternative; boundary="_000_489942490e214cd2bd06dee329622bdfdeltacasttv_" MIME-Version: 1.0 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_489942490e214cd2bd06dee329622bdfdeltacasttv_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I'm trying to do a reception using DPDK windows using a connectX6DX. I need= to redirect some network traffic into a specific queue. I have set the DevxEnabled to true and the DevxFsRules to 0xffffff When I try to setup the flow using the testpmd launched with those commands= : ./dpdk-testpmd -l 2-3 -n 4 -a 5e:00.0 --log-level=3D8 --log-level=3Dpmd.com= mon.mlx5:8 --log-level=3Dpmd.net.mlx5:8 -- --socket-num=3D0 --burst=3D64 -= -txd=3D4096 --rxd=3D1024 --mbcache=3D512 --rxq=3D1 --txq=3D0 --nb-cores=3D1= --txpkts=3D1500 -i --forward-mode=3Drxonly --flow-isolate-all testpmd> flow create 0 ingress pattern eth / ipv4 / end actions queue index= 0 / end mlx5_net: port 0 group=3D0 transfer=3D0 external=3D1 fdb_def_rule=3D0 trans= late=3DSTANDARD mlx5_net: port 0 group=3D0 table=3D0 mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list was created. mlx5_common: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849= 90 new: 1. mlx5_net: table_level 0 table_id 0 tunnel 0 group 0 registered. mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E8E40 = new: 1. mlx5_common: mlx5 list hrxq entry 00000196EE1E6300 new: 1. Flow rule #0 created I see the flow is created correctly. but when trying to filter on the destination ip I get an error: testpmd> flow create 0 ingress pattern eth / ipv4 dst is 10.10.1.185 / end = actions queue index 0 / end mlx5_net: port 0 group=3D0 transfer=3D0 external=3D1 fdb_def_rule=3D0 trans= late=3DSTANDARD mlx5_net: port 0 group=3D0 table=3D0 mlx5_common: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849= E8 ref: 2. mlx5_net: table_level 0 table_id 0 tunnel 0 group 0 registered.000196D5E849= 90 new: 1. mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 = new: 1. mlx5_common: mlx5 list hrxq entry 00000196EE1E6380 ref: 2.00000196EE1E8E40 = new: 1. mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 = removed. port_flow_complain(): Caught PMD error type 1 (cause unspecified): hardware= refuses to create flow: Invalid argument I also tried to filter on the source Ethernet MAC and I get the same error = but on the destination MAC it works ? testpmd> flow create 0 ingress pattern eth dst is 10:10:10:10:10:10 / ipv4 = / end actions queue index 0 / end mlx5_net: port 0 group=3D0 transfer=3D0 external=3D1 fdb_def_rule=3D0 trans= late=3DSTANDARD mlx5_net: port 0 group=3D0 table=3D0 mlx5_common: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849= E8 ref: 2. mlx5_net: table_level 0 table_id 0 tunnel 0 group 0 registered. mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 = new: 1. mlx5_common: mlx5 list hrxq entry 00000196EE1E6380 ref: 2. Flow rule #1 created testpmd> flow create 0 ingress pattern eth src is 10:10:10:10:10:10 / ipv4 = / end actions queue index 0 / end mlx5_net: port 0 group=3D0 transfer=3D0 external=3D1 fdb_def_rule=3D0 trans= late=3DSTANDARD mlx5_net: port 0 group=3D0 table=3D0 mlx5_common: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849= E8 ref: 2. mlx5_net: table_level 0 table_id 0 tunnel 0 group 0 registered. mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 = new: 1. mlx5_common: mlx5 list hrxq entry 00000196EE1E6380 ref: 2. mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 = removed. port_flow_complain(): Caught PMD error type 1 (cause unspecified): hardware= refuses to create flow: Invalid argument Is that a limitation of the windows version or am I doing something wrong ? regards, Antoine Pollenus --_000_489942490e214cd2bd06dee329622bdfdeltacasttv_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,
I’m trying to do a reception using DPDK windows using a connectX6DX. = I need to redirect some network traffic into a specific queue.

I have set the DevxEnabled to true and the DevxFsRules to 0xffffff

When I try to setup the flow using the testpmd launched with those commands= :

./dpdk-testpmd -l 2-3 -n 4 -a 5e:00.0 --log-level=3D8 --log-level=3Dpmd.com= mon.mlx5:8 --log-level=3Dpmd.net.mlx5:8  -- --socket-num=3D0 --burst= =3D64 --txd=3D4096 --rxd=3D1024 --mbcache=3D512 --rxq=3D1 --txq=3D0 --nb-co= res=3D1 --txpkts=3D1500 -i --forward-mode=3Drxonly  --flow-isolate-all=

testpmd> flow create 0 ingress pattern eth / ipv4 / end actions queue in= dex 0 / end

mlx5_net:= port 0 group=3D0 transfer=3D0 external=3D1 fdb_def_rule=3D0 translate=3DST= ANDARD

mlx5_net:= port 0 group=3D0 table=3D0

mlx5_comm= on: mlx5 list NIC_ingress_0_0_matcher_list was created.

mlx5_comm= on: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E84990 new: 1= .

mlx5_net:= table_level 0 table_id 0 tunnel 0 group 0 registered.

mlx5_comm= on: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E8E40 new: 1.

mlx5_comm= on: mlx5 list hrxq entry 00000196EE1E6300 new: 1.

Flow rule= #0 created


I see the flow is created correctly.

but when trying to filter on the destination ip I get an error:

testpmd> flow create 0 ingress pattern eth / ipv4 dst is 10.10.1.185 / e= nd actions queue index 0 / end

mlx5_net:= port 0 group=3D0 transfer=3D0 external=3D1 fdb_def_rule=3D0 translate=3DST= ANDARD

mlx5_net:= port 0 group=3D0 table=3D0

mlx5_comm= on: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849E8 ref: 2= .

mlx5_net:= table_level 0 table_id 0 tunnel 0 group 0 registered.000196D5E84990 new: 1= .

mlx5_comm= on: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 new: 1.

mlx5_comm= on: mlx5 list hrxq entry 00000196EE1E6380 ref: 2.00000196EE1E8E40 new: 1.

mlx5_comm= on: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 removed.<= o:p>

port_flow= _complain(): Caught PMD error type 1 (cause unspecified): hardware refuses = to create flow: Invalid argument

I also tried to filter on the source Ethernet MAC and I get the same error = but on the destination MAC it works ?
testpmd> flow create 0 ingress pattern eth dst is 10:10:10:10:10:10 / ip= v4 / end actions queue index 0 / end

mlx5_net:= port 0 group=3D0 transfer=3D0 external=3D1 fdb_def_rule=3D0 translate=3DST= ANDARD

mlx5_net:= port 0 group=3D0 table=3D0

mlx5_comm= on: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849E8 ref: 2= .

mlx5_net:= table_level 0 table_id 0 tunnel 0 group 0 registered.

mlx5_comm= on: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 new: 1.

mlx5_comm= on: mlx5 list hrxq entry 00000196EE1E6380 ref: 2.

Flow rule= #1 created

testpmd> flow create 0 ingress pattern eth src is 10:10:10:10:10:10 / ip= v4 / end actions queue index 0 / end

mlx5_net:= port 0 group=3D0 transfer=3D0 external=3D1 fdb_def_rule=3D0 translate=3DST= ANDARD

mlx5_net:= port 0 group=3D0 table=3D0

mlx5_comm= on: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849E8 ref: 2= .

mlx5_net:= table_level 0 table_id 0 tunnel 0 group 0 registered.

mlx5_comm= on: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 new: 1.

mlx5_comm= on: mlx5 list hrxq entry 00000196EE1E6380 ref: 2.

mlx5_comm= on: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 removed.<= o:p>

port_flow= _complain(): Caught PMD error type 1 (cause unspecified): hardware refuses = to create flow: Invalid argument


Is that a= limitation of the windows version or am I doing something wrong ?


regards,

Antoine Pollenus

--_000_489942490e214cd2bd06dee329622bdfdeltacasttv_--