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)
Dec 23 2023, 9:14 AM
Unknown Object (File)
Sep 16 2023, 5:11 PM
Unknown Object (File)
Aug 26 2023, 11:16 PM
Unknown Object (File)
Jul 5 2023, 9:41 PM
Unknown Object (File)
Apr 8 2023, 12:14 AM
Unknown Object (File)
Mar 21 2023, 8:07 PM
Unknown Object (File)
Jan 3 2023, 3:14 PM
Unknown Object (File)
Dec 29 2022, 9:19 PM
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

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 30 2018, 5:54 AM
This revision was automatically updated to reflect the committed changes.