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)
Tue, Jun 11, 4:34 AM
Unknown Object (File)
Sat, Jun 8, 7:18 PM
Unknown Object (File)
Mar 25 2024, 11:48 PM
Unknown Object (File)
Mar 25 2024, 11:11 PM
Unknown Object (File)
Dec 20 2023, 2:22 AM
Unknown Object (File)
Dec 15 2023, 12:47 AM
Unknown Object (File)
Nov 29 2023, 9:54 PM
Unknown Object (File)
Nov 18 2023, 8:59 PM
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.