Page MenuHomeFreeBSD

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

Authored by arybchik on Nov 21 2018, 11:22 AM.

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

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 20956
Build 20321: arc lint + arc unit

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.