From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 7A69943A72;
	Mon,  5 Feb 2024 14:37:49 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 67DB340DFD;
	Mon,  5 Feb 2024 14:37:46 +0100 (CET)
Received: from mail-io1-f41.google.com (mail-io1-f41.google.com
 [209.85.166.41]) by mails.dpdk.org (Postfix) with ESMTP id A9DED402A2
 for <dev@dpdk.org>; Mon,  5 Feb 2024 12:09:04 +0100 (CET)
Received: by mail-io1-f41.google.com with SMTP id
 ca18e2360f4ac-7bb5fda069bso233027439f.0
 for <dev@dpdk.org>; Mon, 05 Feb 2024 03:09:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=broadcom.com; s=google; t=1707131344; x=1707736144; darn=dpdk.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=2ZmBMMp/i7b38YZkmZlu4j3nDrdveXPJ0Ecj8ZUdVWE=;
 b=GaddzbFu5PuezIG8Q72U2Q04PaG/0878hZVM/6Mb/HdUL9P5tIBP8KUIbqfEywt/yI
 ZR/stdkvYSHg1B5MatahEvjGn/ncMZR46biiXoupk8GJMzXuyrh/cm8/Q/uZwi/F6oNK
 VkhtOiJQs1kzeu0Eq2xVky8nX9AhainEQJaQg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1707131344; x=1707736144;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=2ZmBMMp/i7b38YZkmZlu4j3nDrdveXPJ0Ecj8ZUdVWE=;
 b=tkE6S0QjFGtdEhpzNxM8c+dtxlAJe6DBCeO8wAThXq3jBxgiMvoKOlDbg+RPpy8wUp
 +mcT8xFxil2wdLflWiHPNir6ii7nSilXHuzmbriXUSLGozb/9t2P34Vg/y3GAiPeIAtv
 0ydyvlbCAsrjmRDoXMqEocrDhHSm22Xni2Xm2bs18zLo6xTkwyL5Xe5OBeJeqVKetGI8
 LmO/OAn8fyMpu7+rIivMgw3eeQyxgv83Pl0X1x26ScEDmM93nyBgmAzpj5m0AGQfkbjE
 uDARDshEPdXthiE1rmYbnGyDXE2KxJeOO8DrthUxeI53aQbATrxOekCcDZ4+dIygnA0t
 ev4A==
X-Gm-Message-State: AOJu0YxxtN/V8ZpeHYKrwGnnDorXDWukGSkUnVFHLDme4aHMf5MH/Rlp
 WAg0ylbUXsJ3uRk/WTkrF2d/cJmI9vfb4b88Wf/+IABoTHooOYfFOzhcPbZpO4PdhBpRh8U+ERI
 meBjEZRpJJueOpFCUFZ7uXXjIe8CMyBU3qY3FyhjPMzsLpWcGf24T01rcIIq82Hz2hQQ/lZc0wR
 YFZ1sb
X-Google-Smtp-Source: AGHT+IGGRw9WokzbDMVEmBB4hXzkatlu1+1BuNX0cehB25JHf8WwI4hSwWXemMJC3j5NMtQZ6aANWBFrpLk9hlUz3zI=
X-Received: by 2002:a5e:dc43:0:b0:7bf:da4d:3477 with SMTP id
 s3-20020a5edc43000000b007bfda4d3477mr17749428iop.9.1707131343881; Mon, 05 Feb
 2024 03:09:03 -0800 (PST)
MIME-Version: 1.0
References: <CAJgakAdETfSvaPym+-LERemydH5UmBLR2R5VzvmMQjP=A301+Q@mail.gmail.com>
 <DS7PR11MB7860C835193ECB935052D75E8E7A2@DS7PR11MB7860.namprd11.prod.outlook.com>
