<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:"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:"Intel Clear Light";
        panose-1:2 11 4 4 2 2 3 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
@font-face
        {font-family:"Bookman Old Style";
        panose-1:2 5 6 4 5 5 5 2 2 4;}
@font-face
        {font-family:ArialMT;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Bookman Old Style",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma",sans-serif;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Bookman Old Style",serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Intel Clear Light",sans-serif;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.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 lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Intel Clear Light",sans-serif;color:#1F497D">Hi Yun,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Intel Clear Light",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Intel Clear Light",sans-serif;color:#1F497D">Thank you for your patch submission. There is one patch in front of yours. Once that patch has been reviewed and approved, your patch will be reviewed next.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Intel Clear Light",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Intel Clear Light",sans-serif;color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Intel Clear Light",sans-serif;color:#1F497D">Ray<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Intel Clear Light",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> nvmewin-bounces@lists.openfabrics.org [mailto:nvmewin-bounces@lists.openfabrics.org]
<b>On Behalf Of </b>Yun Wang<br>
<b>Sent:</b> Friday, July 24, 2015 6:00 PM<br>
<b>To:</b> nvmewin@lists.openfabrics.org<br>
<b>Subject:</b> [nvmewin] Zero Length for Security Receive and Security Send command<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:blue">Hi:<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:blue">Current OFA driver doesn’t allow zero length for Security Receive and Security Send command.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="color:blue">Per NVMe spec., “</span><span style="font-family:ArialMT">Security Receive command with the Security Protocol field set to 00h shall return information about the security protocols supported
 by the controller. This command is used in the security discovery process and is not associated with a Security Send command. Refer to
<b><span style="color:red">SPC-4</span></b> for the details of Security Protocol 00h and the SP Specific field</span><span style="color:blue">”.
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="color:blue">Per SPC-4 spec., “</span><span style="font-family:ArialMT">a transfer length of zero specifies that no data transfer shall take place. This condition shall not be considered an error</span><span style="color:blue">”,
 zero length of data transfer for Security Protocol 00h should be allowed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue">On the other hand,  for some practices with other Security Protocol, zero length will be needed, too.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:blue">This patch is to allow zero length of data transfer for Security Receive and Security Send command. It has been tested over Win8.1 x64 platform and works as expected. Please review and help merge it into the trunk.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:blue">The password for the attachment is nvme_sec.</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Book Antiqua",serif">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Book Antiqua",serif">Yun Wang<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Book Antiqua",serif">ULINK Technology, Inc.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Book Antiqua",serif">Website: </span>
<a href="www.ulinktech.com%20"><span style="font-family:"Book Antiqua",serif">www.ulinktech.com</span></a><span style="font-family:"Book Antiqua",serif">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Book Antiqua",serif">Office: +1(408) 446-8455
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Book Antiqua",serif">Email: </span>
<a href="mailto:joseph.chen@ulinktech.com"><span style="font-family:"Book Antiqua",serif">yun.wang@ulinktech.com</span></a><span style="font-family:"Book Antiqua",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><a href="http://www.ulinktech.com/"><span style="font-family:"Book Antiqua",serif;text-decoration:none"><img border="0" width="106" height="34" id="Picture_x0020_1" src="cid:image001.jpg@01D0CADB.F1F3A6F0" alt="ulink logo 2"></span></a><span style="font-size:11.0pt;font-family:"Book Antiqua",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Book Antiqua",serif">DISCLAIMER: The information contained in this message is confidential and may be legally privileged. If you are not the intended recipient (or have received this e-mail in error),
 please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>