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)
Sun, Nov 23, 7:33 AM
Unknown Object (File)
Sat, Nov 22, 9:39 PM
Unknown Object (File)
Sat, Nov 22, 8:26 PM
Unknown Object (File)
Fri, Nov 21, 8:31 AM
Unknown Object (File)
Wed, Nov 19, 9:01 AM
Unknown Object (File)
Wed, Nov 19, 1:02 AM
Unknown Object (File)
Nov 3 2025, 1:45 PM
Unknown Object (File)
Nov 3 2025, 9:01 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

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.