In-Reply-To: <DS7PR11MB7860C835193ECB935052D75E8E7A2@DS7PR11MB7860.namprd11.prod.outlook.com>
From: Amiya Ranjan Mohakud <amiya-ranjan.mohakud@broadcom.com>
Date: Mon, 5 Feb 2024 16:38:27 +0530
Message-ID: <CAJgakAcckfsPSzrNsCvCxFXFEE3u5Gajb3CYRv-cB9s7Yj-uKA@mail.gmail.com>
Subject: Re: Regarding
 https://mails.dpdk.org/archives/dev/2023-June/270558.html dpdk patch
To: "Deng, KaiwenX" <kaiwenx.deng@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
 Amiya Ranjan Mohakud <amiyaranjan.mohakud@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000566dfe0610a07d5d"
X-Mailman-Approved-At: Mon, 05 Feb 2024 14:37:43 +0100
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

--000000000000566dfe0610a07d5d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Kaiwenx,

There are no specific parameters except "-m 1024 -l 1,2".  Just that the
guest has 2 SR IOV X710 interfaces.

Just for an additional update -

ESX version: 8.0 U1
i40e PF driver version: 1.11.3.5
Firmware version:7.10 0x800075da 19.5.12

I tried updating the firmware version to 9.00 0x8000cadc 21.5.9 based on
the compatibility matrix
https://www.vmware.com/resources/compatibility/detail.php?deviceCategory=3D=
io&productid=3D37976
But It still did not help.


I'm not sure if we need to upgrade the driver version as well. Please let
me know if you have any breakthroughs. Thanks in advance.


Regards,
Amiya


On Thu, Jan 25, 2024 at 11:40=E2=80=AFAM Deng, KaiwenX <kaiwenx.deng@intel.=
com>
wrote:

> Hi Amiya
>
>
>
> Can you provide me with the DPDK startup parameters?
>
>
>
> Thanks
>
> *From:* Amiya Ranjan Mohakud <amiya-ranjan.mohakud@broadcom.com>
> *Sent:* Tuesday, January 23, 2024 4:54 PM
> *To:* Deng, KaiwenX <kaiwenx.deng@intel.com>; dev@dpdk.org
> *Cc:* Amiya Ranjan Mohakud <amiya-ranjan.mohakud@broadcom.com>; Amiya
> Ranjan Mohakud <amiyaranjan.mohakud@gmail.com>
> *Subject:* Regarding
> https://mails.dpdk.org/archives/dev/2023-June/270558.html dpdk patch
>
>
>
> Hi Kaiwenx
>
>
>
> I came across the below DPDK iavf error message during the initialization
> of X710 NICs in ESX.  It seems the functionality works fine, but with bel=
ow
> error messages.
>
> DPDK Version: 22.11.2
>
>
>
> 2023-12-08T09:58:00.901 |9322| MSG      [NET] dpdk_port_configure:1717
> Configure port eth3/1. lsc_intr=3D1, rxq/txq=3D1/1, (rss_enabled=3D1)
> rss_hf=3D0x0000000000000c30 tx_ol=3D0x00000000000006 rx_ol=3D0x0000000008=
0007
>
> 2023-12-08T09:58:00.906 |9322| MSG      [NET] dpdk_log_write:107 iavf_exe=
cute_vf_cmd(): Return failure -4 for cmd 27
>
> 2023-12-08T09:58:00.906 |9322| MSG      [NET] dpdk_log_write:107 iavf_ena=
ble_vlan_strip(): Failed to execute command of OP_ENABLE_VLAN_STRIPPING
>
> 2023-12-08T09:58:00.906 |9322| MSG      [NET] dpdk_log_write:107 iavf_dev=
_init_vlan(): Failed to update vlan offload
>
> 2023-12-08T09:58:00.906 |9322| MSG      [NET] dpdk_log_write:107 iavf_dev=
_configure(): configure VLAN failed: -5
>
> 2023-12-08T09:58:01.156 |9322| MSG      [NET] dpdk_log_write:107 iavf_exe=
cute_vf_cmd(): Return failure -5 for cmd 14
>
>
>
> On search, I came across your above patch. I am not able to make out
> properly from the description. Could you please help elaborate the root
> cause/fix for my understanding and kindly confirm if this patch would fix
> the above issue. Thanks in advance.
>
>
>
> Regards,
>
> Amiya
>
>
> This electronic communication and the information and any files
> transmitted with it, or attached to it, are confidential and are intended
> solely for the use of the individual or entity to whom it is addressed an=
d
> may contain information that is confidential, legally privileged, protect=
ed
> by privacy laws, or otherwise restricted from disclosure to anyone else. =
If
> you are not the intended recipient or the person responsible for deliveri=
ng
> the e-mail to the intended recipient, you are hereby notified that any us=
e,
> copying, distributing, dissemination, forwarding, printing, or copying of
> this e-mail is strictly prohibited. If you received this e-mail in error,
> please return the e-mail to the sender, delete it from your computer, and
> destroy any printed copy of it.
>

