Red Hat Bugzilla – Bug 1263996
[Tracker] [RFE] Support offloads for virtio-net-pci when use vhost-user/dpdk as netdev.
Last modified: 2018-03-30 17:38:40 EDT
Description of problem:
Checked in guest, if with vhost-user/dpdk as netdev, the offloads of virtio-net all are disabled(off) except gro by default, and cannot enable them by ethtool.
If the guest try to communicate with other systems not only with other vhostuser guests, is it possible to use the offloads?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
In a guest with vhost-user backend (does not matter if it's dpdpk guest driver, virtio-net guest driver, or other) all traffic goes through this backend (it just replaces the normal vhost).
Hence, there is no effect for the traffic peer (other guest, other net host) on that: everything goes through the vhost-user.
In a normal ovs/dpdk setup (as one example of a vhost-user use case) vhost-user resides in the ovs userspace process, and is terminated on the ovs port. From there on the traffic goes through switching and ends up in another ovs port: it can be normal guest, vhost-user guest or outbound network port.
Currently, vhost-user does not support offloads. It is planed to add it in the future.