Lines Matching refs:qopt
6 struct tc_cbs_qopt_offload *qopt) in lan966x_cbs_add() argument
13 if (qopt->idleslope <= 0 || in lan966x_cbs_add()
14 qopt->sendslope >= 0 || in lan966x_cbs_add()
15 qopt->locredit >= qopt->hicredit) in lan966x_cbs_add()
18 se_idx = SE_IDX_QUEUE + port->chip_port * NUM_PRIO_QUEUES + qopt->queue; in lan966x_cbs_add()
19 cir = qopt->idleslope; in lan966x_cbs_add()
20 cbs = (qopt->idleslope - qopt->sendslope) * in lan966x_cbs_add()
21 (qopt->hicredit - qopt->locredit) / in lan966x_cbs_add()
22 -qopt->sendslope; in lan966x_cbs_add()
52 struct tc_cbs_qopt_offload *qopt) in lan966x_cbs_del() argument
57 se_idx = SE_IDX_QUEUE + port->chip_port * NUM_PRIO_QUEUES + qopt->queue; in lan966x_cbs_del()