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)
Mon, Apr 20, 11:33 AM
Unknown Object (File)
Sat, Apr 11, 11:49 PM
Unknown Object (File)
Sat, Apr 11, 8:53 AM
Unknown Object (File)
Fri, Apr 10, 10:33 PM
Unknown Object (File)
Fri, Apr 10, 1:16 PM
Unknown Object (File)
Fri, Apr 10, 4:15 AM
Unknown Object (File)
Sun, Apr 5, 7:09 AM
Unknown Object (File)
Tue, Mar 31, 1:26 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