From patchwork Mon May 25 18:15:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Westphal X-Patchwork-Id: 218583 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66975C433E0 for ; Mon, 25 May 2020 18:15:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4C16020723 for ; Mon, 25 May 2020 18:15:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388184AbgEYSPZ (ORCPT ); Mon, 25 May 2020 14:15:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387644AbgEYSPZ (ORCPT ); Mon, 25 May 2020 14:15:25 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDEC3C061A0E for ; Mon, 25 May 2020 11:15:24 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1jdHdC-0007kn-Bc; Mon, 25 May 2020 20:15:22 +0200 From: Florian Westphal To: Cc: matthieu.baerts@tessares.net, mathew.j.martineau@linux.intel.com, Paolo Abeni Subject: [PATCH v2 net-next 0/2] mptcp: adjust tcp rcvspace on rx Date: Mon, 25 May 2020 20:15:06 +0200 Message-Id: <20200525181508.13492-1-fw@strlen.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org These two patches improve mptcp throughput by making sure tcp grows the receive buffer when we move skbs from subflow socket to the mptcp socket. The second patch moves mptcp receive buffer increase to the recvmsg path, i.e. we only change its size when userspace processes/consumes the data. This is done by using the largest rcvbuf size of the active subflows.