<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=utf-8">
<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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:white;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        font-size:10.0pt;
        font-family:"Courier New";
        color:white;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:white;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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 bgcolor="black" lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Thanks sasha and Vinicius!!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> Neftin, Sasha <sasha.neftin@intel.com>
<br>
<b>Sent:</b> Wednesday, July 14, 2021 12:44 AM<br>
<b>To:</b> Zulkifli, Muhammad Husaini <muhammad.husaini.zulkifli@intel.com>; intel-wired-lan@osuosl.org; Nguyen, Anthony L <anthony.l.nguyen@intel.com>; Gomes, Vinicius <vinicius.gomes@intel.com><br>
<b>Subject:</b> Re: [Intel-wired-lan] [PATCH v1] igc: Increase timeout value for Speed 100/1000/2500<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 7/10/2021 02:45, Muhammad Husaini Zulkifli wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>As the cycle time is set to maximum of 1s, the TX Hang timeout need to<o:p></o:p></pre>
<pre>be increase to avoid possible TX Hangs caused by using long Qbv cycles.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Signed-off-by: Muhammad Husaini Zulkifli <a href="mailto:muhammad.husaini.zulkifli@intel.com"><muhammad.husaini.zulkifli@intel.com></a><o:p></o:p></pre>
<pre>---<o:p></o:p></pre>
<pre> drivers/net/ethernet/intel/igc/igc_main.c | 4 +++-<o:p></o:p></pre>
<pre> 1 file changed, 3 insertions(+), 1 deletion(-)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c<o:p></o:p></pre>
<pre>index c8abd7fb70e5..99fb5641297d 100644<o:p></o:p></pre>
<pre>--- a/drivers/net/ethernet/intel/igc/igc_main.c<o:p></o:p></pre>
<pre>+++ b/drivers/net/ethernet/intel/igc/igc_main.c<o:p></o:p></pre>
<pre>@@ -5322,7 +5322,9 @@ static void igc_watchdog_task(struct work_struct *work)<o:p></o:p></pre>
<pre>                               adapter->tx_timeout_factor = 14;<o:p></o:p></pre>
<pre>                               break;<o:p></o:p></pre>
<pre>                        case SPEED_100:<o:p></o:p></pre>
<pre>-                              /* maybe add some timeout factor ? */<o:p></o:p></pre>
<pre>+                       case SPEED_1000:<o:p></o:p></pre>
<pre>+                       case SPEED_2500:<o:p></o:p></pre>
<pre>+                              adapter->tx_timeout_factor = 7;<o:p></o:p></pre>
<pre>                               break;<o:p></o:p></pre>
<pre>                        }<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
</blockquote>
<p>Acked-by: Sasha Neftin <a href="mailto:sasha.neftin@intel.com"><sasha.neftin@intel.com></a><o:p></o:p></p>
</div>
</div>
</body>
</html>