Lines Matching +full:1 +full:gbps
9 * 1. Redistributions of source code must retain the above copyright
66 rc = -t4_sched_config(sc, FW_SCHED_TYPE_PKTSCHED, minmax, 1);
104 if (!in_range(p->channel, 0, sc->chip_params->nchan - 1))
111 top_speed = port_top_speed(pi) * 1000000; /* Gbps -> Kbps */
157 if (!in_range(p->weight, 1, 99))
171 if (!in_range(p->cl, 0, sc->params.nsched_cls - 1))
276 tc->pktsize, tc->burstsize, 1);
312 return (set_sched_class_params(sc, &p->u.params, 1));
338 if (idx != -1) {
366 rc = -t4_set_params(sc, sc->mbox, sc->pf, 0, 1, &fw_mnem,
378 if (old_idx != -1) {
389 if (idx != -1) {
397 MPASS(txq->tc_idx >= -1 && txq->tc_idx < sc->params.nsched_cls);
425 if (!in_range(p->queue, 0, vi->ntxq - 1) ||
426 !in_range(p->cl, 0, sc->params.nsched_cls - 1))
517 fa = fa2 = -1;
545 if (fa == -1)
547 if (fa == -1) {
548 *tc_idx = -1;
556 tc->refcount = 1;
607 if (!in_range(tc_idx, 0, sc->params.nsched_cls - 1))
619 int i, rc, port_id, mbps, gbps;
649 gbps = port_top_speed(sc->port[port_id]);
650 sbuf_printf(sb, "%u%% of %uGbps", tc.maxrate, gbps);
654 gbps = tc.maxrate / 1000000;
655 if (tc.maxrate == gbps * 1000000)
656 sbuf_printf(sb, "%uGbps", gbps);
718 for (i = 1; i < t->netids; i++)
719 t->etid_tab[i - 1].next = &t->etid_tab[i];
720 t->etid_tab[t->netids - 1].next = NULL;
749 int etid = -1;
864 /* XXX: is schedcl -1 ok here? */
914 if (cst->schedcl != -1)
964 #if 1