Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4708622yba; Wed, 10 Apr 2019 03:16:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTIcNKs/EMOpRv8ECn9ix4oATgnnApApMvHyQJUgWZDa2v8gdDqvJ+uEfSh8NP/PVkTANd X-Received: by 2002:a65:4689:: with SMTP id h9mr40803435pgr.295.1554891408976; Wed, 10 Apr 2019 03:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554891408; cv=none; d=google.com; s=arc-20160816; b=wNA2wUNRDh3SYmACSQY01OLT4WSnXsWmaGyZyuOkMJ0TGFPi492TPgcLyZzeyhBumq PanRS3oGmjh5s60mIQb44UzRAWhQjd3qRGdsQ9xcuNyV6+K5DUcgXt66krFTRLuIgU6+ MPf6Z73pMtlh9zwf5MVe7icFuT7r0CyQFvjpp1bLIds3C8ccLP2cElEiG6Usk+BfA+AB ko+eY2Pj0gfxSdWPPL9/b7DUHfdu84ZgvNoWa94HHOUgWXru/qt6ug/tpLM0mreW1nIM an5PLQUOegBt0ormJzvR1r0diycG889JQl28IdsuxBnCVUzm8ueOXS2hOhLmzFIVxQrI stIw== 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=LjqWFQd9f4udM9lpSAPOlXKEaiWBGg47uilrc82cBF4=; b=xgMju8X7pH5WAB1sK2dZ+iGTgiNKBbPlh12ko26J6OMSl65AaT5TGmmiCKcdlzzwxR EasU3GV0sBDGHR8+7wsLDP2zAbNG2UJffHwbGqj9q3NWkTiOPIbrVkNx5OqeN74X2T6c Zo3TssOFpPJKKedB87E8mDdD4jntM6x+I0mKXWLRK1rmzl8j9OmO1PmGCXDkppYHfYk2 Kk+ty/1qm47I6hc3AjleKkdd4GjL9aN2jICIHb+ksMwD9+xgihXW6z4Q3WuGQSr/iuVJ LIhy4G3Ovy25m4FCvgJ080q2whqyZK4Aq8I1IQ7HxLyEyar8P914xrdrlAr3SFt8nIJ8 clWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TSIfJeKg; 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=fail (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 d34si2324901pla.224.2019.04.10.03.16.32; Wed, 10 Apr 2019 03:16:48 -0700 (PDT) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TSIfJeKg; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730365AbfDJJ4m (ORCPT + 99 others); Wed, 10 Apr 2019 05:56:42 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:60566 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730335AbfDJJ4j (ORCPT ); Wed, 10 Apr 2019 05:56:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LjqWFQd9f4udM9lpSAPOlXKEaiWBGg47uilrc82cBF4=; b=TSIfJeKgzFVi5wrZEIhCbEyaAx OHDQyIG2OOffR0siWt2TJftO7LYL+YFnsXUVuYM89iFPjC7CZx50z5m9xVfzpX1bNYTGSc2/b5oos rqI3L4qLDLcOTUpceWtJESTE6ta91YizIVKUtQIgzNfoRl714E3UV5WDcy7VWv7xU/0Jh/CrEden+ cOaPD3eurEAV+Q6U9NcYMoZtM+uCtb4WtEvehHUow0cut66Us4PBjhkNh2EXQh9/0zWrxYRaRUsSF JZCpwqRQLcxDGRhviGoOYrFhcm/syGKd224VuZRzl/f29lJZhH9rlAIhg/Vjb65bOob5VDcgGyTgC z4gkpofw==; Received: from 177.41.129.23.dynamic.adsl.gvt.net.br ([177.41.129.23] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hE9yA-0003D3-Vd; Wed, 10 Apr 2019 09:56:38 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hE9y3-0000o9-Pp; Wed, 10 Apr 2019 06:56:31 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH 4/8] docs: ntb.txt: use Sphinx notation for the two ascii figures Date: Wed, 10 Apr 2019 06:56:23 -0300 Message-Id: X-Mailer: git-send-email 2.20.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 In order to make it to build with Sphinx, we need to fix the notation for two ascii artwork. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ntb.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/ntb.txt b/Documentation/ntb.txt index a043854d28df..344a075f81f5 100644 --- a/Documentation/ntb.txt +++ b/Documentation/ntb.txt @@ -41,9 +41,10 @@ mainly used to perform the proper memory window initialization. Typically there are two types of memory window interfaces supported by the NTB API: inbound translation configured on the local ntb port and outbound translation configured by the peer, on the peer ntb port. The first type is -depicted on the next figure +depicted on the next figure:: + + Inbound translation: -Inbound translation: Memory: Local NTB Port: Peer NTB Port: Peer MMIO: ____________ | dma-mapped |-ntb_mw_set_trans(addr) | @@ -58,9 +59,10 @@ maps corresponding outbound memory window so to have access to the shared memory region. The second type of interface, that implies the shared windows being -initialized by a peer device, is depicted on the figure: +initialized by a peer device, is depicted on the figure:: + + Outbound translation: -Outbound translation: Memory: Local NTB Port: Peer NTB Port: Peer MMIO: ____________ ______________ | dma-mapped | | | MW base addr |<== memory-mapped IO -- 2.20.1