From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 4B90642923
	for <public@inbox.dpdk.org>; Wed, 12 Apr 2023 08:58:45 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 6C921427EE;
	Wed, 12 Apr 2023 08:58:39 +0200 (CEST)
Received: from authsmtp.register.it (authsmtp09.register.it [81.88.48.59])
 by mails.dpdk.org (Postfix) with ESMTP id 16B1C41153
 for <users@dpdk.org>; Wed,  5 Apr 2023 18:00:03 +0200 (CEST)
Received: from DESKTOPPE5KR91 ([2.229.169.133]) by cmsmtp with ESMTPSA
 id k5YIp1wAImoW1k5YIp59SU; Wed, 05 Apr 2023 18:00:02 +0200
X-Rid: smtp@outsys.eu@2.229.169.133
From: "Ernesto Ruffini" <eruffini@outsys.org>
To: <users@dpdk.org>
Subject: ethtool-like command on ice pmd
Date: Wed, 5 Apr 2023 18:01:47 +0200
Message-ID: <027001d967d7$ed8bc510$c8a34f30$@outsys.org>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----=_NextPart_000_0271_01D967E8.B114BC20"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: Adln1+thRc0piOg3T6GEGz94TgU6cQ==
Content-Language: en-us
X-CMAE-Envelope: MS4xfOgZnWotyNZRgLylJuV9uAEXu+1K6oRvnCXFJ2gAMFiSi4/47HiBJiQy38wdqd0t8snUDW7OlULQ2Ehb++2Up1I9pC4qdS7CwnVJ8TkKSCzogGvm26qG
 hAWXYOloSG77LL2qvtM/4AByVS15O7dA3I23Bu1nGfvx6Uhci3CieKuXjrX9KkHtfs5t5K9lG3h5aA==
X-Mailman-Approved-At: Wed, 12 Apr 2023 08:58:36 +0200
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
Errors-To: users-bounces@dpdk.org

This is a multipart message in MIME format.

------=_NextPart_000_0271_01D967E8.B114BC20
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

I would like to configure an Intel E810 with something like

ethtool --set-priv-flags eno1 mdd-auto-reset-vf on

 

Is there a way to do it from inside DPDK?

I tried to run the ethtool command before binding the nic to the DPDK
driver, but apparently the behaviour is reset once the binding takes place.

 

Thanks

 


------=_NextPart_000_0271_01D967E8.B114BC20
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"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;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-ligatures:standardcontextual;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-ligatures:standardcontextual;}
@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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72" style=3D'word-wrap:break-word'><div =
class=3DWordSection1><p class=3DMsoNormal>Hello,<o:p></o:p></p><p =
class=3DMsoNormal>I would like to configure an Intel E810 with something =
like<o:p></o:p></p><p class=3DMsoNormal>ethtool --set-priv-flags eno1 =
mdd-auto-reset-vf on<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Is there a =
way to do it from inside DPDK?<o:p></o:p></p><p class=3DMsoNormal>I =
tried to run the ethtool command before binding the nic to the DPDK =
driver, but apparently the behaviour is reset once the binding takes =
place.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Thanks<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_0271_01D967E8.B114BC20--