OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: grind on December 07, 2025, 04:51:36 PM

Title: vtnet offloading since 25.7.8
Post by: grind on December 07, 2025, 04:51:36 PM
I'm running opnsense in a virtualized env and was aware about the problems that the vtnet driver had. Now that this is fixed in freebsd core and the patches have found their way into opnsense since 25.7.8, I'm not sure, why hw.vtnet.csum_disable="1" is still present in loader.conf. Shouldn't this go away now?
Title: Re: vtnet offloading since 25.7.8
Post by: Maurice on December 07, 2025, 07:12:01 PM
It's still disabled in the OPNsense default tunables. You can change this in System: Settings: Tunables.

Cheers
Maurice
Title: Re: vtnet offloading since 25.7.8
Post by: franco on December 07, 2025, 09:14:59 PM
I wanted to talk to Patrick about this, too. Our own testing was inconclusive.


Cheers,
Franco
Title: Re: vtnet offloading since 25.7.8
Post by: Patrick M. Hausen on December 07, 2025, 09:40:36 PM
From following freebsd-net I am not entirely convinced that this is fixed for good in releng/14.
Title: Re: vtnet offloading since 25.7.8
Post by: Maurice on December 07, 2025, 09:43:43 PM
I've now set hw.vtnet.csum_disable=0 on two OPNsense instances with vtnet interfaces (one amd64, one aarch64).
Will report back with anecdotal observations (remind me if I forget because everything works).

options=ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS>
Cheers
Maurice