From: Arnaldo Carvalho de Melo <acme@mandriva.com>
To: dccp@vger.kernel.org
Subject: [PATCH 10/9] [DCCP]: Adds the tx buffer sysctls
Date: Mon, 20 Nov 2006 21:21:00 +0000 [thread overview]
Message-ID: <20061120212059.GK5246@mandriva.com> (raw)
David, this was a latecomer, its there together with the previous 9.
Best Regards,
- Arnaldo
This one got lost on the way from Ian to Gerrit to me, fix it.
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
------------------------------------------------------------------------------
Documentation/networking/dccp.txt | 4 ++++
include/linux/sysctl.h | 1 +
net/dccp/sysctl.c | 9 +++++++++
3 files changed, 14 insertions(+)
------------------------------------------------------------------------------
diff --git a/Documentation/networking/dccp.txt b/Documentation/networking/dccp.txt
index 1910d09..dda1588 100644
--- a/Documentation/networking/dccp.txt
+++ b/Documentation/networking/dccp.txt
@@ -100,6 +100,10 @@ rx_ccid = 2
seq_window = 100
The initial sequence window (sec. 7.5.2).
+tx_qlen = 5
+ The size of the transmit buffer in packets. A value of 0 corresponds
+ to an unbounded transmit buffer.
+
Notes
==
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 2e8c5ad..61dd99c 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -617,6 +617,7 @@ enum {
NET_DCCP_DEFAULT_REQ_RETRIES = 7,
NET_DCCP_DEFAULT_RETRIES1 = 8,
NET_DCCP_DEFAULT_RETRIES2 = 9,
+ NET_DCCP_DEFAULT_TX_QLEN = 10,
};
/* /proc/sys/net/ipx */
diff --git a/net/dccp/sysctl.c b/net/dccp/sysctl.c
index 8b62061..4775ba3 100644
--- a/net/dccp/sysctl.c
+++ b/net/dccp/sysctl.c
@@ -91,6 +91,15 @@ static struct ctl_table dccp_default_tab
.mode = 0644,
.proc_handler = proc_dointvec,
},
+ {
+ .ctl_name = NET_DCCP_DEFAULT_TX_QLEN,
+ .procname = "tx_qlen",
+ .data = &sysctl_dccp_tx_qlen,
+ .maxlen = sizeof(sysctl_dccp_tx_qlen),
+ .mode = 0644,
+ .proc_handler = proc_dointvec,
+ },
+
{ .ctl_name = 0, }
};
reply other threads:[~2006-11-20 21:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061120212059.GK5246@mandriva.com \
--to=acme@mandriva.com \
--cc=dccp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.