HomeFreeBSD

vtnet: Prefer "hardware" accounting for the multicast and total number of…

Description

vtnet: Prefer "hardware" accounting for the multicast and total number of octets sent

When ALTQ is enabled, this driver does "hardware" accounting and soft
accounting at the same time. Prefer the "hardware" one to make the logic
simpler.

Reviewed by: zlei
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D44817

Details

Provenance
joyul_juniper.netAuthored on Sep 4 2025, 8:00 PM
zleiCommitted on Sep 4 2025, 8:00 PM
Reviewer
zlei
Differential Revision
D44817: Support IFCOUNTER_OBYTES and IFCOUNTER_OMCASTS even with VTNET_LEGACY_TX defined
Parents
rGa14d561e5852: vtnet: Do "hardware" accounting for the total number of received octets
Branches
Unknown
Tags
Unknown