Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

aoe: document sysfs interface

Documentation has been compiled from git commit logs and descriptions in
Documentation/aoe/aoe.txt. This should be useful for scripting and
tracking changes in the ABI.

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Aishwarya Pant and committed by
Jonathan Corbet
017ac5ca 08810302

+45
+45
Documentation/ABI/testing/sysfs-block-aoe
··· 1 + What: /sys/block/etherd*/mac 2 + Date: Apr, 2005 3 + KernelVersion: v2.6.12 4 + Contact: Ed L. Cashin <ed.cashin@acm.org> 5 + Description: 6 + (RO) The ethernet address of the remote Ata over Ethernet (AoE) 7 + device. 8 + 9 + What: /sys/block/etherd*/netif 10 + Date: Apr, 2005 11 + KernelVersion: v2.6.12 12 + Contact: Ed L. Cashin <ed.cashin@acm.org> 13 + Description: 14 + (RO) The names of the network interfaces on the localhost (comma 15 + separated) through which we are communicating with the remote 16 + AoE device. 17 + 18 + What: /sys/block/etherd*/state 19 + Date: Apr, 2005 20 + KernelVersion: v2.6.12 21 + Contact: Ed L. Cashin <ed.cashin@acm.org> 22 + Description: 23 + (RO) Device status. The state attribute is "up" when the device 24 + is ready for I/O and "down" if detected but unusable. The 25 + "down,closewait" state shows that the device is still open and 26 + cannot come up again until it has been closed. The "up,kickme" 27 + state means that the driver wants to send more commands to the 28 + target but found out there were already the max number of 29 + commands waiting for a response. It will retry again after being 30 + kicked by the periodic timer handler routine. 31 + 32 + What: /sys/block/etherd*/firmware-version 33 + Date: Apr, 2005 34 + KernelVersion: v2.6.12 35 + Contact: Ed L. Cashin <ed.cashin@acm.org> 36 + Description: 37 + (RO) Version of the firmware in the target. 38 + 39 + What: /sys/block/etherd*/payload 40 + Date: Dec, 2012 41 + KernelVersion: v3.10 42 + Contact: Ed L. Cashin <ed.cashin@acm.org> 43 + Description: 44 + (RO) The amount of user data transferred (in bytes) inside each AoE 45 + command on the network, network headers excluded.