From patchwork Fri Oct 18 02:20:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Chia-Yu Chang (Nokia)" X-Patchwork-Id: 13840988 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2071.outbound.protection.outlook.com [40.107.20.71]) (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 CBFB482488 for ; Fri, 18 Oct 2024 02:21:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.71 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729218073; cv=fail; b=HGgJYpuJRj16QaiQRTp3QTf1ZCGG7DiaKBpCr2TAKlom9/XVQyJvQkpG5oRtSfsrVMXMsjhPfprC8oSGI7y3md9j/fCIN3gB4d7ohLb2VFRQ+XRYNG3D0QLuXJ2fcmpwM7OQR2HXxKnyJWC8VXRbuX0qbw2DJbj0+UV+aSgdipY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729218073; c=relaxed/simple; bh=YGKMkNZ3aAm9eukBslO3OmQNlZGHPjcxaZGy2Bgdj2k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=I8EbbTwPsGFmaUxMSnIxQrgSO5ixlPDvjjjgIQ/A3vQKQo61hCBZLoP2h4NWJ2qsCvn3V/lFZAiI1wCHaClMvsMwy+aFwXUxp3qGGP4C9qNg07Tag+7bvdpVUsOlwHNPdsk7+muTTM6yagesJWdXTIB4tHimcf41Y1yhwGayqvA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nokia-bell-labs.com; spf=fail smtp.mailfrom=nokia-bell-labs.com; dkim=pass (2048-bit key) header.d=nokia-bell-labs.com header.i=@nokia-bell-labs.com header.b=qnOKKMIw; arc=fail smtp.client-ip=40.107.20.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nokia-bell-labs.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nokia-bell-labs.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nokia-bell-labs.com header.i=@nokia-bell-labs.com header.b="qnOKKMIw" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=J7RU5xXvAKId2jlgplgr8ETXEyMT2mAtmNDt1GlbSuempcYHUDFe2DhV61rw+P/i4W6KcjEqj2rQMYg7dZwJHrHTFk+qtuOGxN2jOKQcQPjZAofAJHmCUcAIi2b+ul+k8KLseva7U3WQv2YQ+weL0OAoDckPehN3BJxs9GumV2NMFzlJUDQ5EU7cISmWUnln8Ze5D+ptujsP92AdolN6Ewonc6oSgst0kvPT/w3MkdJ7GGnUgIFSRMaX1Dy8yBp875YfnwYeIjgYEFFR4hgXUOZtiU+82d8OgqV4/tOBMeIIgRI3b2P+HUGgy47DvwoTY/rm8HbFNo6J1SBSd00zUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=y1GniyA0oNZaWZ3hYJBf1UMy85pPBhxwnim1KCZWz6E=; b=gzzR/F1mhJDkvM4zTiyv8L0ASGZ2thhfK80beepY7HJ/gf7bJY1sgpTWDGNoe0n+9L46iHNJfUsrmkfOV0Wc5VTzK5505EA4t0EzjoUblj8+2C++ucnXk2ZM6ByeH8KZvsUV2aiEtszq65PUlK4oX7QFJU8ul4MgY2+6w9LND1dx4+CLUuA4vnj3NIzUv6J0Xp1q6C4E9eOFKGOYmYQWJ2Fkda3Gx8MYQNAWjt0zIjsqjkQMH4VLZX1PU0N/mDKzlriElzVqGOTfdpKVpSA2+SWnO0WwCjMRZOk2dQ4LnU8TfIPgBYhuBqS2LnjFCr6WSFyoOyGe0J8C0S/bqY5ONw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 131.228.6.100) smtp.rcpttodomain=nokia-bell-labs.com smtp.mailfrom=nokia-bell-labs.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nokia-bell-labs.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia-bell-labs.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y1GniyA0oNZaWZ3hYJBf1UMy85pPBhxwnim1KCZWz6E=; b=qnOKKMIwkl9Ukym8Ndvb1jDcq79t8HwZf2d7cY83aWbl4B0xZhGbtC2MIeRvl2peVT3UPgQ8jQf0VzXv1fppBu/R2Xbi/P0MHOeaWnp27OjmgFwBvUdbL2M5kOW36owDRHaJzApWpmEyZCM45BzXIk0EIlRm1j0EElcDOmlCUzc/PB2GDHpM4nXBnUqzNe8Kc68OU0S2Ww0k1qDEeJ7zkp0iadrfusuH0gbF9Q2WnEEw6NWpNCRAS0az4Y6/68CQXdSl9CglcgYx25Xis0o9388yzWH6ykS5FUycY4mmHl5nJQi/1MPKjGovPp0T0jlAwyavAw4y0rAIVYkATfNMAg== Received: from AS9PR07CA0060.eurprd07.prod.outlook.com (2603:10a6:20b:46b::31) by AS2PR07MB9053.eurprd07.prod.outlook.com (2603:10a6:20b:544::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.17; Fri, 18 Oct 2024 02:21:07 +0000 Received: from AM1PEPF000252DB.eurprd07.prod.outlook.com (2603:10a6:20b:46b:cafe::cf) by AS9PR07CA0060.outlook.office365.com (2603:10a6:20b:46b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.10 via Frontend Transport; Fri, 18 Oct 2024 02:21:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 131.228.6.100) smtp.mailfrom=nokia-bell-labs.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nokia-bell-labs.com; Received-SPF: Pass (protection.outlook.com: domain of nokia-bell-labs.com designates 131.228.6.100 as permitted sender) receiver=protection.outlook.com; client-ip=131.228.6.100; helo=fr711usmtp2.zeu.alcatel-lucent.com; pr=C Received: from fr711usmtp2.zeu.alcatel-lucent.com (131.228.6.100) by AM1PEPF000252DB.mail.protection.outlook.com (10.167.16.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.17 via Frontend Transport; Fri, 18 Oct 2024 02:21:07 +0000 Received: from sarah.nbl.nsn-rdnet.net (sarah.nbl.nsn-rdnet.net [10.0.73.150]) by fr711usmtp2.zeu.alcatel-lucent.com (GMO) with ESMTP id 49I2L0MU023685; Fri, 18 Oct 2024 02:21:01 GMT From: chia-yu.chang@nokia-bell-labs.com To: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, dsahern@kernel.org, ij@kernel.org, ncardwell@google.com, koen.de_schepper@nokia-bell-labs.com, g.white@CableLabs.com, ingemar.s.johansson@ericsson.com, mirja.kuehlewind@ericsson.com, cheshire@apple.com, rs.ietf@gmx.at, Jason_Livingood@comcast.com, vidhi_goel@apple.com Cc: Chia-Yu Chang Subject: [PATCH v2 net-next 00/14] AccECN protocol preparation patch series Date: Fri, 18 Oct 2024 04:20:37 +0200 Message-Id: <20241018022051.39966-1-chia-yu.chang@nokia-bell-labs.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM1PEPF000252DB:EE_|AS2PR07MB9053:EE_ X-MS-Office365-Filtering-Correlation-Id: 304b8e29-404a-4abc-9a00-08dcef1b8664 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|36860700013|82310400026|7416014|1800799024|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?e9D/kH6qIzb6g+yAYyWOmBWTfzAdcPY?= =?utf-8?q?w2UaSWn3yrMb+U3d0S1gk+yTypU/eu2C1r8v3T2VvJfYoxdBXUO4KUmWVWudz+I+Z?= =?utf-8?q?e94qwYtVT4zjd+tDUdyI0+WhCqVjiujf2eUwRtwcGOJVL5lTvfn02OOOO6Eg5fFfl?= =?utf-8?q?6GIBovD9Dv3rlst0pCBRHUxR5yoXZKr8f2F6h6qGUXZTfkhU5e+FJhZq6tmcStp7X?= =?utf-8?q?ObyDxt6yUmiMxg/7cgzjE/rvPQtNifMdGtPPcgRStDmsFl6UJirfGUA6dwF5bnzcr?= =?utf-8?q?+iXLXjJt56HqKo1KUisY3WritmwdWQLibsrNsZAlhsQ38Yv488nqfa2IBWh/KsHsp?= =?utf-8?q?6uwbC4mt5HgHlrQMvARFhztyl/w0MmVqPCUPVZc689P+LJInmVvkZ6uVRTPW5kGBp?= =?utf-8?q?bnsZreK5fN+qBPYkF8YbtH8HNLbgJJAbswa6dobvxYjEH1+L8jdMehqSD3qGS+04H?= =?utf-8?q?CMoi+S1tAGp1LRHpLUuDGGULQL9SS/WP3gTwMan6uGIQemr4CSBaIYStWoPAtBZro?= =?utf-8?q?RwOLIQhb/j12sCcGVeMbcZczqg4sG+F5sPrkgmolrOVLObFMPlsJrjZZUz2X8+bu+?= =?utf-8?q?iAuCx56d9t/ypxbVmxgA7ZW2imnYiZZfKZ8RsQv8pvKo0WD2ry+CZJ1ruvUSNwk5l?= =?utf-8?q?LtIJvcKQRoQ/c6L+H5spgX5c2h6zSHQH+rnS9EIWyhjqFQROMANLZdP4Gp+EtkYTP?= =?utf-8?q?t4zgy1NtOa99ppVzVCtvI4MU6fbn1stAe2gpBKy2XOgp7pY/xUOn7rnf3yjZ2sfF7?= =?utf-8?q?ImJ2B9iPL3DcIaqsgLpV9zRNcnSDgmwk7ofD9wVHgjscAavmJimgtt3RQbUcj+XUR?= =?utf-8?q?IsEVk8+jIaucc8/0tzhaNNYaRu0IIn/5guSfysSj3RRgeMH37q/5quw1D9/nob6XD?= =?utf-8?q?RuV6SXHJSHd34IUeyt/LJWydF2ArtzGQL4jlJq5Vqbp1ySC/RRMPzZeaHc80Z5WyS?= =?utf-8?q?lZHspOwSGux7pvpPJE8Tjyi3gq7l9UDFn+A8Bm4eop/plzmnCTnuXL3XnARxnAbWQ?= =?utf-8?q?M0X7kyb88C+KCyilHeEM7tH0Y18TyvFDGKqFgDxwgvx1xylm3He2Xn/EGfYWGSX+8?= =?utf-8?q?7QsXLSdVtFYjB3d0JugHVPk3s0hfh6i04ZR/HqFDPa3vT5mKS1vPAcro762R/o+dl?= =?utf-8?q?MeCgjxTZ1uVk9qnZGI8yw8VH0VJK6COG06B/nUIOV2vUangA31pDvLunhS+F1HWgL?= =?utf-8?q?Z6P++jwFpeKy1p04F+JO+jpNqCMcnTnw3YH358GVn+R6ht1qmUtoxklGuQpyYvR6P?= =?utf-8?q?SPWIHEWFw20YjOUHFDaOJy1odxz53GqGbe/D477gxmtSVKLiIu7+fZgh7ClFOTLi/?= =?utf-8?q?s0mDGq8T43mrt7qc7EdSntjUKL+tRoflAhhTkYdFnlZQBzZwkOZqW94=3D?= X-Forefront-Antispam-Report: CIP:131.228.6.100;CTRY:FI;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:fr711usmtp2.zeu.alcatel-lucent.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(36860700013)(82310400026)(7416014)(1800799024)(921020);DIR:OUT;SFP:1101; X-OriginatorOrg: nokia-bell-labs.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2024 02:21:07.6569 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 304b8e29-404a-4abc-9a00-08dcef1b8664 X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0;Ip=[131.228.6.100];Helo=[fr711usmtp2.zeu.alcatel-lucent.com] X-MS-Exchange-CrossTenant-AuthSource: AM1PEPF000252DB.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR07MB9053 X-Patchwork-Delegate: kuba@kernel.org From: Chia-Yu Chang Hello, This patch series is grouped in preparation for the AccECN protocol, and is part of the full AccECN patch series. The full patch series can be found in https://github.com/L4STeam/linux-net-next/commits/upstream_l4steam/ The Accurate ECN draft can be found in https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-accurate-ecn-28 Chia-Yu Chang (2): tcp: use BIT() macro in include/net/tcp.h net: sysctl: introduce sysctl SYSCTL_FIVE Ilpo Järvinen (12): tcp: reorganize tcp_in_ack_event() and tcp_count_delivered() tcp: create FLAG_TS_PROGRESS tcp: extend TCP flags to allow AE bit/ACE field tcp: reorganize SYN ECN code tcp: rework {__,}tcp_ecn_check_ce() -> tcp_data_ecn_check() tcp: helpers for ECN mode handling gso: AccECN support gro: prevent ACE field corruption & better AccECN handling tcp: AccECN support to tcp_add_backlog tcp: allow ECN bits in TOS/traffic class tcp: Pass flags to __tcp_send_ack tcp: fast path functions later include/linux/netdev_features.h | 5 +- include/linux/netdevice.h | 1 + include/linux/skbuff.h | 2 + include/linux/sysctl.h | 17 ++-- include/net/tcp.h | 133 +++++++++++++++++++++----------- include/uapi/linux/tcp.h | 9 ++- kernel/sysctl.c | 2 +- net/ethtool/common.c | 1 + net/ipv4/bpf_tcp_ca.c | 2 +- net/ipv4/ip_output.c | 3 +- net/ipv4/tcp.c | 2 +- net/ipv4/tcp_dctcp.c | 2 +- net/ipv4/tcp_dctcp.h | 2 +- net/ipv4/tcp_input.c | 117 ++++++++++++++++------------ net/ipv4/tcp_ipv4.c | 28 +++++-- net/ipv4/tcp_minisocks.c | 6 +- net/ipv4/tcp_offload.c | 10 ++- net/ipv4/tcp_output.c | 23 +++--- net/ipv6/tcp_ipv6.c | 26 +++++-- net/netfilter/nf_log_syslog.c | 8 +- 20 files changed, 252 insertions(+), 147 deletions(-)