Lines Matching defs:offload
2198 struct tc_cbs_qopt_offload *offload)
2205 if (!offload->enable)
2206 return sja1105_delete_cbs_shaper(priv, port, offload->queue);
2209 index = sja1105_find_cbs_shaper(priv, port, offload->queue);
2219 cbs->prio = offload->queue;
2223 cbs->credit_hi = offload->hicredit;
2224 cbs->credit_lo = abs(offload->locredit);
2226 * link speed. Since the given offload->sendslope is good only for the
2231 port_transmit_rate_kbps = offload->idleslope - offload->sendslope;
2232 cbs->idle_slope = div_s64(offload->idleslope * BYTES_PER_KBIT,
2234 cbs->send_slope = div_s64(abs(offload->sendslope * BYTES_PER_KBIT),
3062 /* For chips that can't offload BR_MCAST_FLOOD independently, there