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

2021-02-04 Thread Ferruh Yigit
On 2/4/2021 5:02 PM, Ferriter, Cian wrote: The new error message looks great. As I've already given my ack, I'm happy for this to be applied. -Original Message- From: Yigit, Ferruh Sent: Thursday 4 February 2021 16:51 To: Ferriter, Cian Cc: Yigit, Ferruh ; dev@dpdk.org; sta...@dpdk.o

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

2021-02-04 Thread Ferriter, Cian
The new error message looks great. As I've already given my ack, I'm happy for this to be applied. > -Original Message- > From: Yigit, Ferruh > Sent: Thursday 4 February 2021 16:51 > To: Ferriter, Cian > Cc: Yigit, Ferruh ; dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH v2] net/pcap: f

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

2021-02-04 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