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
F56034450: D29383.diff
Tue, Feb 7, 11:58 PM
Unknown Object (File)
Dec 28 2022, 2:13 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 37998
Build 34887: arc lint + arc unit

Event Timeline

sys/dev/cxgbe/t4_sge.c
1253

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