Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp746999ybz; Fri, 1 May 2020 07:51:25 -0700 (PDT) X-Google-Smtp-Source: APiQypKhOh/rYMllw08KuHc/LZRaOcB8StthNwN3DgsJahkoTMMFCamlxCDPSlizBVU7+Qh5lCIv X-Received: by 2002:a17:906:af67:: with SMTP id os7mr3495947ejb.182.1588344685749; Fri, 01 May 2020 07:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588344685; cv=none; d=google.com; s=arc-20160816; b=gnMG1Fol9gPcYG3nzseKL39GcH1xLsYBRTp+1Qsr4G9PWfQMaAecBui8JsAMMv7xVJ ej0dwpEKPwOWOqGgLiwJU1Uosqt/+/t59eH+ALWG8k/74JqDQ2syIb/5irwUwYqEf7Ma 6a5Zxn+Lyv+1L8kWgVNnUfYcWXCxomHsuXHuRHNsQnUE71FJQXkyQGMVfMNhXjAWtosT FzV2uoWNhhgGkfdycapp/IUuRrrIziouswxkKBkc1kNZXIAiBoMPvzFP6oXUv0oFfaBG 39kt1EE2o4dpe1Lmj5jjNdcoy9+CWf51NKw8N0+78TB9pSl2Cq5FURJlFUWkrlRiYFRo AO3Q== 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=wIyy16tV9wL1Yf2nlDrwHXsZwYc0qiokHeXj6S6JHL4=; b=LiuIK06E12c4g4o2gOmvPSr0VGQVEJ8dD7wL72xY1YNdFsSQ3Ylw1iq04mBvROplc4 U0c+hnuubj7VMQ+dFqvjY9EGoTrGr3AM5Z5WZKPA6N5F3NwfPTcBwIicBjXp+ZNBqwFH DnMzTLPpAtZYafos9CJ4UYG2vF2rij3mLTAo3d7+p/qA75h/5kga5XjAG3NZiTHRsAfM /BJCImBfKB55R7SJ7fHMcXKPJzxFPMH9EcUAxN93OQan9q21jNEIJzQMNnum0MEwfszB tcWUcd32l9ZWb7OPrxDN5hON2iZM7CRezu7Bs7sczGeZB/KrvRyLkDwFGD4bA2KaRi8S V49g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="XS/5CnfN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id t13si1838764eds.358.2020.05.01.07.51.02; Fri, 01 May 2020 07:51:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="XS/5CnfN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729973AbgEAOsv (ORCPT + 99 others); Fri, 1 May 2020 10:48:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:52552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729334AbgEAOpH (ORCPT ); Fri, 1 May 2020 10:45:07 -0400 Received: from mail.kernel.org (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (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 162D32495A; Fri, 1 May 2020 14:45:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588344305; bh=qnf8XB2sEvNbUjilUQrtdoc9qtKZcKErFRomPjC8WmU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XS/5CnfNpKA3CcZvL9fHS7jl56bXpsuK5ZmPcFI79Cvhyh0XsfkprkBD7DQyOIXJi 6TWwHNH3pZ+dMZ6kc+yTYEO0KYySfMN39aUEnqzs38y9oK02PVdb9iyM67Aqousl3t tJPcMS55MA789/A1mlJ9aF/2Y1/uCfMIZVsIf0y8= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jUWuT-00FCcm-BV; Fri, 01 May 2020 16:45:01 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , "David S. Miller" , Jakub Kicinski , Andrew Hendry , netdev@vger.kernel.org, linux-x25@vger.kernel.org Subject: [PATCH 05/37] docs: networking: convert x25-iface.txt to ReST Date: Fri, 1 May 2020 16:44:27 +0200 Message-Id: <747ea578cab7a4329ad7eca89581ade529d445c0.1588344146.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.25.4 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 Not much to be done here: - add SPDX header; - adjust title markup; - remove a tail whitespace; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/index.rst | 1 + .../networking/{x25-iface.txt => x25-iface.rst} | 10 ++++++++-- include/uapi/linux/if_x25.h | 2 +- net/x25/Kconfig | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) rename Documentation/networking/{x25-iface.txt => x25-iface.rst} (96%) diff --git a/Documentation/networking/index.rst b/Documentation/networking/index.rst index a72fdfb391b6..7a4bdbc111b0 100644 --- a/Documentation/networking/index.rst +++ b/Documentation/networking/index.rst @@ -115,6 +115,7 @@ Contents: udplite vrf vxlan + x25-iface .. only:: subproject and html diff --git a/Documentation/networking/x25-iface.txt b/Documentation/networking/x25-iface.rst similarity index 96% rename from Documentation/networking/x25-iface.txt rename to Documentation/networking/x25-iface.rst index 7f213b556e85..df401891dce6 100644 --- a/Documentation/networking/x25-iface.txt +++ b/Documentation/networking/x25-iface.rst @@ -1,4 +1,10 @@ - X.25 Device Driver Interface 1.1 +.. SPDX-License-Identifier: GPL-2.0 + +============================- +X.25 Device Driver Interface +============================- + +Version 1.1 Jonathan Naylor 26.12.96 @@ -99,7 +105,7 @@ reduced by the following measures or a combination thereof: (1) Drivers for kernel versions 2.4.x and above should always check the return value of netif_rx(). If it returns NET_RX_DROP, the driver's LAPB protocol must not confirm reception of the frame - to the peer. + to the peer. This will reliably suppress packet loss. The LAPB protocol will automatically cause the peer to re-transmit the dropped packet later. diff --git a/include/uapi/linux/if_x25.h b/include/uapi/linux/if_x25.h index 5d962448345f..3a5938e38370 100644 --- a/include/uapi/linux/if_x25.h +++ b/include/uapi/linux/if_x25.h @@ -18,7 +18,7 @@ #include -/* Documentation/networking/x25-iface.txt */ +/* Documentation/networking/x25-iface.rst */ #define X25_IFACE_DATA 0x00 #define X25_IFACE_CONNECT 0x01 #define X25_IFACE_DISCONNECT 0x02 diff --git a/net/x25/Kconfig b/net/x25/Kconfig index 2ecb2e5e241e..a328f79885d1 100644 --- a/net/x25/Kconfig +++ b/net/x25/Kconfig @@ -21,7 +21,7 @@ config X25 . Information about X.25 for Linux is contained in the files and - . + . One connects to an X.25 network either with a dedicated network card using the X.21 protocol (not yet supported by Linux) or one can do -- 2.25.4