Lines Matching defs:qopt
44 static inline int validate_input_params(struct tc_etf_qopt *qopt,
57 if (qopt->clockid < 0) {
62 if (qopt->clockid != CLOCK_TAI) {
67 if (qopt->delta < 0) {
352 struct tc_etf_qopt *qopt;
371 qopt = nla_data(tb[TCA_ETF_PARMS]);
374 qopt->delta, qopt->clockid,
375 OFFLOAD_IS_ON(qopt) ? "on" : "off",
376 DEADLINE_MODE_IS_ON(qopt) ? "on" : "off");
378 err = validate_input_params(qopt, extack);
384 if (OFFLOAD_IS_ON(qopt)) {
391 q->delta = qopt->delta;
392 q->clockid = qopt->clockid;
393 q->offload = OFFLOAD_IS_ON(qopt);
394 q->deadline_mode = DEADLINE_MODE_IS_ON(qopt);
395 q->skip_sock_check = SKIP_SOCK_CHECK_IS_SET(qopt);