mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-22 10:00:47 +00:00
ACRN:DM: Correct vhost_ext_features network bit
Use the VHOST_NET_F_VIRTIO_NET_HDR in linux system header file, and set the correct feature bit for Virtio net header. Tracked-On: #7790 Signed-off-by: Liu Long <long.liu@linux.intel.com>
This commit is contained in:
parent
ab420ba3a4
commit
fcfb551f02
@ -1172,7 +1172,7 @@ vhost_net_init(struct virtio_base *base, int vhostfd, int tapfd, int vq_idx)
|
||||
{
|
||||
struct vhost_net *vhost_net = NULL;
|
||||
uint64_t vhost_features = VIRTIO_NET_S_VHOSTCAPS;
|
||||
uint64_t vhost_ext_features = VHOST_NET_F_VIRTIO_NET_HDR;
|
||||
uint64_t vhost_ext_features = 1 << VHOST_NET_F_VIRTIO_NET_HDR;
|
||||
uint32_t busyloop_timeout = 0;
|
||||
int rc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user