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 43C1143032 for ; Fri, 11 Aug 2023 11:13:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0573940F17; Fri, 11 Aug 2023 11:13:18 +0200 (CEST) Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) by mails.dpdk.org (Postfix) with ESMTP id EBF1E40E03 for ; Fri, 11 Aug 2023 11:13:16 +0200 (CEST) Received: by mail-ot1-f70.google.com with SMTP id 46e09a7af769-6bb23d4b3b7so1951676a34.3 for ; Fri, 11 Aug 2023 02:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interfacemasters.com; s=google; t=1691745196; x=1692349996; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Y87yNOLAI3j4FtdwHsZ7IZphbuOYeGuUX0DyG7bEV08=; b=ADD6PJbhlDTzQszTXhBosKE7lS02tD7RNEeOUAFGgraris/hU62q9Arq/zl5yvamcR 91l29qaLWxd5S47XB2pve3Vd+h2FZ2+NOccR7Q14pzQwAZD1DHCchvYGfATrwqy5SLyD MBSUtF8eGi4ldOOppholIUG+Dq86niqFhxkeg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691745196; x=1692349996; h=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=Y87yNOLAI3j4FtdwHsZ7IZphbuOYeGuUX0DyG7bEV08=; b=l3wIibNmgXx4NJZheG8Q1aAQcCzaZ38Z8wbwNPs08GQDDpzXaT0crl++yt6kIfJN1G rzXDBzrc2XPq4CL2lNJEf3VGZSEJD97d9FXrnjMz8VZEI4LPdjTJvuob1sjs62hxYQeu y6JUMIfIPP4C5PDivAe90krSsSjjAlKe5N3yLeJ4LqJT7+J8Bh28DNdkH42BZzyjCN9J eBo7hanRXRLeobAcfbpItCqV+JRNA+NrtyMPdrLa3OZXc349APuhAR0WFvSZZUFFlNlP 3jNPTVfT91ohQk67s3E4zHwHhkq8IoCzIdC7+OVSITYLuKKCZ+9PMlqk5mgCBl/VatUg gyyQ== X-Gm-Message-State: AOJu0YySOnwJ5mUInxpRq3T7lvpybkAV8lzJtnCu9khopokt7G1I7oDs 7ciECPdNBW8qX3ur9w/6XYAig1W3djhealv0ERuvyA== X-Google-Smtp-Source: AGHT+IE3tUPf+Ag/b+PiH5O+YeLEVs953F2giXhzVddPL/CCU+lSteLpmhby7S099icYPEIUNeDExfXPO1mVBhYyVeU= X-Received: by 2002:a05:6830:22c8:b0:6bd:4b7:9f49 with SMTP id q8-20020a05683022c800b006bd04b79f49mr1159303otc.30.1691745196261; Fri, 11 Aug 2023 02:13:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Oleksandr Nahnybida Date: Fri, 11 Aug 2023 12:13:04 +0300 Message-ID: Subject: Re: Dynamic Fields Zeroing To: Isaac Boukris Cc: users@dpdk.org, Olivier Matz , David Marchand Content-Type: multipart/alternative; boundary="00000000000079588a0602a21fa0" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --00000000000079588a0602a21fa0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi All, Got it, thanks. Maybe documentation needs to be updated, because, at least in 22 LTS docs, there are no mentions of that in 11.6.1 of the programmers guide (or I didn't read it properly) P.S. I also had to find the hard way) Best regards, Oleksandr On Thu, Aug 10, 2023 at 10:29=E2=80=AFAM Isaac Boukris = wrote: > Hi, > > On Thu, Aug 10, 2023 at 10:05=E2=80=AFAM David Marchand > wrote: > > > > On Wed, Aug 9, 2023 at 3:24=E2=80=AFPM Oleksandr Nahnybida > > wrote: > > > > > > Should I expect that mbuf that I get from rx_burst, won't have > dynfield zeroed, and I should do this myself? > > > > I think setting/clearing a dynfield is the responsibility of the > > component that registered it. > > fwiw, that is my experience as well, although I had to find it the hard > way :) > --00000000000079588a0602a21fa0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All,

Got it, thanks.
Maybe=C2=A0documen= tation needs to be updated, because, at least in 22 LTS docs, there=C2=A0ar= e no mentions of that in 11.6.1 of the programmers guide (or I didn't r= ead it properly)

P.S.
I also had to find= the hard way)

Best regards,
Oleksandr

On Thu, Aug 10, 2023 at 10:29=E2=80=AFAM Isaac Boukris <iboukris@gmail.com> wrote:
=
Hi,

On Thu, Aug 10, 2023 at 10:05=E2=80=AFAM David Marchand
<david.ma= rchand@redhat.com> wrote:
>
> On Wed, Aug 9, 2023 at 3:24=E2=80=AFPM Oleksandr Nahnybida
> <oleksandrn@interfacemasters.com> wrote:
> >
> > Should I expect that mbuf that I get from rx_burst, won't hav= e dynfield zeroed, and I should do this myself?
>
> I think setting/clearing a dynfield is the responsibility of the
> component that registered it.

fwiw, that is my experience as well, although I had to find it the hard way= :)
--00000000000079588a0602a21fa0--