[ovs-dev] [PATCH v1 10/14] netdev-dpdk: copy large packet to multi-seg. mbufs
Eelco Chaudron
echaudro at redhat.com
Tue Jul 3 13:02:16 UTC 2018
On 28 Jun 2018, at 17:41, Tiago Lam wrote:
> From: Mark Kavanagh <mark.b.kavanagh at intel.com>
>
> Currently, packets are only copied to a single segment in the function
> dpdk_do_tx_copy(). This could be an issue in the case of jumbo frames,
> particularly when multi-segment mbufs are involved.
>
> This patch calculates the number of segments needed by a packet and
> copies the data to each segment.
>
> A new function, dpdk_buf_alloc(), has also been introduced as a wrapper
> around the nonpmd_mp_mutex to serialise allocations from a non-pmd
> context.
>
> Co-authored-by: Michael Qiu <qiudayu at chinac.com>
> Co-authored-by: Tiago Lam <tiago.lam at intel.com>
>
> Signed-off-by: Mark Kavanagh <mark.b.kavanagh at intel.com>
> Signed-off-by: Michael Qiu <qiudayu at chinac.com>
> Signed-off-by: Tiago Lam <tiago.lam at intel.com>
LGTM,
Acked-by: Eelco Chaudron <echaudro at redhat.com>
<SNIP>
More information about the dev
mailing list