--=20
This electronic communication and the information and any files transmitted=
=20
with it, or attached to it, are confidential and are intended solely for=20
the use of the individual or entity to whom it is addressed and may contain=
=20
information that is confidential, legally privileged, protected by privacy=
=20
laws, or otherwise restricted from disclosure to anyone else. If you are=20
not the intended recipient or the person responsible for delivering the=20
e-mail to the intended recipient, you are hereby notified that any use,=20
copying, distributing, dissemination, forwarding, printing, or copying of=
=20
this e-mail is strictly prohibited. If you received this e-mail in error,=
=20
please return the e-mail to the sender, delete it from your computer, and=
=20
destroy any printed copy of it.

--000000000000566dfe0610a07d5d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,=
sans-serif">Hi=C2=A0<span style=3D"font-family:Verdana,sans-serif">Kaiwenx<=
/span>,=C2=A0</div><div class=3D"gmail_default" style=3D"font-family:verdan=
a,sans-serif"><br></div><div class=3D"gmail_default" style=3D"font-family:v=
erdana,sans-serif">There are no specific parameters except &quot;-m 1024 -l=
 1,2&quot;.=C2=A0 Just that the guest has 2 SR IOV X710 interfaces.=C2=A0</=
div><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail=
_signature"><div dir=3D"ltr"><font face=3D"verdana, sans-serif"><br></font>=
</div><div><font face=3D"verdana, sans-serif"><span class=3D"gmail_default"=
 style=3D"font-family:verdana,sans-serif">Just f</span><span class=3D"gmail=
_default" style=3D"font-family:verdana,sans-serif">or an additional update =
-=C2=A0=C2=A0</span></font></div><div><font face=3D"verdana, sans-serif"><s=
pan class=3D"gmail_default" style=3D"font-family:verdana,sans-serif"><br></=
span></font></div><div><font face=3D"verdana, sans-serif"><span class=3D"gm=
ail_default" style=3D"font-family:verdana,sans-serif">ESX version: 8.0 U1</=
span></font></div><div><font face=3D"verdana, sans-serif"><span class=3D"gm=
ail_default" style=3D"font-family:verdana,sans-serif">i40e PF driver versio=
n: 1.11.3.5</span></font></div><div><font face=3D"verdana, sans-serif"><spa=
n class=3D"gmail_default" style=3D"font-family:verdana,sans-serif">Firmware=
 version:</span></font>7.10 0x800075da 19.5.12</div><div><br></div><div><di=
v class=3D"gmail_default" style=3D"font-family:verdana,sans-serif">I tried =
updating the firmware version to=C2=A09.00 0x8000cadc 21.5.9 based on the c=
ompatibility matrix=C2=A0<a href=3D"https://www.vmware.com/resources/compat=
ibility/detail.php?deviceCategory=3Dio&amp;productid=3D37976">https://www.v=
mware.com/resources/compatibility/detail.php?deviceCategory=3Dio&amp;produc=
tid=3D37976</a></div><div class=3D"gmail_default" style=3D"font-family:verd=
ana,sans-serif">But It still did not help.</div><div class=3D"gmail_default=
" style=3D"font-family:verdana,sans-serif"><br></div><div class=3D"gmail_de=
fault" style=3D"font-family:verdana,sans-serif"><br></div><div class=3D"gma=
il_default" style=3D"font-family:verdana,sans-serif">I&#39;m not sure if we=
 need to upgrade the driver version as well. Please let me know if you have=
