From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46F0F13AD9 for ; Mon, 22 May 2023 13:56:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684763810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z1DOat5LuvTu2cz+0JHVxBZRgXBiiTlCxdDxfrjLa9M=; b=A9SQrCcjQmMtH75sr3e6X/dQBGRRiKU/lAv/IlrW4iTqVMwp3uCq87DVe3kBNVHXqNDaGB lTq9HgpN7abpXSXjZgZA6NehL2J2mH/HuJU7M0Vo0rLlPz9HpWeD4XF9GHnFGENO+jgxz0 9pZrr4XlqswbVK8Coo9qK9fGPWYSyZk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-577-s0WKeOM0NeyS-m0UwZATAg-1; Mon, 22 May 2023 09:56:48 -0400 X-MC-Unique: s0WKeOM0NeyS-m0UwZATAg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 97AB6811E7F for ; Mon, 22 May 2023 13:56:48 +0000 (UTC) Received: from gerbillo.redhat.com (unknown [10.39.194.191]) by smtp.corp.redhat.com (Postfix) with ESMTP id C25F5492B0A for ; Mon, 22 May 2023 13:56:47 +0000 (UTC) From: Paolo Abeni To: mptcp@lists.linux.dev Subject: [PATCH mptcp-next v2 0/6] mptcp: add some more diag info Date: Mon, 22 May 2023 15:56:26 +0200 Message-Id: Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true This is a follow up to the topic discussed in recent pubblic mtg. Introduces unique id for accurate subflow stats tracking and aggregate mptcp counters, plus some minimal self-tests. The tests themself do not take in account support for running on older kernel. This is on top of "mptcp: a bunch of data race fixes". There should be non trivial conflicts with: "mptcp: use get_retrans wrapper". v1 -> v2: - introduce MPTCP_FULL_INFO instead of overloading a tcp_info field - add related self-tests - fix a couple of subflow_id initialization bugs Paolo Abeni (6): mptcp: add subflow unique id mptcp: introduce MPTCP_FULL_INFO getsockopt mptcp: move snd_una update earlier for fallback socket. mptcp: track some aggregate data counters. selftests: mptcp: explicitly tests aggregate counters selftests: mptcp: add MPTCP_FULL_INFO testcase include/uapi/linux/mptcp.h | 17 +++ net/mptcp/options.c | 14 ++- net/mptcp/protocol.c | 22 ++-- net/mptcp/protocol.h | 9 +- net/mptcp/sockopt.c | 97 ++++++++++++++++- net/mptcp/subflow.c | 2 + .../selftests/net/mptcp/mptcp_sockopt.c | 103 +++++++++++++++++- 7 files changed, 248 insertions(+), 16 deletions(-) -- 2.40.1