Lines Matching defs:ifq
581 struct ifqueue *ifq;
593 ifq = malloc(sizeof(*ifq), M_DEVBUF, M_WAITOK|M_ZERO);
594 ifq_init_maxlen(ifq, ifp->if_snd.ifq_maxlen);
595 ifq_init(ifq, ifp, i);
596 map[i] = ifq;
682 * only switch the ifq_ops on the first ifq on an interface.
685 * works on a single ifq. because the code uses the ifq_ops
686 * on the first ifq (if_snd) to select a queue for an mbuf,
700 if_qstart_compat(struct ifqueue *ifq)
702 struct ifnet *ifp = ifq->ifq_if;
750 struct ifqueue *ifq = &ifp->if_snd;
757 * use the operations on the first ifq to pick which of
762 ifq = ifp->if_ifqs[idx];
765 error = ifq_enqueue(ifq, m);
769 ifq_start(ifq);
2841 struct ifqueue *ifq = ifp->if_ifqs[i];
2843 ifq_add_data(ifq, data);
2858 if_detached_qstart(struct ifqueue *ifq)
2860 ifq_purge(ifq);