From patchwork Wed Feb 12 19:46:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yi-Hung Wei X-Patchwork-Id: 1237063 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=dK2GJ38v; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48HrB22lcKz9s1x for ; Thu, 13 Feb 2020 07:01:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4F6B087E41; Wed, 12 Feb 2020 20:01:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fjuYk3u733-R; Wed, 12 Feb 2020 20:01:10 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 0D82987DDB; Wed, 12 Feb 2020 20:01:10 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id E98D7C07FE; Wed, 12 Feb 2020 20:01:09 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id E182BC0177 for ; Wed, 12 Feb 2020 20:01:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D02E68698E for ; Wed, 12 Feb 2020 20:01:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TBfKLmNuBFLQ for ; Wed, 12 Feb 2020 20:01:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4715686959 for ; Wed, 12 Feb 2020 20:01:07 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id y5so1745942pfb.11 for ; Wed, 12 Feb 2020 12:01:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9UlBg5zuSeONXuNx3g4LUWDkdnsTF/e8k4g4FicAluE=; b=dK2GJ38vy9qxl63j4B51TJ3tMrfozeBkhJPMNAS4sPrZjfS8gGNUQZrFf/9KEycdUX z30PtHZTSwjQZepXl1bwY8uaV+nqxMwklk+TrsbrWMziGIgDiD+OweNkS5tbE1bhh7qP vpTrMpK5Hrqpd1hNebpkXOecwBXL7+LOHuA+TEDuwqSG+Ky/Ize8tOlxskE363FVQv8F Z/kcu172xeLvw6x4DUcuIjKLJ3JZPF1lCNKCr6CWFtNF2RBZnoxUnVenuuZbIJ5P3Oph sIep94DPjAyZPyTOVotApaLMe6VkiYeb6jQOQurK1moF0yfI33IStl0PjgilA8Bw/RZp g5nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9UlBg5zuSeONXuNx3g4LUWDkdnsTF/e8k4g4FicAluE=; b=b39sPqwe/spM4RnPWJv1a06AxeYcCDSsI/2yPZbOGq77yjDFD4sM0yJ67WB2Xy66zN D5/hVhgthi7GqMPiFBze8h5OOasRj9+GPoaorExKXED4qcn0vIQbvQEoYXjUwB4mGhJA /bOPXON6nh0RZbOhAX/zr4+FssOMrvM+OK6Wrv6QFB79BfEhSYHuQa4ToedFAvhdzmvt g6Wqtr6t3117A0XrEVa4vP417GOmCw5TSIJC9oXvOOZSGIGK2YtMXpsT6cTYjIlGWBXe xvffJCxBegbiQq3a/U6HM07h4EB1zmsejHGz3aZ986x63lG8xNlD6XS8Bu2Mri9+TH0k ezVw== X-Gm-Message-State: APjAAAXyLKcidpFIm/fQ0+wDCyJ3wjVLW6mMTbhlb4sg5/iAv20BPKjS vMKsiIkwfK+t45NVBzYrXKYSdxBI X-Google-Smtp-Source: APXvYqxWvVPbLMqLytoDV2plTkVvVbo6m3QFuSRWfOnlWksogHdXaNvqWajkB6OblOo8pbXsC2Vshw== X-Received: by 2002:aa7:9829:: with SMTP id q9mr10394053pfl.31.1581537666304; Wed, 12 Feb 2020 12:01:06 -0800 (PST) Received: from Husky.eng.vmware.com ([66.170.99.2]) by smtp.gmail.com with ESMTPSA id w25sm66816pfi.106.2020.02.12.12.01.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Feb 2020 12:01:04 -0800 (PST) From: Yi-Hung Wei To: dev@openvswitch.org Date: Wed, 12 Feb 2020 11:46:47 -0800 Message-Id: <1581536807-37990-1-git-send-email-yihung.wei@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [ovs-dev] [PATCH] Documentation: Fix literal blocks formating X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Signed-off-by: Yi-Hung Wei Acked-by: Flavio Leitner --- Documentation/faq/openflow.rst | 2 +- Documentation/faq/qos.rst | 2 +- Documentation/howto/selinux.rst | 2 +- Documentation/howto/tunneling.rst | 2 +- Documentation/intro/install/rhel.rst | 2 +- Documentation/topics/userspace-tso.rst | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/faq/openflow.rst b/Documentation/faq/openflow.rst index 8c94891703a8..0111de78a380 100644 --- a/Documentation/faq/openflow.rst +++ b/Documentation/faq/openflow.rst @@ -385,7 +385,7 @@ but OVS drops the packets instead. $ ovs-ofctl add-flow br0 actions=load:0->NXM_OF_IN_PORT[],2,3,4,5,6 If the input port is important, then one may save and restore it on the - stack: + stack:: $ ovs-ofctl add-flow br0 actions=push:NXM_OF_IN_PORT[],\ load:0->NXM_OF_IN_PORT[],\ diff --git a/Documentation/faq/qos.rst b/Documentation/faq/qos.rst index 53ad89809671..33c319166f37 100644 --- a/Documentation/faq/qos.rst +++ b/Documentation/faq/qos.rst @@ -102,7 +102,7 @@ Q: How do I configure ingress policing? A: A policing policy can be configured on an interface to drop packets that arrive at a higher rate than the configured value. For example, the following commands will rate-limit traffic that vif1.0 may generate to - 10Mbps: + 10Mbps:: $ ovs-vsctl set interface vif1.0 ingress_policing_rate=10000 $ ovs-vsctl set interface vif1.0 ingress_policing_burst=8000 diff --git a/Documentation/howto/selinux.rst b/Documentation/howto/selinux.rst index 4809639bc5bc..55c3e39cece4 100644 --- a/Documentation/howto/selinux.rst +++ b/Documentation/howto/selinux.rst @@ -117,7 +117,7 @@ see in Open vSwitch log files "Permission Denied" errors:: However, not all "Permission denied" errors are caused by SELinux. So, before blaming too strict SELinux policy, make sure that indeed SELinux was the one -that denied OVS access to certain resources, for example, run: +that denied OVS access to certain resources, for example, run:: $ grep "openvswitch_t" /var/log/audit/audit.log | tail type=AVC msg=audit(1453235431.640:114671): avc: denied { getopt } for pid=4583 comm="ovs-vswitchd" scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:system_r:openvswitch_t:s0 tclass=netlink_generic_socket permissive=0 diff --git a/Documentation/howto/tunneling.rst b/Documentation/howto/tunneling.rst index 2645b9043e24..2cbca977ba19 100644 --- a/Documentation/howto/tunneling.rst +++ b/Documentation/howto/tunneling.rst @@ -130,7 +130,7 @@ Create a mirrored configuration on `host2` using the same basic steps: $ ovs-vsctl add-port br0 tap1 #. Create the GRE tunnel on `host2`, this time using the IP address for - ``eth0`` on `host1` when specifying the ``remote_ip`` option: + ``eth0`` on `host1` when specifying the ``remote_ip`` option:: $ ovs-vsctl add-port br0 gre0 \ -- set interface gre0 type=gre options:remote_ip= diff --git a/Documentation/intro/install/rhel.rst b/Documentation/intro/install/rhel.rst index 31f0eec3a4bd..b21b274b716a 100644 --- a/Documentation/intro/install/rhel.rst +++ b/Documentation/intro/install/rhel.rst @@ -201,7 +201,7 @@ On RHEL 6, to build the Open vSwitch kernel module run:: $ rpmbuild -bb rhel/kmod-openvswitch-rhel6.spec -You might have to specify a kernel version and/or variants, e.g.: +You might have to specify a kernel version and/or variants, e.g.:: $ rpmbuild -bb \ -D "kversion 2.6.32-131.6.1.el6.x86_64" \ diff --git a/Documentation/topics/userspace-tso.rst b/Documentation/topics/userspace-tso.rst index 94eddc0b2fd0..9da5d7ef2912 100644 --- a/Documentation/topics/userspace-tso.rst +++ b/Documentation/topics/userspace-tso.rst @@ -53,7 +53,7 @@ Enabling TSO The TSO support may be enabled via a global config value ``userspace-tso-enable``. Setting this to ``true`` enables TSO support for -all ports. +all ports.:: $ ovs-vsctl set Open_vSwitch . other_config:userspace-tso-enable=true