This type mirrors struct sge_ofld_rxq and holds state for TCP offload
transmit queues. Currently it only holds a work queue but will
include additional state in future changes.
Sponsored by: Chelsio Communications
Differential D29382
cxgbe: Add a struct sge_ofld_txq type. jhb on Mar 22 2021, 10:44 PM. Authored by Tags None Referenced Files
Details
This type mirrors struct sge_ofld_rxq and holds state for TCP offload Sponsored by: Chelsio Communications
Diff Detail
Event TimelineComment Actions The offload tx queues are also used for RATELIMIT tx and we should either set cxgbe_rate_tag->eo_txq to ofld_txq->wrq in ethofld_transmit or change eo_txq to be a sge_ofld_txq. Comment Actions There's also this in t4_main.c that needs to be updated to sizeof(struct sge_ofld_txq): s->ofld_txq = malloc(s->nofldtxq * sizeof(struct sge_wrq), M_CXGBE, M_ZERO | M_WAITOK);
|