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

scsi: docs: convert cxgb3i.txt to ReST

Link: https://lore.kernel.org/r/0708b62b6ec4f0dddc581e412bb02ba6476f4523.1583136624.git.mchehab+huawei@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Mauro Carvalho Chehab and committed by
Martin K. Petersen
d2ba7ca3 977b899c

+15 -8
+14 -8
Documentation/scsi/cxgb3i.txt Documentation/scsi/cxgb3i.rst
··· 1 + .. SPDX-License-Identifier: GPL-2.0 2 + 3 + ================================= 1 4 Chelsio S3 iSCSI Driver for Linux 5 + ================================= 2 6 3 7 Introduction 4 8 ============ ··· 53 49 54 50 The cxgb3i module registers a new transport class "cxgb3i" with open-iscsi. 55 51 56 - * in the case of recompiling the kernel, the cxgb3i selection is located at 52 + * in the case of recompiling the kernel, the cxgb3i selection is located at:: 53 + 57 54 Device Drivers 58 55 SCSI device support ---> 59 56 [*] SCSI low-level drivers ---> ··· 63 58 2. Create an interface file located under /etc/iscsi/ifaces/ for the new 64 59 transport class "cxgb3i". 65 60 66 - The content of the file should be in the following format: 61 + The content of the file should be in the following format:: 62 + 67 63 iface.transport_name = cxgb3i 68 64 iface.net_ifacename = <ethX> 69 65 iface.ipaddress = <iscsi ip address> 70 66 71 67 * if iface.ipaddress is specified, <iscsi ip address> needs to be either the 72 - same as the ethX's ip address or an address on the same subnet. Make 73 - sure the ip address is unique in the network. 68 + same as the ethX's ip address or an address on the same subnet. Make 69 + sure the ip address is unique in the network. 74 70 75 71 3. edit /etc/iscsi/iscsid.conf 76 72 The default setting for MaxRecvDataSegmentLength (131072) is too big; 77 - replace with a value no bigger than 15360 (for example 8192): 73 + replace with a value no bigger than 15360 (for example 8192):: 78 74 79 75 node.conn[0].iscsi.MaxRecvDataSegmentLength = 8192 80 76 81 77 * The login would fail for a normal session if MaxRecvDataSegmentLength is 82 - too big. A error message in the format of 83 - "cxgb3i: ERR! MaxRecvSegmentLength <X> too big. Need to be <= <Y>." 84 - would be logged to dmesg. 78 + too big. A error message in the format of 79 + "cxgb3i: ERR! MaxRecvSegmentLength <X> too big. Need to be <= <Y>." 80 + would be logged to dmesg. 85 81 86 82 4. To direct open-iscsi traffic to go through cxgb3i's accelerated path, 87 83 "-I <iface file name>" option needs to be specified with most of the
+1
Documentation/scsi/index.rst
··· 16 16 bfa 17 17 bnx2fc 18 18 BusLogic 19 + cxgb3i 19 20 20 21 scsi_transport_srp/figures