Page MenuHomeFreeBSD

sfxge(4): enforce packed stream fake buffer size
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 27 2025, 6:00 AM
Unknown Object (File)
Feb 23 2025, 2:48 AM
Unknown Object (File)
Feb 22 2025, 7:37 AM
Unknown Object (File)
Feb 22 2025, 12:03 AM
Unknown Object (File)
Feb 21 2025, 6:10 PM
Unknown Object (File)
Jan 18 2025, 9:53 AM
Unknown Object (File)
Oct 9 2024, 12:49 AM
Unknown Object (File)
Oct 5 2024, 2:02 AM
Subscribers

Details

Summary

In the case of packed stream real size of the buffer does not fit in
Rx descriptor byte count. Real size is specified on Rx queue setup.
Non-zero fake should be used to bypass hardware checks.

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 23 2018, 11:39 AM
This revision was automatically updated to reflect the committed changes.