mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
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 Differential Revision: https://reviews.freebsd.org/D52546 (cherry picked from commit 5da388d93917f5fa74022960cc65452592f71539)
This commit is contained in:
parent
d92ff32bad
commit
4ac0fb6ca4
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd September 8, 2025
|
||||
.Dd September 16, 2025
|
||||
.Dt VTNET 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -84,6 +84,8 @@ field of the structure
|
|||
.Vt struct virtio_net_hdr .
|
||||
It also marks the checksum as being correct in the mbuf packet header.
|
||||
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. Ns Ar X Ns Va .tso_disable
|
||||
This tunable disables TCP segmentation offloading.
|
||||
|
|
|
|||
Loading…
Reference in a new issue