vtnet: deprecate loader tunable fixup_needs_csum
If this tunable is enabled and vtnet receives a packet with VIRTIO_NET_HDR_F_NEEDS_CSUM set, vtnet computes the TCP/UDP checksum and writes it in the checksum field. This was somewhat useful when vtnet pretended that such a packet has a correct checksum and set the mbuf flag CSUM_DATA_VALID. But this is not the case anymore. Reviewed by: tuexen MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D52546
This commit is contained in:
committed by
Michael Tuexen
parent
1bb72d3d6e
commit
5da388d939
@@ -22,7 +22,7 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd September 8, 2025
|
.Dd September 16, 2025
|
||||||
.Dt VTNET 4
|
.Dt VTNET 4
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -84,6 +84,8 @@ field of the structure
|
|||||||
.Vt struct virtio_net_hdr .
|
.Vt struct virtio_net_hdr .
|
||||||
It also marks the checksum as being correct in the mbuf packet header.
|
It also marks the checksum as being correct in the mbuf packet header.
|
||||||
The default value is 0.
|
The default value is 0.
|
||||||
|
This tunable is deprecated and will be removed in
|
||||||
|
.Fx 16 .
|
||||||
.It Va hw.vtnet.tso_disable
|
.It Va hw.vtnet.tso_disable
|
||||||
.It Va hw.vtnet. Ns Ar X Ns Va .tso_disable
|
.It Va hw.vtnet. Ns Ar X Ns Va .tso_disable
|
||||||
This tunable disables TCP segmentation offloading.
|
This tunable disables TCP segmentation offloading.
|
||||||
|
|||||||
Reference in New Issue
Block a user