[dpdk-dev] [PATCH] net/virtio: fix advertised Rx offload capabilities

Yuanhan Liu yuanhan.liu at linux.intel.com
Mon Jan 16 07:12:43 CET 2017


On Wed, Jan 11, 2017 at 06:05:25PM +0100, Olivier Matz wrote:
> When the virtio PMD is used on top of a vhost that does not support
> offloads, Rx offload capabilities are still advertised by
> virtio_dev_info_get(). But if an application tries to start the PMD with
> Rx offloads enabled (rxmode.hw_ip_checksum = 1), the initialization of
> the device will fail with -ENOTSUP and the following log:
> 
>   rx ip checksum not available on this host
> 
> This patch fixes the Rx offload capabilities returned by
> virtio_dev_info_get() to be consistent with features advertised by the
> host.
> 
> Fixes: 96cb6711939e ("net/virtio: support Rx checksum offload")
> Fixes: 86d59b21468a ("net/virtio: support LRO")

Hi Olivier,

This patch doesn't apply cleanly on top of next-virtio repo, would you
midn to send v2, so that I can apply?

Thanks.

	--yliu


More information about the dev mailing list