diff options
author | James Bottomley <JBottomley@Parallels.com> | 2013-03-01 04:09:51 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-03-01 04:10:08 -0500 |
commit | 3e34c1fc2b51f117045e4a2472572f14ac91df6e (patch) | |
tree | 12c7c79931e657483f965bc944861bc8a6a9694d /Documentation | |
parent | c157750a901d767ecb95f1dbabd0972dee396b1e (diff) | |
parent | 1f953b0dbc2549318afcc0a70af5542dffbce34a (diff) |
[SCSI] Merge tag 'fcoe-02-19-13' into for-linus
FCoE Updates for 3.9
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-fcoe | 45 |
1 files changed, 42 insertions, 3 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-fcoe b/Documentation/ABI/testing/sysfs-bus-fcoe index 50e2a80ea28f..21640eaad371 100644 --- a/Documentation/ABI/testing/sysfs-bus-fcoe +++ b/Documentation/ABI/testing/sysfs-bus-fcoe | |||
@@ -1,14 +1,53 @@ | |||
1 | What: /sys/bus/fcoe/ctlr_X | 1 | What: /sys/bus/fcoe/ |
2 | Date: August 2012 | ||
3 | KernelVersion: TBD | ||
4 | Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org | ||
5 | Description: The FCoE bus. Attributes in this directory are control interfaces. | ||
6 | Attributes: | ||
7 | |||
8 | ctlr_create: 'FCoE Controller' instance creation interface. Writing an | ||
9 | <ifname> to this file will allocate and populate sysfs with a | ||
10 | fcoe_ctlr_device (ctlr_X). The user can then configure any | ||
11 | per-port settings and finally write to the fcoe_ctlr_device's | ||
12 | 'start' attribute to begin the kernel's discovery and login | ||
13 | process. | ||
14 | |||
15 | ctlr_destroy: 'FCoE Controller' instance removal interface. Writing a | ||
16 | fcoe_ctlr_device's sysfs name to this file will log the | ||
17 | fcoe_ctlr_device out of the fabric or otherwise connected | ||
18 | FCoE devices. It will also free all kernel memory allocated | ||
19 | for this fcoe_ctlr_device and any structures associated | ||
20 | with it, this includes the scsi_host. | ||
21 | |||
22 | What: /sys/bus/fcoe/devices/ctlr_X | ||
2 | Date: March 2012 | 23 | Date: March 2012 |
3 | KernelVersion: TBD | 24 | KernelVersion: TBD |
4 | Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org | 25 | Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org |
5 | Description: 'FCoE Controller' instances on the fcoe bus | 26 | Description: 'FCoE Controller' instances on the fcoe bus. |
27 | The FCoE Controller now has a three stage creation process. | ||
28 | 1) Write interface name to ctlr_create 2) Configure the FCoE | ||
29 | Controller (ctlr_X) 3) Enable the FCoE Controller to begin | ||
30 | discovery and login. The FCoE Controller is destroyed by | ||
31 | writing it's name, i.e. ctlr_X to the ctlr_delete file. | ||
32 | |||
6 | Attributes: | 33 | Attributes: |
7 | 34 | ||
8 | fcf_dev_loss_tmo: Device loss timeout peroid (see below). Changing | 35 | fcf_dev_loss_tmo: Device loss timeout peroid (see below). Changing |
9 | this value will change the dev_loss_tmo for all | 36 | this value will change the dev_loss_tmo for all |
10 | FCFs discovered by this controller. | 37 | FCFs discovered by this controller. |
11 | 38 | ||
39 | mode: Display or change the FCoE Controller's mode. Possible | ||
40 | modes are 'Fabric' and 'VN2VN'. If a FCoE Controller | ||
41 | is started in 'Fabric' mode then FIP FCF discovery is | ||
42 | initiated and ultimately a fabric login is attempted. | ||
43 | If a FCoE Controller is started in 'VN2VN' mode then | ||
44 | FIP VN2VN discovery and login is performed. A FCoE | ||
45 | Controller only supports one mode at a time. | ||
46 | |||
47 | enabled: Whether an FCoE controller is enabled or disabled. | ||
48 | 0 if disabled, 1 if enabled. Writing either 0 or 1 | ||
49 | to this file will enable or disable the FCoE controller. | ||
50 | |||
12 | lesb/link_fail: Link Error Status Block (LESB) link failure count. | 51 | lesb/link_fail: Link Error Status Block (LESB) link failure count. |
13 | 52 | ||
14 | lesb/vlink_fail: Link Error Status Block (LESB) virtual link | 53 | lesb/vlink_fail: Link Error Status Block (LESB) virtual link |
@@ -26,7 +65,7 @@ Attributes: | |||
26 | 65 | ||
27 | Notes: ctlr_X (global increment starting at 0) | 66 | Notes: ctlr_X (global increment starting at 0) |
28 | 67 | ||
29 | What: /sys/bus/fcoe/fcf_X | 68 | What: /sys/bus/fcoe/devices/fcf_X |
30 | Date: March 2012 | 69 | Date: March 2012 |
31 | KernelVersion: TBD | 70 | KernelVersion: TBD |
32 | Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org | 71 | Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org |