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)
Wed, Oct 30, 4:57 AM
Unknown Object (File)
Oct 5 2024, 5:48 AM
Unknown Object (File)
Sep 27 2024, 3:13 PM
Unknown Object (File)
Sep 18 2024, 10:09 AM
Unknown Object (File)
Aug 29 2024, 3:56 PM
Unknown Object (File)
Aug 22 2024, 10:31 PM
Unknown Object (File)
Aug 12 2024, 4:06 AM
Unknown Object (File)
Aug 9 2024, 12:51 AM
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.