<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
I have an application that processes packets received by an Intel XXV710 NIC via the i40e PMD in DPDK. I need all MAC control frame packets to be passed to the application as regular packets, but I have been unable to configure the device to do this successfully,
all control frames seem to be consumed by the hardware and do reach the application queues at all. Referencing the datasheet for this card and the i40e PMD, I need to enable MAC control frame forwarding.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
I have tried to configure the card using the rte_eth_dev_flow_ctrl_set call with the following settings in the struct rte_eth_fc_conf:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<span> </span>.mode = RTE_FC_NONE;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<span> </span>.high_water = 0;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<span> </span>.low_water = 0;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<span> </span>.pause_time = 0;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<span> </span>.send_xon = 0;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<span> </span>.mac_ctrl_frame_fwd = 1;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<span> </span>.autoneg = 0;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
The call returns successfully yet checking with rte_eth_dev_flow_ctrl_get shows that the value for .mac_ctrl_frame_fwd is still zero and I cannot see control frames in my application. How can I configure this card to pass these frames?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Paul.<br>
</div>
<p style="font-size:9pt; font-family:arial,helvetica,sans-serif;">Paul Rafferty <br />
<b>R&D Department</b><br />
t: +44 1506 671416<br />
<a href="mailto:paul.rafferty@calnexsol.com" style="text-decoration:none;"><font color="#000000"><strong style="font-weight:normal;">e: paul.rafferty@calnexsol.com</strong></font></a><br />
<a href="https://www.calnexsol.com/en/" style="text-decoration: none; color:#000000;"><span style="color:#000000;"><font color="#000000"><strong style="font-weight:normal;">w: calnexsol.com</strong></font></span></a></p>
<table border="0" cellpadding="0" cellspacing="0" style="width:325px; font-family: Calibri, sans-serif;" width="325px">
<tbody>
<tr>
<td style="border-right: 1px solid #808080; vertical-align:top;" valign="top"><a href="https://www.calnexsol.com/en/"><img alt="calnex-home-page" height="63" nosend="1" src="cid:a11kdtXLAUawoRHJITSKqwred-logo-112x63_gif" style="border:0;" width="112" xw-name="red-logo-112x63.gif"></a><br>
<span style="font-size:9pt; font-family:arial,helvetica,sans-serif; color: #808080;">Calnex Solutions<br>
Oracle Campus<br>
Linlithgow<br>
EH49 7LR<br>
United Kingdom</span></td>
<td colspan="1" rowspan="1"> </td>
<td colspan="1" rowspan="1" style="vertical-align:top; padding-left: 16px; padding-right: 0px; padding-bottom: 0px; padding-top: 0px;">
<h4 style="margin-bottom: 10px; margin-top: 0px; padding-bottom: 3px;"><a href="https://www.calnexsol.com/en/product-detail/1799-calnex-sne-x" style="text-decoration:none;"><span style="font-family:arial,helvetica,sans-serif; font-size:12pt;"><span style="color: #808080; text-align: left; font-weight: bold;"><strong>New Product</strong></span></span></a></h4>
<p style="margin-bottom: 3px; margin-top: 0px; padding-bottom: 3px;"><a href="https://www.calnexsol.com/en/product-detail/1799-calnex-sne-x" style="text-decoration-line: none; text-decoration:none;"><span style="font-family:arial,helvetica,sans-serif; font-size:9pt;"><span style="margin-top: 5px; margin-bottom: 0px; color: rgb(128, 128, 128);">The SNE-X is a total solution to the problem of real-world Ethernet testing. It combines comprehensive and efficient network emulation for 5G, Data Center, and Cloud applications. Click for more information.</span></span></a></p>
</td>
</tr>
<tr>
<td style="border-right: 1px solid #808080; vertical-align:bottom; " valign="bottom">
<table>
<tbody>
<tr>
<td><a href="https://twitter.com/calnexsolutions"><img alt="calnex-twitter" height="20" nosend="1" src="cid:1WhTvw0Fw0Kn4uV1PGCUPQtwitter_20_gif" style="border:0;" width="20" xw-name="twitter_20.gif"></a></td>
<td><a href="https://www.facebook.com/calnex"><img alt="calnex-facebook" height="20" nosend="1" src="cid:H3ZejRAL50KVDyOIY858xgsignature-facebook-20_gif" style="border:0;" width="20" xw-name="signature-facebook-20.gif"></a></td>
<td><a href="https://www.linkedin.com/company/calnex-solutions-ltd."><img alt="calnex-linkedin" height="20" nosend="1" src="cid:EYWt8XSkeGnTiuTqj4gsignature-linkedin-20_gif" style="border:0;" width="20" xw-name="signature-linkedin-20.gif"></a></td>
<td><a href="https://www.youtube.com/channel/UC1R63XWIifRVg87sQ_K18Cg/featured"><img alt="calnex-youtube" height="20" nosend="1" src="cid:MjMdGx4WHU2IHaSpxHHrnAyoutube_20_gif" style="border:0;" width="20" xw-name="youtube_20.gif"></a></td>
</tr>
</tbody>
</table>
</td>
<td> </td>
<td style="padding-left: 16px; padding-right: 0px;"><a href="https://www.calnexsol.com/en/product-detail/1799-calnex-sne-x"><img src="cid:mVTrRmk8UGB4PIl525TPwCalnex_SNE-X" xw-name="Calnex SNE-X"></a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<table 300="" border="0" cellpadding="0" cellspacing="0" style="width: 360px; border-collapse: collapse">
<tbody>
<tr>
<td style="font-size:7pt; font-family:arial,helvetica,sans-serif; color: #bfbfbf;">Calnex Solutions plc is registered in Scotland. Registration number: SC299625. Registered office: Oracle Campus, Linlithgow, Scotland, EH49 7LR, United Kingdom.</td>
</tr>
</tbody>
</table>
</body>
</html>