From patchwork Mon Jul 4 14:29:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Valerio X-Patchwork-Id: 1652045 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fHpQWHNa; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4Lc7Vq1B4xz9s2R for ; Tue, 5 Jul 2022 00:29:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id CE6F1415A8; Mon, 4 Jul 2022 14:29:50 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org CE6F1415A8 Authentication-Results: smtp4.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fHpQWHNa X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yk-GEzHmL5Xx; Mon, 4 Jul 2022 14:29:47 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp4.osuosl.org (Postfix) with ESMTPS id D24F1410A0; Mon, 4 Jul 2022 14:29:45 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org D24F1410A0 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9C8B1C0032; Mon, 4 Jul 2022 14:29:45 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 72A52C002D for ; Mon, 4 Jul 2022 14:29:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 38582410AD for ; Mon, 4 Jul 2022 14:29:44 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 38582410AD X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zvM_TKDVhCeX for ; Mon, 4 Jul 2022 14:29:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3840C410A0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id 3840C410A0 for ; Mon, 4 Jul 2022 14:29:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656944981; 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=9z1iXwyDADQlKJKDwm82uehZLyN9cLil5blv672w9N4=; b=fHpQWHNanDdRZe24+Af9H7hiuijFIHoGalaVSFrFkV1dc+jZrdAUqKFlpGmijH3tCvoMdY YnGaApE56bK1eieGeECI/Sofq7x3UktEX7BP5dPfYvmY8AV1kBVYW7x7AFhd1vJoSzITTS skvutY9vHzjsZRPPOdfQFmBroQlGVJk= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-612-XsG8fwlcMPuTCQyQuMFUdw-1; Mon, 04 Jul 2022 10:29:41 -0400 X-MC-Unique: XsG8fwlcMPuTCQyQuMFUdw-1 Received: by mail-ej1-f69.google.com with SMTP id hd35-20020a17090796a300b0072a707cfac4so2081074ejc.8 for ; Mon, 04 Jul 2022 07:29:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:from:to:cc:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=9z1iXwyDADQlKJKDwm82uehZLyN9cLil5blv672w9N4=; b=iM3GAyuMGhgCZqrRzVrUonp1yIpGf8n5ffmKxOzY8Iij8W/Lc6Na782ZBzoN8lqBJa gWJVUEDCOD40f8MjdEfPHWkZQzeuqlbTOa5X1vePxfAKc5YeM2phOaSuzxoFIlrIcZKd OPt4hnh0IPLDz8C1TKTc+FkG51AyF9APj8uOWYWQTJS0X9AD2pneb3apkxOVX7AhkFKj vEOf/iaBW1zi8gbqmmCCPbnueQ8ffbfKQ+6Qq42Ac/q7abNXlY7r6+fV5p9lS/JTJo98 WbLoI/oUexk78bxZvy4nDyFVtUwbd6P4x5xLXpCPXPGRxNZCBEvElh06w53SXH/4pJ7L 3wOQ== X-Gm-Message-State: AJIora+YXFCBDa1oN789oYSONhalRYoxcV/WxyZOTSnAQY1q7DVO5SZe jdv8gnGpBI3P2x7CE7Lxn18iqrLa8bT4GpHXlBRcNn+EfH66orBx+tSYYivtWKAMQIUpb4JUBuU j4D8JfdXWVsdhJuUJrtAuKlMtznUNnnyHltK0idyVdKWDh0yClS1KYpj7HVw9z7y0 X-Received: by 2002:a05:6402:328f:b0:435:7f7a:7666 with SMTP id f15-20020a056402328f00b004357f7a7666mr20525303eda.168.1656944979568; Mon, 04 Jul 2022 07:29:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vp+rdRPldEazA5UyoB0u+KRvwkFgHUpWPFpS5vVi8SOjwp+NEy3NJKOAMGROtSRs/w/whduQ== X-Received: by 2002:a05:6402:328f:b0:435:7f7a:7666 with SMTP id f15-20020a056402328f00b004357f7a7666mr20525278eda.168.1656944979299; Mon, 04 Jul 2022 07:29:39 -0700 (PDT) Received: from localhost (net-5-95-131-226.cust.vodafonedsl.it. [5.95.131.226]) by smtp.gmail.com with ESMTPSA id g5-20020a17090613c500b00722fb3c99bcsm14207253ejc.203.2022.07.04.07.29.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 07:29:38 -0700 (PDT) From: Paolo Valerio To: dev@openvswitch.org Date: Mon, 04 Jul 2022 16:29:32 +0200 Message-ID: <165694497267.33593.6714814733090986792.stgit@fed.void> User-Agent: StGit/1.1 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pvalerio@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: i.maximets@ovn.org Subject: [ovs-dev] [PATCH v2] meta-flow: Document nw_proto limitation for IPv6 later frags. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Signed-off-by: Paolo Valerio --- lib/meta-flow.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/meta-flow.xml b/lib/meta-flow.xml index 28865f88c..a1a20366d 100644 --- a/lib/meta-flow.xml +++ b/lib/meta-flow.xml @@ -4101,6 +4101,15 @@ r r c c c. opcodes greater than 255 are treated as 0; this works adequately because in practice ARP and RARP only use opcodes 1 through 4.

+ +

+ In the case of fragmented traffic, a difference exists in the way + the field acts for IPv4 and IPv6 later fragments. For IPv6 fragments + with nonzero offset, nw_proto is set to the IPv6 protocol + type for fragments (44). + Conversely, for IPv4 later fragments, the field is set based on the + protocol type present in the header. +