|
@@ -834,6 +834,14 @@ static inline __u32 tcp_current_ssthresh(const struct sock *sk)
|
|
|
extern void tcp_enter_cwr(struct sock *sk, const int set_ssthresh);
|
|
|
extern __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst);
|
|
|
|
|
|
+/* The maximum number of MSS of available cwnd for which TSO defers
|
|
|
+ * sending if not using sysctl_tcp_tso_win_divisor.
|
|
|
+ */
|
|
|
+static inline __u32 tcp_max_tso_deferred_mss(const struct tcp_sock *tp)
|
|
|
+{
|
|
|
+ return 3;
|
|
|
+}
|
|
|
+
|
|
|
/* Slow start with delack produces 3 packets of burst, so that
|
|
|
* it is safe "de facto". This will be the default - same as
|
|
|
* the default reordering threshold - but if reordering increases,
|