virtio-net: Fix to avoid using reserved feature bits
PATCH 1/1 virtio-net: Fix to avoid using reserved feature bits
Listed patches in the fixes tag, incorrectly used the reserved feature bits. Fix them to use the well defined device specific range.
Fixes 8cd457d8aa82 ("virtio-net: define UDP tunnel segmentation offload feature")
Fixes 3fea589bd7c6 ("virtio-net: define UDP tunnel checksum offload feature")
Signed-off-by Parav Pandit <[email protected]>
--- device-types/net/description.tex | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
device-types/net/description.tex +12 -12
@@ -88,18 +88,6 @@ \subsection{Feature bits}\label{sec:Device Types / Network Device / Feature bits \item[VIRTIO_NET_F_CTRL_MAC_ADDR(23)] Set MAC address through control channel. -\item[VIRTIO_NET_F_GUEST_UDP_TUNNEL_GSO (46)] Driver can receive GSO packets - carried by a UDP tunnel. - -\item[VIRTIO_NET_F_GUEST_UDP_TUNNEL_GSO_CSUM (47)] Driver handles packets - carried by a UDP tunnel with partial csum for the outer header. - -\item[VIRTIO_NET_F_HOST_UDP_TUNNEL_GSO (48)] Device can receive GSO packets - carried by a UDP tunnel. - -\item[VIRTIO_NET_F_HOST_UDP_TUNNEL_GSO_CSUM (49)] Device handles packets - carried by a UDP tunnel with partial csum for the outer header. - \item[VIRTIO_NET_F_DEVICE_STATS(50)] Device can provide device-level statistics to the driver through the control virtqueue.
@@ -136,6 +124,18 @@ \subsection{Feature bits}\label{sec:Device Types / Network Device / Feature bits \item[VIRTIO_NET_F_SPEED_DUPLEX(63)] Device reports speed and duplex. \item[VIRTIO_NET_F_RSS_CONTEXT(64)] Device supports multiple RSS contexts. + +\item[VIRTIO_NET_F_GUEST_UDP_TUNNEL_GSO (65)] Driver can receive GSO packets + carried by a UDP tunnel. + +\item[VIRTIO_NET_F_GUEST_UDP_TUNNEL_GSO_CSUM (66)] Driver handles packets + carried by a UDP tunnel with partial csum for the outer header. + +\item[VIRTIO_NET_F_HOST_UDP_TUNNEL_GSO (67)] Device can receive GSO packets + carried by a UDP tunnel. + +\item[VIRTIO_NET_F_HOST_UDP_TUNNEL_GSO_CSUM (68)] Device handles packets + carried by a UDP tunnel with partial csum for the outer header. \end{description} \subsubsection{Feature bit requirements}\label{sec:Device Types / Network Device / Feature bits / Feature bit requirements}
Signature · 1 line
2.34.1
Quoted 6 lines · Parav Pandit
Listed patches in the fixes tag, incorrectly used the reserved feature bits. Fix them to use the well defined device specific range.
Fixes 8cd457d8aa82 ("virtio-net: define UDP tunnel segmentation offload feature")Fixes 3fea589bd7c6 ("virtio-net: define UDP tunnel checksum offload feature")
I guess these commit ids need to be updated with whatever the final ones will be?
Quoted 4 lines
Signed-off-by Parav Pandit <[email protected]>--- device-types/net/description.tex | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
Reviewed-by Cornelia Huck <[email protected]>