From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5DB4245B6A; Fri, 18 Oct 2024 18:47:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4AAD44027C; Fri, 18 Oct 2024 18:47:27 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 489A840268 for ; Fri, 18 Oct 2024 18:47:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729270044; 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: in-reply-to:in-reply-to:references:references; bh=+we2HfVCSegAjvfGrGq22pbQCjuxl7N8aBgR5o/qmto=; b=V3nqsiUqpwQwm7jMNDjohxz93575PFD6FdaMCyayDhGunu2TyRYNUEMh1d+sRtvaY1Einz a3L+7oqsB5MYAec5/j/9hEaXdVjS2gvCxhy+CxJjZSn2l7ugmH4vSyweaMPgRH0Jn/exiw 9fjPMf1X+gxFPMuviokHD0htAPMMKO4= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-628-qPW5HYTzO-qTcNKY3yKUJw-1; Fri, 18 Oct 2024 12:47:23 -0400 X-MC-Unique: qPW5HYTzO-qTcNKY3yKUJw-1 Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-539fe4e75c4so2466885e87.0 for ; Fri, 18 Oct 2024 09:47:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729270042; x=1729874842; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+we2HfVCSegAjvfGrGq22pbQCjuxl7N8aBgR5o/qmto=; b=iBOjQiLlhIxc5aeNti569vCdStXBNnr62lbRFx/1qEN8R4FElbcM9qaT1dyI7C2puy 0HVj8AIceVaXRsaXGMN5MVfcWVjIZuF5o7vYiJHysuM7gEtGBmqAxjSf/btrIz3T1m/D JQCzaO2TcelP6xtGsS0kbpHYiDv9vouC64+Q3OsPu+Mce0G/yNdu+berQ//cKk2pHeYT uzJzaLBB0qJudpM8dtUo+qluQu7XIAlitzmY0OEEfl5BCVugJC+dVBoJUTP/Z7z61cv/ /OKCNRyGSQCvzoaEHSLP3ukWDeDYyq2Jamqd0Ah2xwL8VByK3VRavZTJPu8lHCTN3SAH o8dA== X-Forwarded-Encrypted: i=1; AJvYcCWB7Ulz7JRQz9Cf7ZSDF15UQ/O6srbfrZdVJfdrjI5mgVogVNq4DoDKPLz3CqAY/jen9M4=@dpdk.org X-Gm-Message-State: AOJu0Yy0iDBqupXoxrg2m23ENvvt2ajhUU+pB2+B9I9BEW3xBYA+YYaP M5dlZ8OXjn9S9JGbyvdF7EfwoDX1Zn3iSD32doXWUPDoIx7/Dv10CtyoK7KBPVEJZj+EhWWO9Vb nNR0ytq5OH1a03D7UxbWRXdV5JM7LVFWskdn15F5dxOiecJs8j32FYiDZoiTKtRburwFmeyXf2b ybcyladblKBjonyfg= X-Received: by 2002:a05:6512:b8a:b0:536:7377:7d23 with SMTP id 2adb3069b0e04-53a154c9e10mr3248592e87.40.1729270041766; Fri, 18 Oct 2024 09:47:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3Ctxn134UBEWkvXv2ehLfM+hpSGqH58mwfPqH2spba1z5EiBIQqDQO3obPPBXaIYOsK4irpEKeWhb8uQ1zTM= X-Received: by 2002:a05:6512:b8a:b0:536:7377:7d23 with SMTP id 2adb3069b0e04-53a154c9e10mr3248572e87.40.1729270041340; Fri, 18 Oct 2024 09:47:21 -0700 (PDT) MIME-Version: 1.0 References: <20240618051751.220610-1-getelson@nvidia.com> <20240618121841.10070-1-getelson@nvidia.com> <98CBD80474FA8B44BF855DF32C47DC35E9F535@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F535@smartserver.smartshare.dk> From: David Marchand Date: Fri, 18 Oct 2024 18:47:10 +0200 Message-ID: Subject: Re: [PATCH v4] net: add bit fields to IPv6 header definition To: Gregory Etelson Cc: =?UTF-8?Q?Morten_Br=C3=B8rup?= , dev@dpdk.org, andrew.rybchenko@oktetlabs.ru, bruce.richardson@intel.com, cristian.dumitrescu@intel.com, ferruh.yigit@amd.com, jasvinder.singh@intel.com, konstantin.v.ananyev@yandex.ru, mkashani@nvidia.com, orika@nvidia.com, ruifeng.wang@arm.com, thomas@monjalon.net X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, Jun 18, 2024 at 2:44=E2=80=AFPM Morten Br=C3=B8rup wrote: > > From: Gregory Etelson [mailto:getelson@nvidia.com] > > > > DPDK IPv6 header definition combined the `version`, `traffic class` > > and `flow label` header fields into a single 32 bits structure member > > `vtc_flow`. > > > > The patch expands IPv6 header definition with dedicated structure > > members for the `version`, `traffic class` and `flow label` fields. > > The `traffic class` is also separated into DS and ECN fields. > > > > The patch also preserves existing `vtc_flow` structure member for > > backward compatibility. > > > > Signed-off-by: Gregory Etelson > Reviewed-by: Morten Br=C3=B8rup Applied, thanks. --=20 David Marchand