Page MenuHomeFreeBSD

sfxge(4): use MAC stats DMA buffer size when decoding
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 24, 3:10 PM
Unknown Object (File)
Dec 22 2023, 10:03 PM
Unknown Object (File)
Jun 8 2023, 6:16 PM
Unknown Object (File)
May 14 2023, 6:22 PM
Unknown Object (File)
Apr 25 2023, 6:42 PM
Unknown Object (File)
Apr 24 2023, 11:48 PM
Unknown Object (File)
Apr 20 2023, 7:28 AM
Unknown Object (File)
Jan 5 2023, 1:21 PM
Subscribers

Details

Summary

On Medford2 and later the MAC stats buffer has been enlarged.
Use the MAC stats DMA buffer size to ensure that the stats END
generation count is read from the correct location, and that
over-reading of the DMA buffer is prevented.

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.