[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [PATCH] net: we must ignore unrecognized flags
We already used that for DATA_VALID, make sure it's easy to extend even more. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> --- Looks like this chunk was missing in the patch I sent, fixing this up. content.tex | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content.tex b/content.tex index 11015a5..1a15238 100644 --- a/content.tex +++ b/content.tex @@ -3345,6 +3345,9 @@ A driver SHOULD NOT send TCP packets requiring segmentation offload which have t negotiated\footnote{This is a common restriction in real, older network cards.}, in which case it MUST set the VIRTIO_NET_HDR_GSO_ECN bit in \field{gso_type}. +\devicenormative{\paragraph}{Packet Transmission}{Device Types / Network Device / Device Operation / Packet Transmission} +The device MUST ignore \field{flag} bits that it does not recognize. + \paragraph{Packet Transmission Interrupt}\label{sec:Device Types / Network Device / Device Operation / Packet Transmission / Packet Transmission Interrupt} Often a driver will suppress transmission interrupts using the @@ -3451,11 +3454,14 @@ If VIRTIO_NET_F_GUEST_UDP is not negotiated, the device MUST NOT set If VIRTIO_NET_F_GUEST_TSO6 is not negotiated, the device MUST NOT set \field{gso_type} to VIRTIO_NET_HDR_GSO_TCPV6. A device SHOULD NOT send TCP packets requiring segmentation offload which have the Explicit Congestion Notification bit set, unless the VIRTIO_NET_F_GUEST_ECN feature is negotiated, in which case it MUST set the VIRTIO_NET_HDR_GSO_ECN bit in \field{gso_type}. +\drivernormative{\paragraph}{Processing of Packets}{Device Types / Network Device / Device Operation / Processing of Packets} +The driver MUST ignore \field{flag} bits that it does not recognize. + \subsubsection{Control Virtqueue}\label{sec:Device Types / Network Device / Device Operation / Control Virtqueue} The driver uses the control virtqueue (if VIRTIO_NET_F_CTRL_VQ is -- MST
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]