Searched refs:tc_idx (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/dev/cxgbe/ |
H A D | t4_sched.c | 328 if (txq->tc_idx == -2) { in bind_txq_to_traffic_class() 332 if (idx == txq->tc_idx) { in bind_txq_to_traffic_class() 356 old_idx = txq->tc_idx; in bind_txq_to_traffic_class() 357 txq->tc_idx = -2; in bind_txq_to_traffic_class() 372 MPASS(txq->tc_idx == -2); in bind_txq_to_traffic_class() 383 txq->tc_idx = idx; in bind_txq_to_traffic_class() 394 txq->tc_idx = old_idx; in bind_txq_to_traffic_class() 397 MPASS(txq->tc_idx >= -1 && txq->tc_idx < sc->params.nsched_cls); in bind_txq_to_traffic_class() 496 int *tc_idx) in t4_reserve_cl_rl_kbps() argument 575 t4_release_cl_rl(struct adapter * sc,int port_id,int tc_idx) t4_release_cl_rl() argument 595 int qidx = arg2, rc, tc_idx; sysctl_tc() local [all...] |
H A D | adapter.h | 611 int tc_idx; /* traffic class */ member
|
H A D | t4_sge.c | 4679 txq->tc_idx = -1; in alloc_txq()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 99 if (toep->params.tc_idx != -1) { in send_flowc_wr() 100 MPASS(toep->params.tc_idx >= 0 && in send_flowc_wr() 101 toep->params.tc_idx < sc->params.nsched_cls); in send_flowc_wr() 145 if (toep->params.tc_idx != -1) in send_flowc_wr() 146 FLOWC_PARAM(SCHEDCLASS, toep->params.tc_idx); in send_flowc_wr() 171 int tc_idx, rc; in update_tx_rate_limit() local 179 tc_idx = -1; in update_tx_rate_limit() 181 rc = t4_reserve_cl_rl_kbps(sc, port_id, kbps, &tc_idx); in update_tx_rate_limit() 184 MPASS(tc_idx >= 0 && tc_idx < sc->params.nsched_cls); in update_tx_rate_limit() 187 if (toep->params.tc_idx != tc_idx) { in update_tx_rate_limit() [all …]
|
H A D | t4_tom.c | 170 if (cp->tc_idx >= 0 && cp->tc_idx < sc->params.nsched_cls) { in init_toepcb() 171 tc = &pi->sched_params->cl_rl[cp->tc_idx]; in init_toepcb() 176 toep->tid, cp->tc_idx, tc->state); in init_toepcb() 177 cp->tc_idx = -1; in init_toepcb() 333 if (toep->params.tc_idx != -1) in release_offload_resources() 334 t4_release_cl_rl(sc, toep->vi->pi->port_id, toep->params.tc_idx); in release_offload_resources() 1284 cp->tc_idx = s->sched_class; in init_conn_params() 1286 cp->tc_idx = -1; in init_conn_params()
|
H A D | t4_tom.h | 106 int8_t tc_idx; member
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_dev.c | 2171 u8 tc_idx; in ecore_init_qm_mcos_pqs() local 2177 for (tc_idx = 0; tc_idx < ecore_init_qm_get_num_tcs(p_hwfn); tc_idx++) in ecore_init_qm_mcos_pqs() 2178 ecore_init_qm_pq(p_hwfn, qm_info, tc_idx, PQ_INIT_SHARE_VPORT); in ecore_init_qm_mcos_pqs()
|