Page MenuHomeFreeBSD

sfxge(4): remove probes when a Tx queue is too full
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 13, 1:21 AM
Unknown Object (File)
Mon, Apr 6, 8:40 AM
Unknown Object (File)
Mon, Mar 30, 5:14 PM
Unknown Object (File)
Mon, Mar 30, 10:43 AM
Unknown Object (File)
Fri, Mar 20, 10:52 PM
Unknown Object (File)
Wed, Mar 18, 9:33 AM
Unknown Object (File)
Tue, Mar 17, 5:38 PM
Unknown Object (File)
Mar 14 2026, 12:25 AM
Subscribers

Details

Summary

No need for probe messages when a TxQ is too full for a post to be done.

Existing drivers check if there is room in the queue before posting
descriptors, even though efx_tx_qdesc_post() does the check itself.

The new SFN Windows driver doesn't perform the check before calling
efx_tx_qdesc_post(), but that means these probes can get frequently
printed out. It's normal driver behaviour so there's no need to print
an error.

Submitted by: Mark Spender <mspender 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21108
Build 20471: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 30 2018, 5:54 AM
This revision was automatically updated to reflect the committed changes.