[nvmewin] Zero Length for Security Receive and Security Send command
Yun Wang
yun.wang at ulinktech.com
Fri Jul 24 18:00:01 PDT 2015
Hi:
Current OFA driver doesn't allow zero length for Security Receive and
Security Send command.
Per NVMe spec., "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 SPC-4 for the
details of Security Protocol 00h and the SP Specific field".
Per SPC-4 spec., "a transfer length of zero specifies that no data transfer
shall take place. This condition shall not be considered an error", zero
length of data transfer for Security Protocol 00h should be allowed.
On the other hand, for some practices with other Security Protocol, zero
length will be needed, too.
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.
The password for the attachment is nvme_sec.
Best Regards,
Yun Wang
ULINK Technology, Inc.
Website: www.ulinktech.com
Office: +1(408) 446-8455
Email: <mailto:joseph.chen at ulinktech.com> yun.wang at ulinktech.com
<http://www.ulinktech.com/> ulink logo 2
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20150724/bdbfd01d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1628 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20150724/bdbfd01d/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zero_length_for_SecurityReceive_SecuritySend.zip
Type: application/octet-stream
Size: 187215 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20150724/bdbfd01d/attachment.obj>
More information about the nvmewin
mailing list