nvme-fabrics: centralize discovery controller defaults
authorHannes Reinecke <hare@suse.de>
Thu, 24 May 2018 14:18:15 +0000 (16:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 May 2018 14:50:12 +0000 (16:50 +0200)
commit461fbc8f0ed1ac18ce6b7bf7ab0b7444f7c7ff57
tree46c4eb92a064c1e0b0d8ed89f010cb4d4e9aabf1
parentffecb0b452d5cbdd2ac3614bdf6cd39ba47b0cb8
nvme-fabrics: centralize discovery controller defaults

When connecting to the discovery controller we have certain defaults
to observe, so centralize them to avoid inconsistencies due to argument
ordering.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.c