On Sun, 2018-02-18 at 13:04 -0800, Eric Dumazet wrote: > > Can you please test the following patch ? > > Note that some cleanups can be done later in TCP stack, removing lots > of legacy stuff. > > Also TCP internal-pacing could benefit from something similar to this > fq patch eventually, although there is no hurry. > https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=fefa569a9d4bc4b7758c0fddd75bb0382c95da77 > > > Of course, you have to consider why SG was disabled on your device, > this looks very pessimistic. > > Thanks ! > > include/net/sock.h | 1 + > net/core/sock.c | 2 +- > net/ipv4/tcp_ipv4.c | 1 + > net/ipv6/tcp_ipv6.c | 1 + > 4 files changed, 4 insertions(+), 1 deletion(-)
Also note that the patch only deals with active connections. My official patch will also take care of passive ones of course.