<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:Aptos;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-ligatures:none;
        mso-fareast-language:EN-IN;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="EN-IN" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<pre style="vertical-align:baseline"><span lang="EN-US" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif">Hi Team,</span><span lang="EN-US" style="font-size:14.0pt"><br><br></span><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;background:white">Is there any way to distribute packets evenly (Like RSS) to specific multiple RX queues in RTE_FLOW_ACTION_TYPE_QUEUE DPDK Flow director?<br><br></span><b><span style="font-size:16.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;background:white">Desired action:</span></b><span style="font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;background:white"><o:p></o:p></span></pre>
<pre style="vertical-align:baseline"><span style="font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;background:white"><br></span><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0cm">uint16_t queue_indices[] = {10, 11, 12, 13, 14, 15};<o:p></o:p></span></pre>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:EN-IN">struct rte_flow_action_queue queue = {.index
 = queue_indices};<o:p></o:p></span></p>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:EN-IN">struct rte_flow_action action[]={<o:p></o:p></span></p>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:EN-IN">    [0]={.type = RTE_FLOW_ACTION_TYPE_QUEUE,.conf
 = &queue},<o:p></o:p></span></p>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:EN-IN">    [1]={.type = RTE_FLOW_ACTION_TYPE_END}<o:p></o:p></span></p>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:EN-IN">};<br>
</span><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;mso-ligatures:none;mso-fareast-language:EN-IN">Is this action limited to drivers specific?<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:16.0pt;font-family:"Segoe UI",sans-serif">Example:</span></b><span lang="EN-US" style="font-size:14.0pt"><br>
</span><span lang="EN-US" style="font-size:14.0pt;font-family:"Segoe UI",sans-serif">I have 40 RX queues I need to match an IP address pattern and the matching packets should direct to 1-10 RX queue indices.</span><span lang="EN-US" style="font-size:14.0pt"><br>
<br>
<br>
</span><span style="font-size:14.0pt;font-family:"Segoe UI",sans-serif;color:#0C0D0E;background:white">If not, please suggest a way to direct packets that matches a particular pattern to specific multiple RX queues <strong><span style="font-family:"Segoe UI",sans-serif;border:none windowtext 1.0pt;padding:0cm">without
 the use of RSS</span></strong>.<br>
I need the matching packets to distribute evenly to specific RX queues and not the duplicates. I'm using
<b>Intel x710 NIC i40e and DPDK 20.11.</b><br>
<br>
Can anyone help on this query.<br>
<br>
Thanks,<br>
Raghavan V</span><span lang="EN-US" style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
</body>
</html>