From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Matveev Subject: [PATCH 1/2] Update description of net.sctp.sctp_rmem and net.sctp.sctp_wmem tunables Date: Mon, 20 Jun 2011 18:08:10 +1000 Message-ID: <20110704083605.AF9C28156C57@regina.usersys.redhat.com> Cc: netdev@vger.kernel.org To: linux-sctp@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:22342 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752927Ab1GDIgH (ORCPT ); Mon, 4 Jul 2011 04:36:07 -0400 Sender: netdev-owner@vger.kernel.org List-ID: sctp does not use second and third ("default" and "max") values of sctp_(r|w)mem tunables. The format is the same and tcp_(r|w)mem but the meaning is different so make the documentation explicit to avoid confusion. Signed-off-by: Max Matveev --- Documentation/networking/ip-sysctl.txt | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index d3d653a..f37d374 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt @@ -1465,10 +1465,17 @@ sctp_mem - vector of 3 INTEGERs: min, pressure, max Default is calculated at boot time from amount of available memory. sctp_rmem - vector of 3 INTEGERs: min, default, max - See tcp_rmem for a description. + Only the first value ("min") is used, "default" and "max" are + ignored and may be removed in the future versions. + + min: Minimal size of receive buffer used by SCTP socket. + It is guaranteed to each STCP socket (but not association) even + under moderate memory pressure. + + Default: 1 page sctp_wmem - vector of 3 INTEGERs: min, default, max - See tcp_wmem for a description. + Currently this tunable has no effect. addr_scope_policy - INTEGER Control IPv4 address scoping - draft-stewart-tsvwg-sctp-ipv4-00 -- 1.7.3.3