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, Sep 21, 6:08 PM
Unknown Object (File)
Mon, Sep 21, 4:44 PM
Unknown Object (File)
Mon, Sep 21, 3:59 PM
Unknown Object (File)
Sat, Sep 5, 6:58 PM
Unknown Object (File)
Aug 19 2026, 5:20 PM
Unknown Object (File)
Aug 19 2026, 3:59 PM
Unknown Object (File)
Aug 18 2026, 8:22 PM
Unknown Object (File)
Aug 18 2026, 8:11 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.