Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/t4_main.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 11,880 Lines • ▼ Show 20 Lines | #if defined(TCP_OFFLOAD) || defined(RATELIMIT) | ||||
counter_u64_zero(ofld_txq->tx_toe_tls_octets); | counter_u64_zero(ofld_txq->tx_toe_tls_octets); | ||||
} | } | ||||
#endif | #endif | ||||
#ifdef TCP_OFFLOAD | #ifdef TCP_OFFLOAD | ||||
for_each_ofld_rxq(vi, i, ofld_rxq) { | for_each_ofld_rxq(vi, i, ofld_rxq) { | ||||
ofld_rxq->fl.cl_allocated = 0; | ofld_rxq->fl.cl_allocated = 0; | ||||
ofld_rxq->fl.cl_recycled = 0; | ofld_rxq->fl.cl_recycled = 0; | ||||
ofld_rxq->fl.cl_fast_recycled = 0; | ofld_rxq->fl.cl_fast_recycled = 0; | ||||
counter_u64_zero( | |||||
ofld_rxq->rx_iscsi_ddp_setup_ok); | |||||
counter_u64_zero( | |||||
ofld_rxq->rx_iscsi_ddp_setup_error); | |||||
ofld_rxq->rx_iscsi_ddp_pdus = 0; | |||||
ofld_rxq->rx_iscsi_ddp_octets = 0; | |||||
ofld_rxq->rx_iscsi_fl_pdus = 0; | |||||
ofld_rxq->rx_iscsi_fl_octets = 0; | |||||
ofld_rxq->rx_toe_tls_records = 0; | ofld_rxq->rx_toe_tls_records = 0; | ||||
ofld_rxq->rx_toe_tls_octets = 0; | ofld_rxq->rx_toe_tls_octets = 0; | ||||
} | } | ||||
#endif | #endif | ||||
if (IS_MAIN_VI(vi)) { | if (IS_MAIN_VI(vi)) { | ||||
wrq = &sc->sge.ctrlq[pi->port_id]; | wrq = &sc->sge.ctrlq[pi->port_id]; | ||||
wrq->tx_wrs_direct = 0; | wrq->tx_wrs_direct = 0; | ||||
▲ Show 20 Lines • Show All 1,159 Lines • Show Last 20 Lines |