[dpdk-stable] [PATCH 18.11] net/pcap: fix concurrent multiseg Tx
Kevin Traynor
ktraynor at redhat.com
Thu Sep 5 18:08:47 CEST 2019
On 05/09/2019 12:36, David Marchand wrote:
> [ upstream commit fbbbf553f268b94d6dbe491a31d1f0c8d227465f ]
>
> 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.
>
> Use rte_pktmbuf_read() to copy the packet into a buffer on the stack
> and remove eth_pcap_gather_data() when necessary (if the mbuf is
> contiguous, rte_pktmbuf_read() just points at the buffer address).
>
> Fixes: 6db141c91e1f ("pcap: support jumbo frames")
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
Thanks David, added into the queue for push to stable branch next week.
Kevin.
More information about the stable
mailing list