netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neal Cardwell <ncardwell@google.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, Neal Cardwell <ncardwell@google.com>,
	Van Jacobson <vanj@google.com>, Yuchung Cheng <ycheng@google.com>,
	Nandita Dukkipati <nanditad@google.com>,
	Eric Dumazet <edumazet@google.com>,
	Soheil Hassas Yeganeh <soheil@google.com>
Subject: [PATCH v2 net-next 12/16] tcp: export tcp_mss_to_mtu() for congestion control modules
Date: Sat, 17 Sep 2016 13:35:45 -0400	[thread overview]
Message-ID: <1474133749-12895-13-git-send-email-ncardwell@google.com> (raw)
In-Reply-To: <1474133749-12895-1-git-send-email-ncardwell@google.com>

Export tcp_mss_to_mtu(), so that congestion control modules can use
this to help calculate a pacing rate.

Signed-off-by: Van Jacobson <vanj@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Nandita Dukkipati <nanditad@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
---
 net/ipv4/tcp_output.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 0bf3d48..7d025a7 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1362,6 +1362,7 @@ int tcp_mss_to_mtu(struct sock *sk, int mss)
 	}
 	return mtu;
 }
+EXPORT_SYMBOL(tcp_mss_to_mtu);
 
 /* MTU probing init per socket */
 void tcp_mtup_init(struct sock *sk)
-- 
2.8.0.rc3.226.g39d4020

  parent reply	other threads:[~2016-09-17 17:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-17 17:35 [PATCH v2 net-next 00/16] tcp: BBR congestion control algorithm Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 01/16] tcp: cdg: rename struct minmax in tcp_cdg.c to avoid a naming conflict Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 02/16] lib/win_minmax: windowed min or max estimator Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 03/16] tcp: use windowed min filter library for TCP min_rtt estimation Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 04/16] net_sched: sch_fq: add low_rate_threshold parameter Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 05/16] tcp: switch back to proper tcp_skb_cb size check in tcp_init() Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 06/16] tcp: count packets marked lost for a TCP connection Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 07/16] tcp: track data delivery rate " Neal Cardwell
2016-09-17 19:04   ` kbuild test robot
2016-09-17 19:09     ` Eric Dumazet
2016-09-17 17:35 ` [PATCH v2 net-next 08/16] tcp: track application-limited rate samples Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 09/16] tcp: export data delivery rate Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 10/16] tcp: allow congestion control module to request TSO skb segment count Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 11/16] tcp: export tcp_tso_autosize() and parameterize minimum number of TSO segments Neal Cardwell
2016-09-17 17:35 ` Neal Cardwell [this message]
2016-09-17 17:35 ` [PATCH v2 net-next 13/16] tcp: allow congestion control to expand send buffer differently Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 14/16] tcp: new CC hook to set sending rate with rate_sample in any CA state Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 15/16] tcp: increase ICSK_CA_PRIV_SIZE from 64 bytes to 88 Neal Cardwell
2016-09-17 17:35 ` [PATCH v2 net-next 16/16] tcp_bbr: add BBR congestion control Neal Cardwell

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=1474133749-12895-13-git-send-email-ncardwell@google.com \
    --to=ncardwell@google.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=nanditad@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=soheil@google.com \
    --cc=vanj@google.com \
    --cc=ycheng@google.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).