From patchwork Mon Feb 19 08:57:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hopps X-Patchwork-Id: 13562395 Received: from smtp.chopps.org (smtp.chopps.org [54.88.81.56]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 11DF922F0F for ; Mon, 19 Feb 2024 09:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.88.81.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708333682; cv=none; b=jkOl83AWBhgBkoWo+fEiJVM0UzmLUcuvs4KTLo0BBJU8Q+40CtNJH0A7SHGRSXG8Zgzac0xmq3Aps0vOsiKxmEs1w75pisg5+0f2A9UWTJ3DYOOUddYbENmHxtbMmWK4pH52pAoGHfbpoVlztyfs64AMNkKH3JQb9fHr/wWQ3QE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708333682; c=relaxed/simple; bh=PfNMPsRx4N5oOyNehjzN3v9q3JhSAQI3pxZ9KsEJJ30=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VxcXB9NEa9fhiN49xTpnsHtI1B4WFr5hWn+CqmMwPvT6u42qGQyQg+LViFpP8Sl0WBJSNmwvkSO+FV+5WLOxToWC8UyooEN+sJTpYi4EgXolu2NQDFCOI/rG9JIAx/jPxmcdJ/8TLjNYejv3wA/PdNKaYImcFVbbcoQO1uwYfvM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chopps.org; spf=fail smtp.mailfrom=chopps.org; arc=none smtp.client-ip=54.88.81.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chopps.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=chopps.org Received: from labnh.int.chopps.org (172-222-091-149.res.spectrum.com [172.222.91.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by smtp.chopps.org (Postfix) with ESMTPSA id 25AD37D10E; Mon, 19 Feb 2024 08:59:09 +0000 (UTC) From: Christian Hopps To: devel@linux-ipsec.org Cc: Steffen Klassert , netdev@vger.kernel.org, Christian Hopps , Christian Hopps Subject: [PATCH ipsec-next v1 0/8] Add IP-TFS mode to xfrm Date: Mon, 19 Feb 2024 03:57:27 -0500 Message-ID: <20240219085735.1220113-1-chopps@chopps.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Christian Hopps This patchset adds a new xfrm mode implementing on-demand IP-TFS. IP-TFS (AggFrag encapsulation) has been standardized in RFC9347. Link: https://www.rfc-editor.org/rfc/rfc9347.txt This feature supports demand driven (i.e., non-constant send rate) IP-TFS to take advantage of the AGGFRAG ESP payload encapsulation. This payload type supports aggregation and fragmentation of the inner IP packet stream which in turn yields higher small-packet bandwidth as well as reducing MTU/PMTU issues. Congestion control is unimplementated as the send rate is demand driven rather than constant. In order to allow loading this fucntionality as a module a set of callbacks xfrm_mode_cbs has been added to xfrm as well.