<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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:"Microsoft YaHei";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"Microsoft YaHei";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri",sans-serif;}
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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:21.0pt;
        font-size:10.5pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.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="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D">Hi:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D">    Please help to see this DPDK problem. And I want to know whether i40e vf support promisc or not. Thanks a lot.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="text-align:left"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"微软雅黑",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"微软雅黑",sans-serif"> liaobiting <liaobiting@huawei.com>
<br>
<b>Subject:</b> Please help to see this DPDK problem//Reply: DPDK 20.11 - i40evf: No response for 14<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><b><span lang="EN-US" style="font-size:16.0pt;color:red;background:yellow;mso-highlight:yellow">BUG: DPDK-20.11- i40evf: No response for 14<o:p></o:p></span></b></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:11.0pt;font-family:"微软雅黑",sans-serif"><o:p> </o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="line-height:150%"><span lang="EN-US">Hi:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:21.0pt;line-height:150%"><span lang="EN-US">I am using Intel SR-IOV XL710 VF with DPDK v20.11 to create a dpdkbond but failed.
<i><span style="color:#1F497D"><o:p></o:p></span></i></span></p>
<p class="MsoNormal" align="left" style="text-align:left;line-height:150%;text-autospace:none">
<span lang="EN-US">         <img width="629" height="483" id="_x0000_i1025" src="cid:image001.png@01D7CA79.73F04A20"><o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left;line-height:150%;text-autospace:none">
<span lang="EN-US">         As the picture shows, when dpdk bond start and slave link up, it triggers lsc callback function which registers in the eal thread, and then in the activate_slave process,<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left;line-height:150%;text-autospace:none">
<span lang="EN-US">i40evf send msg 14 to pf to config promisc, but there is no response received. Because function “i40evf_handle_aq_msg” in which vf receives response from pf
<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left;line-height:150%;text-autospace:none">
<span lang="EN-US">is in the same thread of eal with function “_i40evf_execute_vf_cmd” in which vf sends msg to pf. Thus, when eal thread goes in function _i40evf_execute_vf_cmd,
<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left;line-height:150%;text-autospace:none">
<span lang="EN-US">it can’t handle msg from pf at the same time, then it will report “No response for 14” in dpdk log.<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left;line-height:150%;text-autospace:none">
<span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:21.0pt;line-height:150%"><span lang="EN-US">And there are the error logs in dpdk:<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:32.812516+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1: set mtu: 9058 .<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:32.822434+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1: dev configure succeed.<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:33.022426+08:00|info|ovs-vswitchd[1721043]|EAL: LSC CALLBACK: slave 0000:87:02.0 links up<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:33.022455+08:00|info|ovs-vswitchd[1721043]|PMD: Slave 1: lacp_rate has been set to slow.<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<b><i><span lang="EN-US">2021-10-11T11:03:35.034445+08:00|warning|ovs-vswitchd[1721043]|_i40evf_execute_vf_cmd(): No response for 14<o:p></o:p></span></i></b></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<b><i><span lang="EN-US">2021-10-11T11:03:35.034628+08:00|err|ovs-vswitchd[1721043]|i40evf_config_promisc(): fail to execute command CONFIG_PROMISCUOUS_MODE<o:p></o:p></span></i></b></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:35.034657+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1: enable allmulticast.<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<b><i><span lang="EN-US">2021-10-11T11:03:35.034680+08:00|err|ovs-vswitchd[1721043]|bond_mode_8023ad_register_lacp_mac(1250) - failed to enable allmulti mode for port 1: Resource temporarily unavailable<o:p></o:p></span></i></b></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:35.034702+08:00|debug|ovs-vswitchd[1721043]|bond_mode_8023ad_register_lacp_mac(1266) - forced promiscuous for port 1<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:35.034725+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1 (net_bonding_trunk1): Configuring and applying resources successed.<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:35.034746+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] slave 1 (net_bonding_trunk1) activate.<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:35.034771+08:00|debug|ovs-vswitchd[1721043]|     0 [Port 1: rx_machine] -> INITIALIZE<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:35.034794+08:00|debug|ovs-vswitchd[1721043]|     0 [Port 1: mux_machine] -> DETACHED<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<b><i><span lang="EN-US">2021-10-11T11:03:35.084534+08:00|err|ovs-vswitchd[1721043]|i40evf_handle_aq_msg(): command mismatch,expect 8, get 14<o:p></o:p></span></i></b></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:35.134545+08:00|debug|ovs-vswitchd[1721043]|   100 [Port 1: mux_machine] DETACHED -> WAITING<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<i><span lang="EN-US">2021-10-11T11:03:35.544648+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1: start dev.<o:p></o:p></span></i></p>
<p class="MsoNormal" align="left" style="text-align:left;line-height:150%;text-autospace:none">
<span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<span lang="EN-US">How can I solve this problem ?<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left;text-indent:21.0pt;line-height:150%;text-autospace:none">
<span lang="EN-US">Thakns for help.<o:p></o:p></span></p>
<p class="MsoNormal" align="right" style="text-align:right;line-height:150%"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal" align="right" style="text-align:right;line-height:150%"><span lang="EN-US">Liao<o:p></o:p></span></p>
</div>
</body>
</html>