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
F147656388: D18100.id50696.diff
Thu, Mar 12, 3:38 PM
F147608699: D18100.id.diff
Thu, Mar 12, 7:24 AM
Unknown Object (File)
Thu, Mar 12, 2:57 AM
Unknown Object (File)
Thu, Mar 12, 2:07 AM
Unknown Object (File)
Wed, Mar 11, 10:26 PM
Unknown Object (File)
Feb 10 2026, 4:56 PM
Unknown Object (File)
Feb 9 2026, 11:48 PM
Unknown Object (File)
Jan 19 2026, 4:59 PM
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.