[dpdk-stable] [PATCH 3/3] net/pcap: fix concurrent multiseg packet transmits

Ferruh Yigit ferruh.yigit at intel.com
Wed Jul 24 20:43:05 CEST 2019


On 7/24/2019 12:54 PM, David Marchand wrote:
> Two cores can send multi segment packets on two different pcap ports.
> Because of this, we can't have one single buffer to linearize packets.

+1, you are right.

> 
> Use rte_pktmbuf_read() to copy the packet into a buffer on the stack
> and remove eth_pcap_gather_data().

+1

> 
> Fixes: 6db141c91e1f ("pcap: support jumbo frames")
> Cc: stable at dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the stable mailing list