Page MenuHomeFreeBSD

sfxge(4): limit max TXQ size on Medford to 2048
ClosedPublic

Authored by arybchik on Dec 28 2016, 3:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 8:38 AM
Unknown Object (File)
Oct 16 2024, 2:34 PM
Unknown Object (File)
Oct 9 2024, 1:11 PM
Unknown Object (File)
Oct 3 2024, 10:56 PM
Unknown Object (File)
Oct 3 2024, 8:57 AM
Unknown Object (File)
Oct 2 2024, 7:09 PM
Unknown Object (File)
Oct 2 2024, 1:56 PM
Unknown Object (File)
Oct 2 2024, 2:32 AM
Subscribers

Details

Summary

Queues with 4096 descriptors are not supported as the top bit is used
for vfifo stuffing.

Submitted by: Mark Spender <mspender at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days

Test Plan

amd64 kernels tinderbox build tested

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arybchik retitled this revision from to sfxge(4): limit max TXQ size on Medford to 2048.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added reviewers: gnn, philip, np, bz.
gnn requested changes to this revision.Dec 28 2016, 4:43 PM
gnn edited edge metadata.
gnn added inline comments.
head/sys/dev/sfxge/common/siena_nic.c
161

Please create a #defined constant for this.

This revision now requires changes to proceed.Dec 28 2016, 4:43 PM
head/sys/dev/sfxge/common/siena_nic.c
161

Do you mean exactly this one or all similar cases above as well?
The define will be used in exactly one place since logically it is different constants for different NIC families.

head/sys/dev/sfxge/common/siena_nic.c
161

Yes, I'd like to see it for all cases so that none of them are magic numbers. I noticed this one first.

Requested changes will be done in subsequent patches since it is too much headache to fix it here out of order and have pile of merge conflicts in subsequent patches.

This revision was not accepted when it landed; it landed in state Needs Review.Nov 22 2018, 4:15 PM
This revision was automatically updated to reflect the committed changes.