[dpdk-dev] [PATCH] net/virtio: fix broken transmit functionality

Tiwei Bie tiwei.bie at intel.com
Wed Oct 16 06:17:13 CEST 2019


On Tue, Oct 15, 2019 at 09:11:27AM +0100, Andrew Rybchenko wrote:
> Previous fix removes usage of rte_pktmbuf_prepend() to get pointer
> to virtio net header which changes mbuf data_off and data_len.
> Size of virtio net header is added to segment length when Tx descriptor
> is composed, but segment address (calculated using data_off) is not
> adjusted to take size of virtio net header into account.
> 
> Fixes: c100fc6849fb ("net/virtio: fix mbuf data and pkt length mismatch")

The commit in main branch is:
Fixes: 1ae55ad38e5e ("net/virtio: fix mbuf data and packet length mismatch")

For the rest,
Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>


More information about the dev mailing list