=C2=A0any breakthroughs. Thanks in advance.</div><div class=3D"gmail_defaul=
t" style=3D"font-family:verdana,sans-serif"><br></div></div><div><br></div>=
<div dir=3D"ltr"><font face=3D"verdana, sans-serif">Regards,</font><div><fo=
nt face=3D"verdana, sans-serif">Amiya</font></div></div></div></div><br></d=
iv><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On =
Thu, Jan 25, 2024 at 11:40=E2=80=AFAM Deng, KaiwenX &lt;<a href=3D"mailto:k=
aiwenx.deng@intel.com" target=3D"_blank">kaiwenx.deng@intel.com</a>&gt; wro=
te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>





<div lang=3D"EN-US">
<div>
<p class=3D"MsoNormal">Hi Amiya<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Can you provide me with the DPDK startup parameters?=
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Thanks<u></u><u></u></p>
<div style=3D"border-top:none;border-right:none;border-bottom:none;border-l=
eft:1.5pt solid blue;padding:0in 0in 0in 4pt">
<div>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> Amiya Ranjan Mohakud &lt;<a href=3D"mai=
lto:amiya-ranjan.mohakud@broadcom.com" target=3D"_blank">amiya-ranjan.mohak=
ud@broadcom.com</a>&gt;
<br>
<b>Sent:</b> Tuesday, January 23, 2024 4:54 PM<br>
<b>To:</b> Deng, KaiwenX &lt;<a href=3D"mailto:kaiwenx.deng@intel.com" targ=
et=3D"_blank">kaiwenx.deng@intel.com</a>&gt;; <a href=3D"mailto:dev@dpdk.or=
g" target=3D"_blank">dev@dpdk.org</a><br>
<b>Cc:</b> Amiya Ranjan Mohakud &lt;<a href=3D"mailto:amiya-ranjan.mohakud@=
broadcom.com" target=3D"_blank">amiya-ranjan.mohakud@broadcom.com</a>&gt;; =
Amiya Ranjan Mohakud &lt;<a href=3D"mailto:amiyaranjan.mohakud@gmail.com" t=
arget=3D"_blank">amiyaranjan.mohakud@gmail.com</a>&gt;<br>
<b>Subject:</b> Regarding <a href=3D"https://mails.dpdk.org/archives/dev/20=
23-June/270558.html" target=3D"_blank">https://mails.dpdk.org/archives/dev/=
2023-June/270558.html</a> dpdk patch<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif">Hi Ka=
iwenx<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif"><u></=
u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif">I cam=
e across the below DPDK iavf error message during the initialization of X71=
0 NICs in ESX.=C2=A0 It seems the functionality works fine, but with below =
error messages.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif">DPDK =
Version: 22.11.2<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif"><u></=
u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:9pt;font-family:Arial,sans-=
serif;color:rgb(23,43,77);background:rgb(244,245,247)">2023-12-08T09:58:00.=
901 |9322| MSG =C2=A0 =C2=A0 =C2=A0[NET] dpdk_port_configure:1717 Configure=
 port eth3/1. lsc_intr=3D1, rxq/txq=3D1/1, (rss_enabled=3D1) rss_hf=3D0x000=
0000000000c30
 tx_ol=3D0x00000000000006 rx_ol=3D0x00000000080007</span><span style=3D"fon=
t-family:Verdana,sans-serif"><u></u><u></u></span></p>
</div>
<pre style=3D"background:rgb(244,245,247);max-height:30em;overflow:auto"><s=
pan style=3D"font-size:9pt;color:rgb(23,43,77)">2023-12-08T09:58:00.906 |93=
22| MSG =C2=A0 =C2=A0 =C2=A0[NET] dpdk_log_write:107 iavf_execute_vf_cmd():=
 Return failure -4 </span><span><span style=3D"font-size:9pt;color:rgb(145,=
