Lines Matching refs:lss
1065 static int cbq_set_lss(struct cbq_class *cl, struct tc_cbq_lssopt *lss) in cbq_set_lss() argument
1067 if (lss->change & TCF_CBQ_LSS_FLAGS) { in cbq_set_lss()
1068 cl->share = (lss->flags & TCF_CBQ_LSS_ISOLATED) ? NULL : cl->tparent; in cbq_set_lss()
1069 cl->borrow = (lss->flags & TCF_CBQ_LSS_BOUNDED) ? NULL : cl->tparent; in cbq_set_lss()
1071 if (lss->change & TCF_CBQ_LSS_EWMA) in cbq_set_lss()
1072 cl->ewma_log = lss->ewma_log; in cbq_set_lss()
1073 if (lss->change & TCF_CBQ_LSS_AVPKT) in cbq_set_lss()
1074 cl->avpkt = lss->avpkt; in cbq_set_lss()
1075 if (lss->change & TCF_CBQ_LSS_MINIDLE) in cbq_set_lss()
1076 cl->minidle = -(long)lss->minidle; in cbq_set_lss()
1077 if (lss->change & TCF_CBQ_LSS_MAXIDLE) { in cbq_set_lss()
1078 cl->maxidle = lss->maxidle; in cbq_set_lss()
1079 cl->avgidle = lss->maxidle; in cbq_set_lss()
1081 if (lss->change & TCF_CBQ_LSS_OFFTIME) in cbq_set_lss()
1082 cl->offtime = lss->offtime; in cbq_set_lss()