← Prev in month ← Prev in thread

[PATCH] typo: VIRTIO_NET_F_MAC_ADDR -> VIRTIO_NET_F_MAC

From
Michael S. Tsirkin <>
Date
2020-12-02T09:35:32+00:00
ID
Thread
[PATCH] typo: VIRTIO_NET_F_MAC_ADDR -> VIRTIO_NET_F_MAC
VIRTIO_NET_F_MAC_ADDR isn't defined. It's clear from context
that what is meant is VIRTIO_NET_F_MAC which controls whether
mac in config space is valid.

Fixes: https://github.com/oasis-tcs/virtio-spec/issues/90
Signed-off-by: Michael S. Tsirkin <>
---
 content.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content.tex b/content.tex
index 5b3121e..d5d779a 100644
--- a/content.tex
+++ b/content.tex
@@ -3948,7 +3948,7 @@ \subsubsection{Control Virtqueue}\label{sec:Device Types / Network Device / Devi
 
 The VIRTIO_NET_CTRL_MAC_ADDR_SET command is used to set the
 default MAC address which rx filtering
-accepts (and if VIRTIO_NET_F_MAC_ADDR has been negotiated,
+accepts (and if VIRTIO_NET_F_MAC has been negotiated,
 this will be reflected in \field{mac} in config space).
 
 The command-specific-data for VIRTIO_NET_CTRL_MAC_ADDR_SET is
@@ -3962,7 +3962,7 @@ \subsubsection{Control Virtqueue}\label{sec:Device Types / Network Device / Devi
 the VIRTIO_NET_CTRL_MAC_TABLE_SET command.
 
 The device MUST update \field{mac} in config space before it consumes
-the VIRTIO_NET_CTRL_MAC_ADDR_SET command, if VIRTIO_NET_F_MAC_ADDR has
+the VIRTIO_NET_CTRL_MAC_ADDR_SET command, if VIRTIO_NET_F_MAC has
 been negotiated.
 
 The device SHOULD drop incoming packets which have a destination MAC which
-- 
MST
← Prev in month ← Prev in thread