Page MenuHomeFreeBSD

cxgbe KTLS tx: Distribute FW6_PLD replies across rx queues
ClosedPublic

Authored by np on Mon, Oct 27, 8:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 8, 7:48 PM
Unknown Object (File)
Fri, Nov 7, 6:48 AM
Unknown Object (File)
Fri, Nov 7, 6:48 AM
Unknown Object (File)
Fri, Nov 7, 6:48 AM
Unknown Object (File)
Fri, Nov 7, 2:01 AM
Unknown Object (File)
Sun, Nov 2, 1:21 PM
Unknown Object (File)
Sun, Nov 2, 1:19 PM
Unknown Object (File)
Thu, Oct 30, 12:45 AM
Subscribers

Details

Summary

If the connection flowid is available then the replies are requested on
the rx queue that is receiving wire traffic for the connection. This
reduces contention for the txq lock.

MFC after: 3 days
Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

np requested review of this revision.Mon, Oct 27, 8:22 PM
sys/dev/cxgbe/crypto/t7_kern_tls.c
253

I wonder if this should also break randomized if there is no flowtype matching the change you made in alloc_tlspcb()? In practice I suspect there is always a flowtype? (Can we just assert that I wonder?)

sys/dev/cxgbe/crypto/t7_kern_tls.c
253

s/break/be/

Initialize rx_qid and txq outside alloc_tlspcb

np marked 2 inline comments as done.Wed, Oct 29, 4:55 PM
This revision is now accepted and ready to land.Wed, Nov 12, 2:58 PM