diff options
author | Andrew Rybchenko <arybchik@FreeBSD.org> | 2018-11-27 14:15:30 +0000 |
---|---|---|
committer | Andrew Rybchenko <arybchik@FreeBSD.org> | 2018-11-27 14:15:30 +0000 |
commit | fdfd8bfee97f107de3405d22e9974629f10793b3 (patch) | |
tree | 507d20595b6494a0cd05e8a7921f9d9afc437f17 /sys/dev/sfxge/common/efx.h | |
parent | 6c54b7b61f4ed12acc797733ee11022b79409cb1 (diff) | |
download | src-fdfd8bfee97f107de3405d22e9974629f10793b3.tar.gz src-fdfd8bfee97f107de3405d22e9974629f10793b3.zip |
sfxge(4): use MAC stats DMA buffer size when decoding
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.
Differential Revision: https://reviews.freebsd.org/D18176
Notes
Notes:
svn path=/head/; revision=341062
Diffstat (limited to 'sys/dev/sfxge/common/efx.h')
0 files changed, 0 insertions, 0 deletions