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) {
349 struct tc_etf_qopt *qopt;
368 qopt = nla_data(tb[TCA_ETF_PARMS]);
371 qopt->delta, qopt->clockid,
372 OFFLOAD_IS_ON(qopt) ? "on" : "off",
373 DEADLINE_MODE_IS_ON(qopt) ? "on" : "off");
375 err = validate_input_params(qopt, extack);
381 if (OFFLOAD_IS_ON(qopt)) {
388 q->delta = qopt->delta;
389 q->clockid = qopt->clockid;
390 q->offload = OFFLOAD_IS_ON(qopt);
391 q->deadline_mode = DEADLINE_MODE_IS_ON(qopt);
392 q->skip_sock_check = SKIP_SOCK_CHECK_IS_SET(qopt);