diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-18 18:36:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-18 18:36:04 -0500 |
commit | 1ea406c0e08c717241275064046d29b5bac1b1db (patch) | |
tree | 6cc1f4badbc565f9e2d45651413c04bfacf4e366 /Documentation | |
parent | a709bd585f291b9a6d0a3691ab4a0b9d3300a7a1 (diff) | |
parent | b4fdf52b3fc8dd3ce13ece334f5fdff869705429 (diff) |
Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
Pull infiniband/rdma updates from Roland Dreier:
- Re-enable flow steering verbs with new improved userspace ABI
- Fixes for slow connection due to GID lookup scalability
- IPoIB fixes
- Many fixes to HW drivers including mlx4, mlx5, ocrdma and qib
- Further improvements to SRP error handling
- Add new transport type for Cisco usNIC
* tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (66 commits)
IB/core: Re-enable create_flow/destroy_flow uverbs
IB/core: extended command: an improved infrastructure for uverbs commands
IB/core: Remove ib_uverbs_flow_spec structure from userspace
IB/core: Use a common header for uverbs flow_specs
IB/core: Make uverbs flow structure use names like verbs ones
IB/core: Rename 'flow' structs to match other uverbs structs
IB/core: clarify overflow/underflow checks on ib_create/destroy_flow
IB/ucma: Convert use of typedef ctl_table to struct ctl_table
IB/cm: Convert to using idr_alloc_cyclic()
IB/mlx5: Fix page shift in create CQ for userspace
IB/mlx4: Fix device max capabilities check
IB/mlx5: Fix list_del of empty list
IB/mlx5: Remove dead code
IB/core: Encorce MR access rights rules on kernel consumers
IB/mlx4: Fix endless loop in resize CQ
RDMA/cma: Remove unused argument and minor dead code
RDMA/ucma: Discard events for IDs not yet claimed by user space
IB/core: Add Cisco usNIC rdma node and transport types
RDMA/nes: Remove self-assignment from nes_query_qp()
IB/srp: Report receive errors correctly
...
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/stable/sysfs-driver-ib_srp | 13 | ||||
-rw-r--r-- | Documentation/ABI/stable/sysfs-transport-srp | 39 |
2 files changed, 52 insertions, 0 deletions
diff --git a/Documentation/ABI/stable/sysfs-driver-ib_srp b/Documentation/ABI/stable/sysfs-driver-ib_srp index 5c53d28f775c..b9688de8455b 100644 --- a/Documentation/ABI/stable/sysfs-driver-ib_srp +++ b/Documentation/ABI/stable/sysfs-driver-ib_srp | |||
@@ -61,6 +61,12 @@ Description: Interface for making ib_srp connect to a new target. | |||
61 | interrupt is handled by a different CPU then the comp_vector | 61 | interrupt is handled by a different CPU then the comp_vector |
62 | parameter can be used to spread the SRP completion workload | 62 | parameter can be used to spread the SRP completion workload |
63 | over multiple CPU's. | 63 | over multiple CPU's. |
64 | * tl_retry_count, a number in the range 2..7 specifying the | ||
65 | IB RC retry count. | ||
66 | * queue_size, the maximum number of commands that the | ||
67 | initiator is allowed to queue per SCSI host. The default | ||
68 | value for this parameter is 62. The lowest supported value | ||
69 | is 2. | ||
64 | 70 | ||
65 | What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev | 71 | What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev |
66 | Date: January 2, 2006 | 72 | Date: January 2, 2006 |
@@ -153,6 +159,13 @@ Contact: linux-rdma@vger.kernel.org | |||
153 | Description: InfiniBand service ID used for establishing communication with | 159 | Description: InfiniBand service ID used for establishing communication with |
154 | the SRP target. | 160 | the SRP target. |
155 | 161 | ||
162 | What: /sys/class/scsi_host/host<n>/sgid | ||
163 | Date: February 1, 2014 | ||
164 | KernelVersion: 3.13 | ||
165 | Contact: linux-rdma@vger.kernel.org | ||
166 | Description: InfiniBand GID of the source port used for communication with | ||
167 | the SRP target. | ||
168 | |||
156 | What: /sys/class/scsi_host/host<n>/zero_req_lim | 169 | What: /sys/class/scsi_host/host<n>/zero_req_lim |
157 | Date: September 20, 2006 | 170 | Date: September 20, 2006 |
158 | KernelVersion: 2.6.18 | 171 | KernelVersion: 2.6.18 |
diff --git a/Documentation/ABI/stable/sysfs-transport-srp b/Documentation/ABI/stable/sysfs-transport-srp index b36fb0dc13c8..ec7af69fea0a 100644 --- a/Documentation/ABI/stable/sysfs-transport-srp +++ b/Documentation/ABI/stable/sysfs-transport-srp | |||
@@ -5,6 +5,24 @@ Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org | |||
5 | Description: Instructs an SRP initiator to disconnect from a target and to | 5 | Description: Instructs an SRP initiator to disconnect from a target and to |
6 | remove all LUNs imported from that target. | 6 | remove all LUNs imported from that target. |
7 | 7 | ||
8 | What: /sys/class/srp_remote_ports/port-<h>:<n>/dev_loss_tmo | ||
9 | Date: February 1, 2014 | ||
10 | KernelVersion: 3.13 | ||
11 | Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org | ||
12 | Description: Number of seconds the SCSI layer will wait after a transport | ||
13 | layer error has been observed before removing a target port. | ||
14 | Zero means immediate removal. Setting this attribute to "off" | ||
15 | will disable the dev_loss timer. | ||
16 | |||
17 | What: /sys/class/srp_remote_ports/port-<h>:<n>/fast_io_fail_tmo | ||
18 | Date: February 1, 2014 | ||
19 | KernelVersion: 3.13 | ||
20 | Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org | ||
21 | Description: Number of seconds the SCSI layer will wait after a transport | ||
22 | layer error has been observed before failing I/O. Zero means | ||
23 | failing I/O immediately. Setting this attribute to "off" will | ||
24 | disable the fast_io_fail timer. | ||
25 | |||
8 | What: /sys/class/srp_remote_ports/port-<h>:<n>/port_id | 26 | What: /sys/class/srp_remote_ports/port-<h>:<n>/port_id |
9 | Date: June 27, 2007 | 27 | Date: June 27, 2007 |
10 | KernelVersion: 2.6.24 | 28 | KernelVersion: 2.6.24 |
@@ -12,8 +30,29 @@ Contact: linux-scsi@vger.kernel.org | |||
12 | Description: 16-byte local SRP port identifier in hexadecimal format. An | 30 | Description: 16-byte local SRP port identifier in hexadecimal format. An |
13 | example: 4c:49:4e:55:58:20:56:49:4f:00:00:00:00:00:00:00. | 31 | example: 4c:49:4e:55:58:20:56:49:4f:00:00:00:00:00:00:00. |
14 | 32 | ||
33 | What: /sys/class/srp_remote_ports/port-<h>:<n>/reconnect_delay | ||
34 | Date: February 1, 2014 | ||
35 | KernelVersion: 3.13 | ||
36 | Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org | ||
37 | Description: Number of seconds the SCSI layer will wait after a reconnect | ||
38 | attempt failed before retrying. Setting this attribute to | ||
39 | "off" will disable time-based reconnecting. | ||
40 | |||
15 | What: /sys/class/srp_remote_ports/port-<h>:<n>/roles | 41 | What: /sys/class/srp_remote_ports/port-<h>:<n>/roles |
16 | Date: June 27, 2007 | 42 | Date: June 27, 2007 |
17 | KernelVersion: 2.6.24 | 43 | KernelVersion: 2.6.24 |
18 | Contact: linux-scsi@vger.kernel.org | 44 | Contact: linux-scsi@vger.kernel.org |
19 | Description: Role of the remote port. Either "SRP Initiator" or "SRP Target". | 45 | Description: Role of the remote port. Either "SRP Initiator" or "SRP Target". |
46 | |||
47 | What: /sys/class/srp_remote_ports/port-<h>:<n>/state | ||
48 | Date: February 1, 2014 | ||
49 | KernelVersion: 3.13 | ||
50 | Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org | ||
51 | Description: State of the transport layer used for communication with the | ||
52 | remote port. "running" if the transport layer is operational; | ||
53 | "blocked" if a transport layer error has been encountered but | ||
54 | the fast_io_fail_tmo timer has not yet fired; "fail-fast" | ||
55 | after the fast_io_fail_tmo timer has fired and before the | ||
56 | "dev_loss_tmo" timer has fired; "lost" after the | ||
57 | "dev_loss_tmo" timer has fired and before the port is finally | ||
58 | removed. | ||