[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADVnQynbZcHSUffbiW8WU1-s6js0zkh3jz-z949xQm2ePmGg6w@mail.gmail.com>
Date: Fri, 28 Jul 2017 19:15:07 -0400
From: Neal Cardwell <ncardwell@...gle.com>
To: Natale Patriciello <natale.patriciello@...il.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
James Morris <jmorris@...ei.org>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Patrick McHardy <kaber@...sh.net>,
netdev <netdev@...r.kernel.org>,
Ahmed Said <ahmed.said@...roma2.it>,
Francesco Zampognaro <zampognaro@....uniroma2.it>,
Cesare Roseti <roseti@....uniroma2.it>
Subject: Re: [RFC PATCH v1 5/5] wave: Added basic version of TCP Wave
On Fri, Jul 28, 2017 at 3:59 PM, Natale Patriciello
<natale.patriciello@...il.com> wrote:
> TCP Wave (TCPW) replaces the window-based transmission paradigm of the
> standard TCP with a burst-based transmission, the ACK-clock scheduling
> with a self-managed timer and the RTT-based congestion control loop
> with an Ack-based Capacity and Congestion Estimation (ACCE) module. In
> non-technical words, it sends data down the stack when its internal
> timer expires, and the timing of the received ACKs contribute to
> updating this timer regularly.
>
> It is the first TCP congestion control that uses the timing constraint
> developed in the Linux kernel.
>
> Signed-off-by: Natale Patriciello <natale.patriciello@...il.com>
> Tested-by: Ahmed Said <ahmed.said@...roma2.it>
> ---
> MAINTAINERS | 6 +
> net/ipv4/Kconfig | 16 +
> net/ipv4/Makefile | 1 +
> net/ipv4/tcp_output.c | 4 +-
> net/ipv4/tcp_wave.c | 914 ++++++++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 940 insertions(+), 1 deletion(-)
> create mode 100644 net/ipv4/tcp_wave.c
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 767e9d202adf..39c57bdc417d 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -12427,6 +12427,12 @@ W: http://tcp-lp-mod.sourceforge.net/
> S: Maintained
> F: net/ipv4/tcp_lp.c
>
> +TCP WAVE MODULE
> +M: "Natale Patriciello" <natale.patriciello@...il.com>
> +W: http://tcp-lp-mod.sourceforge.net/
This URL does not work for me... I get "Unable to connect to database server".
> @@ -2522,7 +2522,9 @@ void tcp_push_one(struct sock *sk, unsigned int mss_now)
> {
> struct sk_buff *skb = tcp_send_head(sk);
>
> - BUG_ON(!skb || skb->len < mss_now);
> + /* Don't be forced to send not meaningful data */
> + if (!skb || skb->len < mss_now)
> + return;
>
> tcp_write_xmit(sk, mss_now, TCP_NAGLE_PUSH, 1, sk->sk_allocation);
> }
This seems unrelated to the rest of the patch, and should probably be
its own patch? Also, IMHO it would be better to leave at least a
WARN_ON or WARN_ON_ONCE here, rather than completely turning this into
a silent failure.
thanks,
neal
Powered by blists - more mailing lists