vtnet: expose features via sysctl tree

Right now the 64-bit flags field needs to be casted to a 32-bit field,
because clang warns if more than 32-bits are used.
Once clang is fixed, this restriction will be removed and more bits
will be added.

Reviewed by:		markj, Timo Völker
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D54288
This commit is contained in:
Michael Tuexen
2025-12-19 17:38:35 +01:00
parent d2cb9cab84
commit 634d9c0d11
3 changed files with 29 additions and 1 deletions
+3 -1
View File
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd December 18, 2025
.Dd December 19, 2025
.Dt VTNET 4
.Os
.Sh NAME
@@ -274,6 +274,8 @@ The maximum number of supported virtqueue pairs.
.It Va dev.vtnet. Ns Ar X Ns Va .flags
The flags of the interface.
Mostly for debugging purposes.
.It Va dev.vtnet. Ns Ar X Ns Va .features
The features of the interface as defined by the virtio specification.
.El
.Sh SEE ALSO
.Xr arp 4 ,