Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1415888

Re: [PATCH 4/8] nvme: add fabrics sysfs attributes

From Johannes Thumshirn <jthumshirn@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH 4/8] nvme: add fabrics sysfs attributes
Date 2016-06-07 11:00 +0200
Message-ID <rHl1D-tV-17@gated-at.bofh.it> (permalink)
References <rHafT-1OH-3@gated-at.bofh.it> <rHafV-1OH-73@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jun 06, 2016 at 11:21:55PM +0200, Christoph Hellwig wrote:
> - delete_controller: This attribute allows to delete a controller.
>   A driver is not obligated to support it (pci doesn't) so it is
>   created only if the driver supports it. The new fabrics drivers
>   will support it (essentialy a disconnect operation).
> 
>   Usage:
>   echo > /sys/class/nvme/nvme0/delete_controller
> 
> - subsysnqn: This attribute shows the subsystem nqn of the configured
>   device. If a driver does not implement the get_subsysnqn method, the
>   file will not appear in sysfs.
> 
> - transport: This attribute shows the transport name. Added a "name"
>   field to struct nvme_ctrl_ops.
> 
>   For loop,
>   cat /sys/class/nvme/nvme0/transport
>   loop
> 
>   For RDMA,
>   cat /sys/class/nvme/nvme0/transport
>   rdma
> 
>   For PCIe,
>   cat /sys/class/nvme/nvme0/transport
>   pcie
> 
> - address: This attributes shows the controller address. The fabrics
>   drivers that will implement get_address can show the address of the
>   connected controller.
> 
>   example:
>   cat /sys/class/nvme/nvme0/address
>   traddr=192.168.2.2,trsvcid=1023

Can you please add this to Documentation/ABI/ as well?

-- 
Johannes Thumshirn                                          Storage
jthumshirn@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

generic NVMe over Fabrics library support Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
  [PATCH 5/8] nvme.h: add NVMe over Fabrics definitions Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
  [PATCH 8/8] nvme: add keep-alive support Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
  [PATCH 2/8] nvme: allow transitioning from NEW to LIVE state Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
  [PATCH 4/8] nvme: add fabrics sysfs attributes Christoph Hellwig <hch@lst.de> - 2016-06-06 23:30 +0200
    Re: [PATCH 4/8] nvme: add fabrics sysfs attributes Johannes Thumshirn <jthumshirn@suse.de> - 2016-06-07 11:00 +0200
      Re: [PATCH 4/8] nvme: add fabrics sysfs attributes Christoph Hellwig <hch@lst.de> - 2016-06-07 13:00 +0200
    Re: [PATCH 4/8] nvme: add fabrics sysfs attributes Christoph Hellwig <hch@lst.de> - 2016-06-07 17:30 +0200

csiph-web