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 6780C1BFE13 for ; Wed, 21 Aug 2024 10:03:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724234593; cv=none; b=Wweqsb71uhDfTZ1iK97WXT9OIfVJKH8ACGL8ezZY1bE8xt+aYBNhntwYljQpNTXpug2oQtD3qydhNEX+RBjVDKhYIgzr7Pf13kyiOZd+7yovNe8tFEbwkzpwPZfsDnvKovfwV603EqLKoJuosxrVNFjzoSL7ubc6+o0I/cT0rV0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724234593; c=relaxed/simple; bh=QFFoW3RPsOV2Dk2n/A2V66f35VqOFgEylqDUZNlXW1Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Cn73vIQXawRQhUAsPnKOOCWsSXaJSHJuGQ8cD7tJ+pHhLKOPNeruBpWWs01E1sfkNU8En80UQfOG+h2h0a7BTtlwu1EJ1fN6JzSlo8/bjLWcUwl8e0/k/FplOmjsCkqO8lXb8yhZ4TzILJXcJRJa6N93VNCS7nlEHDSWsAFSvNM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=RymCbmjB; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="RymCbmjB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724234590; 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=aDbA9LIu1qeXYfz5xO1SXbjG7uuwpIdH9qHHSnTeydg=; b=RymCbmjBxGtoo91xdAojtw6Ll2T+PlJSy4bNwP42CskEXry3rs0uXY/xy9eehxA2IziqUU Fd0xdmduIW1+Oy87XS3KWLlL4lLM7bOO0zY2EJmkEhHOEMBv/v5NCpksuej9DpPFS2W7WB Vrfor30MdZlc4TCduwJRIjINNQaXsio= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-474-ol4wAbcsPkKZ7x57xU2uFQ-1; Wed, 21 Aug 2024 06:03:09 -0400 X-MC-Unique: ol4wAbcsPkKZ7x57xU2uFQ-1 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 45EA91955D58; Wed, 21 Aug 2024 10:03:08 +0000 (UTC) Received: from gerbillo.redhat.com (unknown [10.45.224.235]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 675561955F66; Wed, 21 Aug 2024 10:03:04 +0000 (UTC) From: Paolo Abeni To: virtio-comment@lists.linux.dev Cc: maxime.coquelin@redhat.com, Eelco Chaudron , Jason Wang , Stefano Garzarella , Willem de Bruijn Subject: [PATCH v7 0/2] virtio-net: define UDP tunnel offload Date: Wed, 21 Aug 2024 12:02:57 +0200 Message-ID: Precedence: bulk X-Mailing-List: virtio-comment@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true UDP tunnel usage is ubiquitous in container deployment, and the ability to offload UDP encapsulated GSO traffic impacts greatly the performances and the CPU utilization of such use cases. This series introduces separate features to handle both UDP tunnel segmentation offload (patch 1) and UDP tunnel outer checksum offload (patch 2). Changes from v6: - replaced inner_protocol_type with VIRTIO_NET_HDR_GSO_UDP_TUNNEL_IPV{4,6} - many clarifications and cleanup, see the individual patches changelog for the details Changes from v5: - split in 2 patches - dropped outer_mh_offset field - many csum related clarification Paolo Abeni (2): virtio-net: define UDP tunnel segmentation offload feature virtio-net: define UDP tunnel checksum offload feature device-types/net/description.tex | 266 ++++++++++++++++++++++++++++++- 1 file changed, 258 insertions(+), 8 deletions(-) -- 2.45.2