Lines Matching refs:qopt

109 	struct tc_ets_qopt_offload qopt;  in ets_offload_change()  local
121 qopt.command = TC_ETS_REPLACE; in ets_offload_change()
122 qopt.handle = sch->handle; in ets_offload_change()
123 qopt.parent = sch->parent; in ets_offload_change()
124 qopt.replace_params.bands = q->nbands; in ets_offload_change()
125 qopt.replace_params.qstats = &sch->qstats; in ets_offload_change()
126 memcpy(&qopt.replace_params.priomap, in ets_offload_change()
139 qopt.replace_params.quanta[i] = quantum; in ets_offload_change()
140 qopt.replace_params.weights[i] = weight; in ets_offload_change()
143 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_ETS, &qopt); in ets_offload_change()
149 struct tc_ets_qopt_offload qopt; in ets_offload_destroy() local
154 qopt.command = TC_ETS_DESTROY; in ets_offload_destroy()
155 qopt.handle = sch->handle; in ets_offload_destroy()
156 qopt.parent = sch->parent; in ets_offload_destroy()
157 dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_ETS, &qopt); in ets_offload_destroy()
165 struct tc_ets_qopt_offload qopt; in ets_offload_graft() local
167 qopt.command = TC_ETS_GRAFT; in ets_offload_graft()
168 qopt.handle = sch->handle; in ets_offload_graft()
169 qopt.parent = sch->parent; in ets_offload_graft()
170 qopt.graft_params.band = arg - 1; in ets_offload_graft()
171 qopt.graft_params.child_handle = new->handle; in ets_offload_graft()
174 &qopt, extack); in ets_offload_graft()
179 struct tc_ets_qopt_offload qopt; in ets_offload_dump() local
181 qopt.command = TC_ETS_STATS; in ets_offload_dump()
182 qopt.handle = sch->handle; in ets_offload_dump()
183 qopt.parent = sch->parent; in ets_offload_dump()
184 qopt.stats.bstats = &sch->bstats; in ets_offload_dump()
185 qopt.stats.qstats = &sch->qstats; in ets_offload_dump()
187 return qdisc_offload_dump_helper(sch, TC_SETUP_QDISC_ETS, &qopt); in ets_offload_dump()