<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-BE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:black">Hello,<br>
<br>
I’m trying to do a reception using DPDK windows using a connectX6DX. I need to redirect some network traffic into a specific queue.<br>
<br>
I have set the DevxEnabled to true and the DevxFsRules to 0xffffff<br>
<br>
When I try to setup the flow using the testpmd launched with those commands:<br>
<br>
./dpdk-testpmd -l 2-3 -n 4 -a 5e:00.0 --log-level=8 --log-level=pmd.common.mlx5:8 --log-level=pmd.net.mlx5:8  -- --socket-num=0 --burst=64 --txd=4096 --rxd=1024 --mbcache=512 --rxq=1 --txq=0 --nb-cores=1 --txpkts=1500 -i --forward-mode=rxonly  --flow-isolate-all<br>
<br>
testpmd> flow create 0 ingress pattern eth / ipv4 / end actions queue index 0 / end<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: port 0 group=0 transfer=0 external=1 fdb_def_rule=0 translate=STANDARD<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: port 0 group=0 table=0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list was created.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E84990 new: 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: table_level 0 table_id 0 tunnel 0 group 0 registered.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E8E40 new: 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list hrxq entry 00000196EE1E6300 new: 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">Flow rule #0 created<br>
<br>
<br>
I see the flow is created correctly.<br>
<br>
but when trying to filter on the destination ip I get an error:<br>
<br>
testpmd> flow create 0 ingress pattern eth / ipv4 dst is 10.10.1.185 / end actions queue index 0 / end<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: port 0 group=0 transfer=0 external=1 fdb_def_rule=0 translate=STANDARD<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: port 0 group=0 table=0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849E8 ref: 2.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: table_level 0 table_id 0 tunnel 0 group 0 registered.000196D5E84990 new: 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 new: 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list hrxq entry 00000196EE1E6380 ref: 2.00000196EE1E8E40 new: 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 removed.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">port_flow_complain(): Caught PMD error type 1 (cause unspecified): hardware refuses to create flow: Invalid argument<br>
<br>
I also tried to filter on the source Ethernet MAC and I get the same error but on the destination MAC it works ?
<br>
testpmd> flow create 0 ingress pattern eth dst is 10:10:10:10:10:10 / ipv4 / end actions queue index 0 / end<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: port 0 group=0 transfer=0 external=1 fdb_def_rule=0 translate=STANDARD<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: port 0 group=0 table=0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849E8 ref: 2.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: table_level 0 table_id 0 tunnel 0 group 0 registered.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 new: 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list hrxq entry 00000196EE1E6380 ref: 2.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">Flow rule #1 created<br>
<br>
testpmd> flow create 0 ingress pattern eth src is 10:10:10:10:10:10 / ipv4 / end actions queue index 0 / end<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: port 0 group=0 transfer=0 external=1 fdb_def_rule=0 translate=STANDARD<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: port 0 group=0 table=0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list Mellanox ConnectX-6 Dx Adapter_ entry 00000196D5E849E8 ref: 2.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_net: table_level 0 table_id 0 tunnel 0 group 0 registered.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 new: 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list hrxq entry 00000196EE1E6380 ref: 2.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">mlx5_common: mlx5 list NIC_ingress_0_0_matcher_list entry 00000196EE1E5E80 removed.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">port_flow_complain(): Caught PMD error type 1 (cause unspecified): hardware refuses to create flow: Invalid argument<br>
<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">Is that a limitation of the windows version or am I doing something wrong ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black"><br>
regards,<br>
<br>
Antoine Pollenus<br>
<br>
<o:p></o:p></span></p>
</div>
</body>
</html>