forked from Minki/linux
vdpa_sim: advertise VIRTIO_NET_F_MTU
We've already reported maximum mtu via config space, so let's advertise the feature. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Gautam Dawar <gdawar@xilinx.com> Message-Id: <20220330180436.24644-17-gdawar@xilinx.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
aaca8373c4
commit
05b6976212
@ -26,7 +26,8 @@
|
||||
#define DRV_LICENSE "GPL v2"
|
||||
|
||||
#define VDPASIM_NET_FEATURES (VDPASIM_FEATURES | \
|
||||
(1ULL << VIRTIO_NET_F_MAC))
|
||||
(1ULL << VIRTIO_NET_F_MAC) | \
|
||||
(1ULL << VIRTIO_NET_F_MTU))
|
||||
|
||||
#define VDPASIM_NET_VQ_NUM 2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user