Re: unnecessary rx callbacks when zero packets

2024-01-09 Thread Ferruh Yigit
On 1/8/2024 3:20 PM, Konstantin Ananyev wrote: > > rx callbacks when zero packets >> >> I noticed while looking at packet capture that currently the receive >> callbacks >> get called even if there are no packets. This seems unnecessary since if >> nb_rx is zero, then there are no packets to look

RE: unnecessary rx callbacks when zero packets

2024-01-08 Thread Konstantin Ananyev
rx callbacks when zero packets > > I noticed while looking at packet capture that currently the receive callbacks > get called even if there are no packets. This seems unnecessary since if > nb_rx is zero, then there are no packets to look at. My one concern is that > an application could be us

RE: unnecessary rx callbacks when zero packets

2024-01-08 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Sunday, 7 January 2024 21.57 > > > From: Stephen Hemminger > > Sent: Sunday, January 7, 2024 11:37 AM > > > > I noticed while looking at packet capture that currently the receive > callbacks > > get called even if there ar

RE: unnecessary rx callbacks when zero packets

2024-01-07 Thread Honnappa Nagarahalli
> -Original Message- > From: Stephen Hemminger > Sent: Sunday, January 7, 2024 11:37 AM > To: dev@dpdk.org > Subject: unnecessary rx callbacks when zero packets > > I noticed while looking at packet capture that currently the receive callbacks > get called even if there are no packets.