DPDK usage discussions
 help / color / mirror / Atom feed
* Dynamic Fields Zeroing
@ 2023-08-09 13:24 Oleksandr Nahnybida
  2023-08-10  7:04 ` David Marchand
  0 siblings, 1 reply; 4+ messages in thread
From: Oleksandr Nahnybida @ 2023-08-09 13:24 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 143 bytes --]

Hi All,

Should I expect that mbuf that I get from rx_burst, won't have dynfield
zeroed, and I should do this myself?

Best Regards,
Oleksandr

[-- Attachment #2: Type: text/html, Size: 226 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dynamic Fields Zeroing
  2023-08-09 13:24 Dynamic Fields Zeroing Oleksandr Nahnybida
@ 2023-08-10  7:04 ` David Marchand
  2023-08-10  7:29   ` Isaac Boukris
  0 siblings, 1 reply; 4+ messages in thread
From: David Marchand @ 2023-08-10  7:04 UTC (permalink / raw)
  To: Oleksandr Nahnybida, Olivier Matz; +Cc: users

On Wed, Aug 9, 2023 at 3:24 PM Oleksandr Nahnybida
<oleksandrn@interfacemasters.com> 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.
Olivier, can you enlighten us?


-- 
David Marchand


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dynamic Fields Zeroing
  2023-08-10  7:04 ` David Marchand
@ 2023-08-10  7:29   ` Isaac Boukris
  2023-08-11  9:13     ` Oleksandr Nahnybida
  0 siblings, 1 reply; 4+ messages in thread
From: Isaac Boukris @ 2023-08-10  7:29 UTC (permalink / raw)
  To: users; +Cc: Oleksandr Nahnybida, Olivier Matz, David Marchand

Hi,

On Thu, Aug 10, 2023 at 10:05 AM David Marchand
<david.marchand@redhat.com> wrote:
>
> On Wed, Aug 9, 2023 at 3:24 PM Oleksandr Nahnybida
> <oleksandrn@interfacemasters.com> 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 :)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dynamic Fields Zeroing
  2023-08-10  7:29   ` Isaac Boukris
@ 2023-08-11  9:13     ` Oleksandr Nahnybida
  0 siblings, 0 replies; 4+ messages in thread
From: Oleksandr Nahnybida @ 2023-08-11  9:13 UTC (permalink / raw)
  To: Isaac Boukris; +Cc: users, Olivier Matz, David Marchand

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

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 AM Isaac Boukris <iboukris@gmail.com> wrote:

> Hi,
>
> On Thu, Aug 10, 2023 at 10:05 AM David Marchand
> <david.marchand@redhat.com> wrote:
> >
> > On Wed, Aug 9, 2023 at 3:24 PM Oleksandr Nahnybida
> > <oleksandrn@interfacemasters.com> 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 :)
>

[-- Attachment #2: Type: text/html, Size: 1454 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-11  9:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-09 13:24 Dynamic Fields Zeroing Oleksandr Nahnybida
2023-08-10  7:04 ` David Marchand
2023-08-10  7:29   ` Isaac Boukris
2023-08-11  9:13     ` Oleksandr Nahnybida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).