<html 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:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="en-VN" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I checked the NC-SI driver source, the driver will work difference when the interface have multiple package or multiple channel.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Such as:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#6A9955">If multi_channel is enabled configure all valid</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#6A9955">                         * channels whether or not they currently have link</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#6A9955">                         * so they will have AENs enabled.</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#6A9955">By default the search is done once an inactive channel with up</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#6A9955">         * link is found, unless a preferred channel is set.</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#6A9955">         * If multi_package or multi_channel are configured all channels in the</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#6A9955">         * whitelist are added to the channel queue.</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Look that the code:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">multi_channel is set in ncsi_set_channel_mask_nl base on the configuration of NCSI_ATTR_MULTI_FLAG.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">multi_package is set in ncsi_set_package_mask_nl  base on the configuration of NCSI_ATTR_MULTI_FLAG.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Do we have any special reason to add this option?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What should I do to enable this option?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">As my understanding, multi_channel  and multi_package  will be mapped with the number of  the physical package/channel on OCP card.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In the driver, we have section to add/remove the package or channel in functions ncsi_add/remove_package,  ncsi_add/remove_channel.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Why don’t we update multi_channel  and multi_package  in these function as below?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:36.0pt;line-height:20.25pt;background:#1E1E1E">
<span lang="EN-US" style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE"></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">ndp</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">package_num</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">++;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">     </span><span style="font-size:13.5pt;font-family:Menlo;color:#C586C0">if</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">
 (</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">ndp</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">package_num</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">
 > </span><span style="font-size:13.5pt;font-family:Menlo;color:#B5CEA8">1</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">               
</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">ndp</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">multi_package</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">
 = </span><span style="font-size:13.5pt;font-family:Menlo;color:#569CD6">true</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">       
</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">ndp</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">package_num</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">--;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">       
</span><span style="font-size:13.5pt;font-family:Menlo;color:#C586C0">if</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"> (</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">ndp</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">package_num</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">
 <= </span><span style="font-size:13.5pt;font-family:Menlo;color:#B5CEA8">1</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">               
</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">ndp</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">multi_package</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">
 = </span><span style="font-size:13.5pt;font-family:Menlo;color:#569CD6">false</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:36.0pt;line-height:20.25pt;background:#1E1E1E">
<span lang="EN-US" style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">    </span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">np</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">channel_num</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">++;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">       
</span><span style="font-size:13.5pt;font-family:Menlo;color:#C586C0">if</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"> (</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">np</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">channel_num</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">
 > </span><span style="font-size:13.5pt;font-family:Menlo;color:#B5CEA8">1</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">               
</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">np</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">multi_channel</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">
 = </span><span style="font-size:13.5pt;font-family:Menlo;color:#569CD6">true</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">       
</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">np</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">channel_num</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">--;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">       
</span><span style="font-size:13.5pt;font-family:Menlo;color:#C586C0">if</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4"> (</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">np</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">channel_num</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">
 <= </span><span style="font-size:13.5pt;font-family:Menlo;color:#B5CEA8">1</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:20.25pt;background:#1E1E1E"><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">               
</span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">np</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">-></span><span style="font-size:13.5pt;font-family:Menlo;color:#9CDCFE">multi_channel</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">
 = </span><span style="font-size:13.5pt;font-family:Menlo;color:#569CD6">false</span><span style="font-size:13.5pt;font-family:Menlo;color:#D4D4D4">;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thu Nguyen. <o:p></o:p></span></p>
</div>
</body>
</html>