git: 8a08808fe07e - stable/15 - vtnet: Accept VIRTIO_NET_F_CTRL_RX_EXTRA
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Nov 2026 20:44:49 UTC
The branch stable/15 has been updated by kfv:
URL: https://cgit.FreeBSD.org/src/commit/?id=8a08808fe07e12e258bddcde00ca5e3c7e0cd950
commit 8a08808fe07e12e258bddcde00ca5e3c7e0cd950
Author: Faraz Vahedi <kfv@FreeBSD.org>
AuthorDate: 2026-07-12 21:09:06 +0000
Commit: Faraz Vahedi <kfv@FreeBSD.org>
CommitDate: 2026-11-02 20:41:32 +0000
vtnet: Accept VIRTIO_NET_F_CTRL_RX_EXTRA
Although the driver does not issue the extra receive-mode commands
accepting the feature is harmless and some devices, notably Apple's
Virtualization.framework, offer their control-queue features as a
group and refuse FEATURES_OK unless the whole set is acknowledged.
Signed-off-by: Faraz Vahedi <kfv@kfv.io>
Reviewed by: adrian
Pull Request: https://github.com/freebsd/freebsd-src/pull/2322
(cherry picked from commit d4ddf8eaee9371d1d20bfb753237f25505d6afee)
---
sys/dev/virtio/network/if_vtnetvar.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/dev/virtio/network/if_vtnetvar.h b/sys/dev/virtio/network/if_vtnetvar.h
index d1dd8adaed69..6ee6049e064b 100644
--- a/sys/dev/virtio/network/if_vtnetvar.h
+++ b/sys/dev/virtio/network/if_vtnetvar.h
@@ -321,6 +321,7 @@ CTASSERT(sizeof(struct vtnet_mac_filter) <= PAGE_SIZE);
VIRTIO_NET_F_MTU | \
VIRTIO_NET_F_CTRL_VQ | \
VIRTIO_NET_F_CTRL_RX | \
+ VIRTIO_NET_F_CTRL_RX_EXTRA | \
VIRTIO_NET_F_CTRL_MAC_ADDR | \
VIRTIO_NET_F_CTRL_VLAN | \
VIRTIO_NET_F_GUEST_ANNOUNCE | \