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

(cherry picked from commit 2a346c8993cbb92a321a7c25bd9ac4dcaae352d1)

Details

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