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.133.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 A9D5EBA2F for ; Thu, 25 May 2023 07:17:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684999050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kA5ng6s1GIUQemM9y0FpjicKnwW+svfphIrYriRnQXg=; b=XRuELQ9kdVtMrWg5QDMsJGSqNVwLkh06gjX27tVy1vM31/mOQ7yv8YD7N0XURGujWUJZYK zc+y+MzdecNXzMUu04TWHnkE/DN7Dl5pGF6uaGJMxufEXrTIGEYZZ3yJZuAQaPXUVUS5sD rZC4K5+hIAVdOgtQqnXSq6SqiRQhm34= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-226-2NN33sVHN-S7_T562dFooQ-1; Thu, 25 May 2023 03:17:27 -0400 X-MC-Unique: 2NN33sVHN-S7_T562dFooQ-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 B8A253C13502; Thu, 25 May 2023 07:17:26 +0000 (UTC) Received: from gerbillo.redhat.com (unknown [10.39.193.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 23E27492B0B; Thu, 25 May 2023 07:17:25 +0000 (UTC) From: Paolo Abeni To: mptcp@lists.linux.dev Cc: Florian Westphal Subject: [PATCH v6 mptcp-next 0/6] mptcp: add some more diag info Date: Thu, 25 May 2023 09:17:07 +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 Sorry for the high-freq spamming. I really want to close this topic and move forward. 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". v5 -> v6: - fix another compiler warning v4 -> v5: - changed again binary layout for MPTCP_FULL_INFO structs (Matttbe) - fixed 32bit build issue - reordered the patches, less controversial first v3 -> v4: - change binary layout for MPTCP_FULL_INFO structs (Florian) v2 -> v3: - address Matttbe comments on patch 1, 2 and 5, see the indivdual patches changelog for the details 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: move snd_una update earlier for fallback socket. mptcp: track some aggregate data counters. selftests: mptcp: explicitly tests aggregate counters mptcp: add subflow unique id mptcp: introduce MPTCP_FULL_INFO getsockopt selftests: mptcp: add MPTCP_FULL_INFO testcase include/uapi/linux/mptcp.h | 29 ++++ net/mptcp/options.c | 14 +- net/mptcp/protocol.c | 24 ++- net/mptcp/protocol.h | 9 +- net/mptcp/sockopt.c | 149 +++++++++++++++++- net/mptcp/subflow.c | 2 + .../selftests/net/mptcp/mptcp_sockopt.c | 118 +++++++++++++- 7 files changed, 326 insertions(+), 19 deletions(-) -- 2.40.1