Page MenuHomeFreeBSD

cxgbe: Make the TOE TLS stats per-queue instead of per-port.
ClosedPublic

Authored by jhb on Mar 22 2021, 10:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 4, 6:43 AM
Unknown Object (File)
Fri, Jan 31, 8:25 PM
Unknown Object (File)
Thu, Jan 30, 4:54 AM
Unknown Object (File)
Wed, Jan 29, 1:42 PM
Unknown Object (File)
Mon, Jan 27, 10:33 AM
Unknown Object (File)
Mon, Jan 27, 10:12 AM
Unknown Object (File)
Sat, Jan 25, 7:21 PM
Unknown Object (File)
Sat, Jan 25, 11:46 AM
Subscribers

Details

Summary

This avoids some atomics by using counter_u64 for TX and relying on
existing single-threading (single ithread per rxq) for RX.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38029
Build 34918: arc lint + arc unit

Event Timeline

sys/dev/cxgbe/t4_sge.c
1252

A question here is if we want to have alloc_ofld_txq and free_ofld_txq helper functions in t4_sge.c as we currently have for offload RX queues. If so, I would probably go back and do that in the previous commit that introduced struct sge_ofld_txq

  • Update for alloc/free_txq_ofld().
This revision is now accepted and ready to land.Mar 26 2021, 9:46 PM