Lines Matching defs:cbs
252 struct tc_cbs_qopt_offload cbs = { };
266 cbs.queue = q->queue;
267 cbs.enable = 0;
269 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_CBS, &cbs);
272 cbs.queue);
280 struct tc_cbs_qopt_offload cbs = { };
284 NL_SET_ERR_MSG(extack, "Specified device does not support cbs offload");
288 cbs.queue = q->queue;
290 cbs.enable = 1;
291 cbs.hicredit = opt->hicredit;
292 cbs.locredit = opt->locredit;
293 cbs.idleslope = opt->idleslope;
294 cbs.sendslope = opt->sendslope;
296 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_CBS, &cbs);
298 NL_SET_ERR_MSG(extack, "Specified device failed to setup cbs hardware offload");
326 netdev_dbg(dev, "cbs: set %s's port_rate to: %lld, linkspeed: %d\n",
541 .id = "cbs",