Lines Matching refs:lss
981 static void cbq_set_lss(struct cbq_class *cl, struct tc_cbq_lssopt *lss) in cbq_set_lss() argument
983 if (lss->change & TCF_CBQ_LSS_FLAGS) { in cbq_set_lss()
984 cl->share = (lss->flags & TCF_CBQ_LSS_ISOLATED) ? NULL : cl->tparent; in cbq_set_lss()
985 cl->borrow = (lss->flags & TCF_CBQ_LSS_BOUNDED) ? NULL : cl->tparent; in cbq_set_lss()
987 if (lss->change & TCF_CBQ_LSS_EWMA) in cbq_set_lss()
988 cl->ewma_log = lss->ewma_log; in cbq_set_lss()
989 if (lss->change & TCF_CBQ_LSS_AVPKT) in cbq_set_lss()
990 cl->avpkt = lss->avpkt; in cbq_set_lss()
991 if (lss->change & TCF_CBQ_LSS_MINIDLE) in cbq_set_lss()
992 cl->minidle = -(long)lss->minidle; in cbq_set_lss()
993 if (lss->change & TCF_CBQ_LSS_MAXIDLE) { in cbq_set_lss()
994 cl->maxidle = lss->maxidle; in cbq_set_lss()
995 cl->avgidle = lss->maxidle; in cbq_set_lss()
997 if (lss->change & TCF_CBQ_LSS_OFFTIME) in cbq_set_lss()
998 cl->offtime = lss->offtime; in cbq_set_lss()