Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4920227imm; Tue, 26 Jun 2018 02:54:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeOTPfdBbrMAZhoOIBlS6fKrxEkByZvqodA6nX7OhlCsJiIKQJeUIp1j42EjBwFl2f50+pL X-Received: by 2002:a65:665a:: with SMTP id z26-v6mr348008pgv.193.1530006841432; Tue, 26 Jun 2018 02:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530006841; cv=none; d=google.com; s=arc-20160816; b=masnWSAcyY7QWFk++4+ZkRheIyqa57K+bS59BAAel3x+H9EyWRq/QhQARGuW8Fq6Nc AW5eo8Kc5H/cnKlloZinCKRdBI0gEzjjafamBPNDtsvB3pFNehmVBKDpA2+Wm+jigl+G wjuqoDXspfH7R1R7vxpCdgf8zxs5GW5rYoQp3nAg1T0ozT7/H9m/S+JjlGU4zNlC9Pu/ +6skxC0HT2Pol5IKeYSqiI3cs3oqQ01cqKXAKPfcpUnxVSGfv1vS7pejeqzwy9wgovsl ffi9Eq+JhebaUSjUBiCvj6+r3jfUHKIhC7ycxnq8VWotcNr0l7xWxydcqTSqMRGX3fsJ rjEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=94sTacMBLiHOL2dTHeDJr7jNb9kK0P+BUvQy6RfaxLg=; b=hDQzpfQneQyxu/ugLizubC/M2nA2j/vmcRE9nXy1GRfVJ55Ct8G0x3OG/QodTTzHOD tqsFI3AEcyjTrtQ1K47xXYCD1tzfa2k/lLn2I4Dh3MTUFjmNH6bLbcSPrK4C/j3ZZeF2 HKlLoxy0EDeUooN22rbwCjKkqjSBVnwCDBILVOeaz59T2/yjmzrngmOibQMsu3x/WLzM eKdIoQNlsAuQj4UxMAIQIzT8PRMLP5/aPK8Lx0SCDrY4gQs4QpzgCmonCCtIjE4EZVVP OswxKKa5QcMgRIArMeRzfnIHb6oHafhkCtCnEDUbvnTasPlif3v+dxfC22nWZblk4PYS Xokw== ARC-Authentication-Results: i=1; mx.google.com; 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 c11-v6si1121245pgt.686.2018.06.26.02.53.47; Tue, 26 Jun 2018 02:54:01 -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; 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 S934232AbeFZJvs (ORCPT + 99 others); Tue, 26 Jun 2018 05:51:48 -0400 Received: from osg.samsung.com ([64.30.133.232]:50565 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933481AbeFZJtS (ORCPT ); Tue, 26 Jun 2018 05:49:18 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 51C0330BAA; Tue, 26 Jun 2018 02:49:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nxjdd3fLdDuu; Tue, 26 Jun 2018 02:49:17 -0700 (PDT) Received: from smtp.s-opensource.com (177.41.130.70.dynamic.adsl.gvt.net.br [177.41.130.70]) by osg.samsung.com (Postfix) with ESMTPSA id 6A58530B87; Tue, 26 Jun 2018 02:49:16 -0700 (PDT) Received: from mchehab by smtp.s-opensource.com with local (Exim 4.91) (envelope-from ) id 1fXkb4-0000m6-9b; Tue, 26 Jun 2018 06:49:14 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Jeff Kirsher , "David S. Miller" , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org Subject: [PATCH 7/9] networking: e100.rst: Get rid of Sphinx warnings Date: Tue, 26 Jun 2018 06:49:09 -0300 Message-Id: <48ca5da5770c63ec56e9e9df76e3528c1bcb4414.1530005114.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Documentation/networking/e100.rst:57: WARNING: Literal block expected; none found. Documentation/networking/e100.rst:68: WARNING: Literal block expected; none found. Documentation/networking/e100.rst:75: WARNING: Literal block expected; none found. Documentation/networking/e100.rst:84: WARNING: Literal block expected; none found. Documentation/networking/e100.rst:93: WARNING: Inline emphasis start-string without end-string. While here, fix some highlights. Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/e100.rst | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/Documentation/networking/e100.rst b/Documentation/networking/e100.rst index 9708f5fa76de..f81111eba9c5 100644 --- a/Documentation/networking/e100.rst +++ b/Documentation/networking/e100.rst @@ -47,41 +47,45 @@ Driver Configuration Parameters The default value for each parameter is generally the recommended setting, unless otherwise noted. -Rx Descriptors: Number of receive descriptors. A receive descriptor is a data +Rx Descriptors: + Number of receive descriptors. A receive descriptor is a data structure that describes a receive buffer and its attributes to the network controller. The data in the descriptor is used by the controller to write data from the controller to host memory. In the 3.x.x driver the valid range for this parameter is 64-256. The default value is 256. This parameter can be changed using the command:: - ethtool -G eth? rx n + ethtool -G eth? rx n Where n is the number of desired Rx descriptors. -Tx Descriptors: Number of transmit descriptors. A transmit descriptor is a data +Tx Descriptors: + Number of transmit descriptors. A transmit descriptor is a data structure that describes a transmit buffer and its attributes to the network controller. The data in the descriptor is used by the controller to read data from the host memory to the controller. In the 3.x.x driver the valid range for this parameter is 64-256. The default value is 128. This parameter can be changed using the command:: - ethtool -G eth? tx n + ethtool -G eth? tx n Where n is the number of desired Tx descriptors. -Speed/Duplex: The driver auto-negotiates the link speed and duplex settings by +Speed/Duplex: + The driver auto-negotiates the link speed and duplex settings by default. The ethtool utility can be used as follows to force speed/duplex.:: - ethtool -s eth? autoneg off speed {10|100} duplex {full|half} + ethtool -s eth? autoneg off speed {10|100} duplex {full|half} NOTE: setting the speed/duplex to incorrect values will cause the link to fail. -Event Log Message Level: The driver uses the message level flag to log events +Event Log Message Level: + The driver uses the message level flag to log events to syslog. The message level can be set at driver load time. It can also be set using the command:: - ethtool -s eth? msglvl n + ethtool -s eth? msglvl n Additional Configurations @@ -92,7 +96,7 @@ Configuring the Driver on Different Distributions Configuring a network driver to load properly when the system is started is distribution dependent. Typically, the configuration process involves -adding an alias line to /etc/modprobe.d/*.conf as well as editing other +adding an alias line to `/etc/modprobe.d/*.conf` as well as editing other system startup scripts and/or configuration files. Many popular Linux distributions ship with tools to make these changes for you. To learn the proper way to configure a network device for your system, refer to @@ -160,7 +164,10 @@ This results in unbalanced receive traffic. If you have multiple interfaces in a server, either turn on ARP filtering by -(1) entering:: echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter +(1) entering:: + + echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter + (this only works if your kernel's version is higher than 2.4.5), or (2) installing the interfaces in separate broadcast domains (either -- 2.17.1