diff options
author | Daniel Verkamp <daniel.verkamp@intel.com> | 2016-06-28 20:20:23 +0200 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2016-08-19 11:00:44 +0200 |
commit | 7a665d2f60b457c0d77b3e4f01e21c55ffc57069 (patch) | |
tree | b57083a9b2a3c70e96d857c9c8ad5a3b49a2448b /drivers/nvme/host/fabrics.h | |
parent | nvme-loop: set sqsize to 0-based value, per spec (diff) | |
download | linux-7a665d2f60b457c0d77b3e4f01e21c55ffc57069.tar.xz linux-7a665d2f60b457c0d77b3e4f01e21c55ffc57069.zip |
nvme-fabrics: change NQN UUID to big-endian format
NVM Express 1.2.1 section 7.9, NVMe Qualified Names, specifies that the
UUID format of NQN uses a UUID based on RFC 4122.
RFC 4122 specifies that the UUID is encoded in big-endian byte order.
Switch the NVMe over Fabrics host ID field from little-endian UUID to
big-endian UUID to match the specification.
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/nvme/host/fabrics.h')
-rw-r--r-- | drivers/nvme/host/fabrics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/fabrics.h b/drivers/nvme/host/fabrics.h index 89df52c8be97..46e460aee52d 100644 --- a/drivers/nvme/host/fabrics.h +++ b/drivers/nvme/host/fabrics.h @@ -34,7 +34,7 @@ struct nvmf_host { struct kref ref; struct list_head list; char nqn[NVMF_NQN_SIZE]; - uuid_le id; + uuid_be id; }; /** |