Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2033259ybf; Mon, 2 Mar 2020 00:21:01 -0800 (PST) X-Google-Smtp-Source: APXvYqxN7cpyQmppTdivxGBUL+ortQV2Ri+xEnrPJhzNggR1BAczzUUbbKH7G1B8UyXN5FSt+9b9 X-Received: by 2002:aca:aa8b:: with SMTP id t133mr10177987oie.95.1583137261272; Mon, 02 Mar 2020 00:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583137261; cv=none; d=google.com; s=arc-20160816; b=ecHOvHBYXsR71xHSNt1q2h9GGhSf45E0WFbjujEOGxGwuF2RE0kqu0ZleiQ4yUeZEN nN6mvgX9TQ4wSxOWHpym1ZEBOYHpSFB/008If0retIR09MAo1aBZDwEbVzFUiJQBiCCO PWTLX7172392RL5hYThrkNeg7OPniX4gBSvD8EuYQY0EZsul2GA8SroBRUvt14axdAc7 gOQxR+8V3F+MwHeHI/bht7PLX0IDfZmwRSXBiU6AkW79/l4NJHOkD82KS9KIbyuoFKd0 8faeS/vjYOVsnjKG5YOXI08br+WEEdv0gyZ1brEXMMLyEQqGNsgFswXveZQiOQdhx0vn PUlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gjWrehcMH/2WAGRwHUg8kEEvw1Nj/fNbe2aStlwWfk0=; b=dwc8Hv4wfD1khYb5tZPplctyEnVsB8ZiV5k9J8KrNQXVulAYp1fJQgy1exBK3T0CcQ 9GSRYAS924+v7wvAI1kTz4uM01y1OqLWXX27eVdJ0UyYsKs9tW4OdT2ixsR1opcECKxT UXWbiMihqqaER4+dZgkFZTAWT/leZF2QIkHWoiAurvXbhFaYTn5mO0RteMojEdeg6q+2 7TioVtWMIrq7JYpqyQJOUh5ZtKQJMHuilKh0EzVCu7VldqAtEmBZ9u0V3xefXG3VAc8s +n5nEGUZD0Kulk94k/FYlZnjY/UDAB3Fb0NDdxxW8SszgF5GlUYEUQdD3tGfvtv0V32q gFug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ndWbLqoE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3si2782837oih.10.2020.03.02.00.20.49; Mon, 02 Mar 2020 00:21:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ndWbLqoE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727688AbgCBITL (ORCPT + 99 others); Mon, 2 Mar 2020 03:19:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:57070 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727130AbgCBIQU (ORCPT ); Mon, 2 Mar 2020 03:16:20 -0500 Received: from mail.kernel.org (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 20CD0246C7; Mon, 2 Mar 2020 08:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583136979; bh=2McQRtYZ+HSM4VsIstHnjM6JtSpkSFvG8RiBiZEorzw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ndWbLqoE69WGK6FXi41Ia6LIbJWDiORZnkVxnrDHfORpxqDUbINdj3xbWVtOHdfGN CYDHdBvAkOIx4Q7gJ6Qohqs398zgI+6wDybIQUvC5YEanM553EX10GfWOJXGQexiYg LY+QcuRyHB9E+LLp3VtrTRNrfRP7CTsAZ0yNYYWo= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1j8gFN-0003xW-AO; Mon, 02 Mar 2020 09:16:17 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH 12/42] docs: scsi: convert cxgb3i.txt to ReST Date: Mon, 2 Mar 2020 09:15:45 +0100 Message-Id: <0708b62b6ec4f0dddc581e412bb02ba6476f4523.1583136624.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab --- Documentation/scsi/{cxgb3i.txt => cxgb3i.rst} | 22 ++++++++++++------- Documentation/scsi/index.rst | 1 + 2 files changed, 15 insertions(+), 8 deletions(-) rename Documentation/scsi/{cxgb3i.txt => cxgb3i.rst} (86%) diff --git a/Documentation/scsi/cxgb3i.txt b/Documentation/scsi/cxgb3i.rst similarity index 86% rename from Documentation/scsi/cxgb3i.txt rename to Documentation/scsi/cxgb3i.rst index 7ac8032ee9b2..e01f18fbfa9f 100644 --- a/Documentation/scsi/cxgb3i.txt +++ b/Documentation/scsi/cxgb3i.rst @@ -1,4 +1,8 @@ +.. SPDX-License-Identifier: GPL-2.0 + +================================= Chelsio S3 iSCSI Driver for Linux +================================= Introduction ============ @@ -49,7 +53,8 @@ The following steps need to be taken to accelerates the open-iscsi initiator: The cxgb3i module registers a new transport class "cxgb3i" with open-iscsi. - * in the case of recompiling the kernel, the cxgb3i selection is located at + * in the case of recompiling the kernel, the cxgb3i selection is located at:: + Device Drivers SCSI device support ---> [*] SCSI low-level drivers ---> @@ -58,25 +63,26 @@ The following steps need to be taken to accelerates the open-iscsi initiator: 2. Create an interface file located under /etc/iscsi/ifaces/ for the new transport class "cxgb3i". - The content of the file should be in the following format: + The content of the file should be in the following format:: + iface.transport_name = cxgb3i iface.net_ifacename = iface.ipaddress = * if iface.ipaddress is specified, needs to be either the - same as the ethX's ip address or an address on the same subnet. Make - sure the ip address is unique in the network. + same as the ethX's ip address or an address on the same subnet. Make + sure the ip address is unique in the network. 3. edit /etc/iscsi/iscsid.conf The default setting for MaxRecvDataSegmentLength (131072) is too big; - replace with a value no bigger than 15360 (for example 8192): + replace with a value no bigger than 15360 (for example 8192):: node.conn[0].iscsi.MaxRecvDataSegmentLength = 8192 * The login would fail for a normal session if MaxRecvDataSegmentLength is - too big. A error message in the format of - "cxgb3i: ERR! MaxRecvSegmentLength too big. Need to be <= ." - would be logged to dmesg. + too big. A error message in the format of + "cxgb3i: ERR! MaxRecvSegmentLength too big. Need to be <= ." + would be logged to dmesg. 4. To direct open-iscsi traffic to go through cxgb3i's accelerated path, "-I " option needs to be specified with most of the diff --git a/Documentation/scsi/index.rst b/Documentation/scsi/index.rst index 6bb2428c1d56..3809213b83da 100644 --- a/Documentation/scsi/index.rst +++ b/Documentation/scsi/index.rst @@ -16,5 +16,6 @@ Linux SCSI Subsystem bfa bnx2fc BusLogic + cxgb3i scsi_transport_srp/figures -- 2.21.1