Lines Matching full:etf
299 struct tc_etf_qopt_offload etf = { }; in etf_disable_offload() local
310 etf.queue = q->queue; in etf_disable_offload()
311 etf.enable = 0; in etf_disable_offload()
313 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_ETF, &etf); in etf_disable_offload()
315 pr_warn("Couldn't disable ETF offload for queue %d\n", in etf_disable_offload()
316 etf.queue); in etf_disable_offload()
323 struct tc_etf_qopt_offload etf = { }; in etf_enable_offload() local
327 NL_SET_ERR_MSG(extack, "Specified device does not support ETF offload"); in etf_enable_offload()
331 etf.queue = q->queue; in etf_enable_offload()
332 etf.enable = 1; in etf_enable_offload()
334 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_ETF, &etf); in etf_enable_offload()
336 NL_SET_ERR_MSG(extack, "Specified device failed to setup ETF hardware offload"); in etf_enable_offload()
354 "Missing ETF qdisc options which are mandatory"); in etf_init()
364 NL_SET_ERR_MSG(extack, "Missing mandatory ETF parameters"); in etf_init()
492 .id = "etf",
503 MODULE_ALIAS_NET_SCH("etf");
517 MODULE_DESCRIPTION("Earliest TxTime First (ETF) qdisc");