Page MenuHomeFreeBSD

sfxge(4): retrieve number of MAC stats from NIC
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 13, 3:35 AM
Unknown Object (File)
Sat, Jul 4, 12:06 AM
Unknown Object (File)
Fri, Jul 3, 11:57 AM
Unknown Object (File)
Fri, Jul 3, 8:32 AM
Unknown Object (File)
Wed, Jul 1, 6:59 AM
Unknown Object (File)
Jun 14 2026, 4:24 PM
Unknown Object (File)
May 12 2026, 2:25 PM
Unknown Object (File)
May 3 2026, 5:28 AM
Subscribers

Details

Summary

This reports the number of stats (and hence the DMA buffer size)
for MAC stats. If MC_GET_CAPABABILITIES_V4 is not supported then
use the legacy Siena-compatible MC_CMD_MAC_NSTATS value.

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21031
Build 20394: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 27 2018, 2:16 PM
This revision was automatically updated to reflect the committed changes.