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)
Thu, Apr 24, 2:28 PM
Unknown Object (File)
Mar 2 2025, 4:59 PM
Unknown Object (File)
Feb 25 2025, 3:07 AM
Unknown Object (File)
Feb 25 2025, 12:00 AM
Unknown Object (File)
Feb 24 2025, 9:41 PM
Unknown Object (File)
Feb 24 2025, 6:46 PM
Unknown Object (File)
Feb 23 2025, 10:44 AM
Unknown Object (File)
Feb 10 2025, 7:09 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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