Page MenuHomeFreeBSD

Disable context descriptor reuse if num_queues > 1
ClosedPublic

Authored by sbruno on Oct 23 2015, 9:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 23, 9:45 PM
Unknown Object (File)
Jan 2 2024, 2:09 AM
Unknown Object (File)
Dec 22 2023, 9:52 PM
Unknown Object (File)
Nov 9 2023, 5:34 PM
Unknown Object (File)
Nov 7 2023, 6:48 PM
Unknown Object (File)
Nov 6 2023, 2:40 AM
Unknown Object (File)
Nov 5 2023, 2:00 PM
Unknown Object (File)
Oct 8 2023, 4:32 PM
Subscribers

Details

Summary

Disable context descriptor reuse if num_queues > 1

Diff Detail

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

Event Timeline

sbruno retitled this revision from to Disable context descriptor reuse if num_queues > 1.
sbruno updated this object.
sbruno edited the test plan for this revision. (Show Details)
sbruno added a reviewer: erj.
sbruno added a subscriber: hiren.

Looks okay to me. I am sure commit-log will have all the details but it'd be useful to have which problem/behavior prompted this fix.
Also I am seeing weird whitespaces. Not sure if its phabric or not. (lines 3744 and 3791)

Did not re-using context descriptors work out for you, and you don't see the wrong queue value in the receive descriptor?

In D3995#83298, @erj wrote:

Did not re-using context descriptors work out for you, and you don't see the wrong queue value in the receive descriptor?

This only affects the TX side here. Context descriptor reuse cannot be enabled on the 82574L (and probably all e1000 class) due to the hardware only being able to remember the last context.

This revision was automatically updated to reflect the committed changes.