Re: [dpdk-dev] [PATCH 2/3] net/pcap: fix transmit return count in error conditions

2019-07-25 Thread Ferruh Yigit
On 7/25/2019 8:40 AM, David Marchand wrote: > On Wed, Jul 24, 2019 at 8:36 PM Ferruh Yigit wrote: >> >> On 7/24/2019 12:54 PM, David Marchand wrote: >>> When a packet cannot be transmitted, the driver is supposed to free this >>> packet and report it as handled. >>> This is to prevent the applicat

Re: [dpdk-dev] [PATCH 2/3] net/pcap: fix transmit return count in error conditions

2019-07-25 Thread David Marchand
On Wed, Jul 24, 2019 at 8:36 PM Ferruh Yigit wrote: > > On 7/24/2019 12:54 PM, David Marchand wrote: > > When a packet cannot be transmitted, the driver is supposed to free this > > packet and report it as handled. > > This is to prevent the application from retrying to send the same packet > > an

Re: [dpdk-dev] [PATCH 2/3] net/pcap: fix transmit return count in error conditions

2019-07-24 Thread Ferruh Yigit
On 7/24/2019 12:54 PM, David Marchand wrote: > When a packet cannot be transmitted, the driver is supposed to free this > packet and report it as handled. > This is to prevent the application from retrying to send the same packet > and ending up in a liveloop since the driver will never manage to s

[dpdk-dev] [PATCH 2/3] net/pcap: fix transmit return count in error conditions

2019-07-24 Thread David Marchand
When a packet cannot be transmitted, the driver is supposed to free this packet and report it as handled. This is to prevent the application from retrying to send the same packet and ending up in a liveloop since the driver will never manage to send it. Fixes: 49a0a2ffd5db ("net/pcap: fix possible