Re: [dpdk-dev] [PATCH] net/pcap: fix infinite Rx with large files

2021-02-04 Thread Ferriter, Cian
> -Original Message- > From: Ferruh Yigit > Sent: Thursday 4 February 2021 16:29 > To: Ferriter, Cian > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [PATCH] net/pcap: fix infinite Rx with large files > > On 2/4/2021 4:03 PM, Ferriter, Cian wrote: > > Hi Ferruh, > > > > This fixes t

Re: [dpdk-dev] [PATCH] net/pcap: fix infinite Rx with large files

2021-02-04 Thread Ferruh Yigit
On 2/4/2021 4:03 PM, Ferriter, Cian wrote: Hi Ferruh, This fixes the issue I was seeing. Now an error is reported, rather than silent failure. I have one piece of feedback about the particular error message below inline which you can take or leave, I'm happy for you to upstream this fix eithe

Re: [dpdk-dev] [PATCH] net/pcap: fix infinite Rx with large files

2021-02-04 Thread Ferriter, Cian
Hi Ferruh, This fixes the issue I was seeing. Now an error is reported, rather than silent failure. I have one piece of feedback about the particular error message below inline which you can take or leave, I'm happy for you to upstream this fix either way. Acked-by: Cian Ferriter > -Orig

[dpdk-dev] [PATCH] net/pcap: fix infinite Rx with large files

2021-02-03 Thread Ferruh Yigit
Packet forwarding is not working when infinite Rx feature is used with large .pcap files that has high number of packets. The problem is number of allocated mbufs are less than the infinite Rx ring size, and all mbufs consumed to fill the ring, so there is no mbuf left for forwarding. Current log