0,145)">for</span></span><span style=3D"font-size:9pt;color:rgb(23,43,77)">=
 cmd 27<u></u><u></u></span></pre>
<pre style=3D"background:rgb(244,245,247)"><span style=3D"font-size:9pt;col=
or:rgb(23,43,77)">2023-12-08T09:58:00.906 |9322| MSG =C2=A0 =C2=A0 =C2=A0[N=
ET] dpdk_log_write:107 iavf_enable_vlan_strip(): Failed to execute command =
of OP_ENABLE_VLAN_STRIPPING<u></u><u></u></span></pre>
<pre style=3D"background:rgb(244,245,247)"><span style=3D"font-size:9pt;col=
or:rgb(23,43,77)">2023-12-08T09:58:00.906 |9322| MSG =C2=A0 =C2=A0 =C2=A0[N=
ET] dpdk_log_write:107 iavf_dev_init_vlan(): Failed to update vlan offload =
<u></u><u></u></span></pre>
<pre style=3D"background:rgb(244,245,247)"><span style=3D"font-size:9pt;col=
or:rgb(23,43,77)">2023-12-08T09:58:00.906 |9322| MSG =C2=A0 =C2=A0 =C2=A0[N=
ET] dpdk_log_write:107 iavf_dev_configure(): configure VLAN failed: -5 <u><=
/u><u></u></span></pre>
<pre style=3D"background:rgb(244,245,247)"><span style=3D"font-size:9pt;col=
or:rgb(23,43,77)">2023-12-08T09:58:01.156 |9322| MSG =C2=A0 =C2=A0 =C2=A0[N=
ET] dpdk_log_write:107 iavf_execute_vf_cmd(): Return failure -5 </span><spa=
n><span style=3D"font-size:9pt;color:rgb(145,0,145)">for</span></span><span=
 style=3D"font-size:9pt;color:rgb(23,43,77)"> cmd 14<u></u><u></u></span></=
pre>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif"><u></=
u>=C2=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif">On se=
arch, I came across your above patch. I am not able to make out properly fr=
om the=C2=A0description. Could you please help elaborate the root cause/fix=
 for my understanding and kindly confirm
 if this patch would fix the above issue. Thanks in advance.=C2=A0<u></u><u=
></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif"><u></=
u>=C2=A0<u></u></span></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif">Regar=
ds,</span><u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:Verdana,sans-serif">Amiya=
</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><br>
<span style=3D"font-size:10pt;color:black;background:white">This electronic=
 communication and the information and any files transmitted with it, or at=
tached to it, are confidential and are intended solely for the use of the i=
ndividual or entity to whom it is
 addressed and may contain information that is confidential, legally privil=
eged, protected by privacy laws, or otherwise restricted from disclosure to=
 anyone else. If you are not the intended recipient or the person responsib=
le for delivering the e-mail to
 the intended recipient, you are hereby notified that any use, copying, dis=
tributing, dissemination, forwarding, printing, or copying of this e-mail i=
s strictly prohibited. If you received this e-mail in error, please return =
the e-mail to the sender, delete
 it from your computer, and destroy any printed copy of it.</span><u></u><u=
></u></p>
</div>
</div>
</div>

</div></blockquote></div>

<br>
<span style=3D"background-color:rgb(255,255,255)"><font size=3D"2">This ele=
ctronic communication and the information and any files transmitted with it=
, or attached to it, are confidential and are intended solely for the use o=
f the individual or entity to whom it is addressed and may contain informat=
ion that is confidential, legally privileged, protected by privacy laws, or=
 otherwise restricted from disclosure to anyone else. If you are not the in=
tended recipient or the person responsible for delivering the e-mail to the=
 intended recipient, you are hereby notified that any use, copying, distrib=
uting, dissemination, forwarding, printing, or copying of this e-mail is st=
rictly prohibited. If you received this e-mail in error, please return the =
e-mail to the sender, delete it from your computer, and destroy any printed=
 copy of it.</font></span>
--000000000000566dfe0610a07d5d--