From patchwork Thu Jun 14 19:00:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Pettit X-Patchwork-Id: 929639 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ovn.org Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 416CgB0LvBz9s19 for ; Fri, 15 Jun 2018 05:02:46 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id B7BE3E46; Thu, 14 Jun 2018 19:00:57 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 8B95DDE1 for ; Thu, 14 Jun 2018 19:00:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 7B7296AA for ; Thu, 14 Jun 2018 19:00:52 +0000 (UTC) Received: from ubuntu-ct.localdomain (unknown [195.50.135.69]) (Authenticated sender: jpettit@ovn.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id DF40D200013 for ; Thu, 14 Jun 2018 19:00:50 +0000 (UTC) From: Justin Pettit To: dev@openvswitch.org Date: Thu, 14 Jun 2018 12:00:46 -0700 Message-Id: <1529002847-108864-4-git-send-email-jpettit@ovn.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529002847-108864-1-git-send-email-jpettit@ovn.org> References: <1529002847-108864-1-git-send-email-jpettit@ovn.org> X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH 4/5] dpctl.man: Some minor cleanups to the dpctl man page. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Signed-off-by: Justin Pettit --- lib/dpctl.man | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/lib/dpctl.man b/lib/dpctl.man index 51c401c31ae9..a6917bd0b29b 100644 --- a/lib/dpctl.man +++ b/lib/dpctl.man @@ -217,7 +217,7 @@ do not apply specifically to one datapath. .DO "[\fB\-m\fR | \fB\-\-more\fR] [\fB\-s\fR | \fB\-\-statistics\fR]" "\*(DX\fBdump\-conntrack\fR" "[\fIdp\fR] [\fBzone=\fIzone\fR]" Prints to the console all the connection entries in the tracker used by \fIdp\fR. If \fBzone=\fIzone\fR is specified, only shows the connections -in \fBzone\fR. With \fB\-\-more\fR, some implementation specific details +in \fIzone\fR. With \fB\-\-more\fR, some implementation specific details are included. With \fB\-\-statistics\fR timeouts and timestamps are added to the output. . @@ -243,33 +243,32 @@ An example of an IPv6 TCP \fIct-tuple\fR: .DO "[\fB\-m\fR | \fB\-\-more\fR]" "\*(DX\fBct\-stats\-show\fR [\fIdp\fR] [\fBzone=\fIzone\fR]" Displays the number of connections grouped by protocol used by \fIdp\fR. If \fBzone=\fIzone\fR is specified, numbers refer to the connections in -\fBzone\fR. With \fB\-\-more\fR, groups by connection state for each +\fIzone\fR. With \fB\-\-more\fR, groups by connection state for each protocol. . .TP -\*(DX\fBct\-bkts\fR [\fIdp\fR] [\fBgt=\fIThreshold\fR] -For each ConnTracker bucket, displays the number of connections used +\*(DX\fBct\-bkts\fR [\fIdp\fR] [\fBgt=\fIthreshold\fR] +For each conntrack bucket, displays the number of connections used by \fIdp\fR. -If \fBgt=\fIThreshold\fR is specified, bucket numbers are displayed when -the number of connections in a bucket is greater than \fIThreshold\fR. +If \fBgt=\fIthreshold\fR is specified, bucket numbers are displayed when +the number of connections in a bucket is greater than \fIthreshold\fR. . .TP -\*(DX\fBct\-set\-maxconns\fR [\fIdp\fR] \fBparam\fR -Set the maximum limit of connection tracker connections. -Can be used to reduce the processing load on the system due to -connection tracking or simply limiting connection tracking. -If the number of connections is already beyond the new maximum limit -request for the number of connections then the new maximum limit will -be enforced when the number of connections decreases to that limit, which -normally happens due to connection expiry. Only supported for userspace -datapath. +\*(DX\fBct\-set\-maxconns\fR [\fIdp\fR] \fImaxconns\fR +Sets the maximum limit of connection tracker entries to \fImaxconns\fR +on \fIdp\fR. This can be used to reduce the processing load on the +system due to connection tracking or simply limiting connection +tracking. If the number of connections is already over the new maximum +limit request then the new maximum limit will be enforced when the +number of connections decreases to that limit, which normally happens +due to connection expiry. Only supported for userspace datapath. . .TP \*(DX\fBct\-get\-maxconns\fR [\fIdp\fR] -Read the maximum limit of connection tracker connections. +Prints the maximum limit of connection tracker entries on \fIdp\fR. Only supported for userspace datapath. . .TP \*(DX\fBct\-get\-nconns\fR [\fIdp\fR] -Read the current number of connection tracker connections. +Prints the current number of connection tracker entries on \fIdp\fR. Only supported for userspace datapath.