Page MenuHomeFreeBSD

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

Authored by jhb on Mon, Mar 22, 10:44 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sys/dev/cxgbe/t4_sge.c
1251

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.Fri, Mar 26, 9:46 PM