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