Currently supports IFCOUNTER_OQDROPS and fallbacks to if_get_counter_default().
PR: 280386
MFC after: 1 week
Differential D46186
iflib: Add iflib managed counters support zlei on Jul 30 2024, 4:40 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions
Is this supposed to help solve the problem in the PR? I'm not sure what's going on there, but I'm not sure it's clear in there except for your comment that Odrops isn't incrementing because they're not being retrieved properly. Comment Actions Yes. That PR lead this change. I mean when I hacking if_bridge(4), I realized some iflib drivers ( em and igb in that PR ) does not report Odrops correctly.
So users ( and also me ) got confused what happens behind. Users are more familiar with netstat(8) than driver specific sysctl variables.
|