Lines Matching refs:ifp
88 ifclassq_setup(struct ifnet *ifp, u_int32_t sflags, boolean_t reuse)
91 struct ifclassq *ifq = &ifp->if_snd;
96 ifq->ifcq_ifp = ifp;
111 if (ifp->if_eflags & IFEF_TXSTART) {
135 if ((ifp->if_eflags & IFEF_TXSTART) &&
136 ifp->if_output_sched_model != IFNET_SCHED_MODEL_DRIVER_MANAGED)
147 ifclassq_teardown(struct ifnet *ifp)
149 struct ifclassq *ifq = &ifp->if_snd;
202 struct ifnet *ifp = ifq->ifcq_ifp;
206 VERIFY(ifp->if_eflags & IFEF_TXSTART);
208 switch (ifp->if_output_sched_model) {
294 struct ifnet *ifp = ifq->ifcq_ifp;
308 ifq = &ifp->if_snd;
367 atomic_add_64_ov(&(ifp->if_bw.cur_seq), pktlen);
673 struct ifnet *ifp = ifq->ifcq_ifp;
690 if ((eff_rate = ifp->if_output_bw.eff_bw) == 0)
700 printf("%s: TBR disabled\n", if_name(ifp));
705 ifnet_set_start_cycle(ifp, NULL);
712 printf("%s: TBR %s (rate %llu bps depth %u)\n", if_name(ifp),
735 u_int32_t mtu = ifp->if_mtu;
767 if (tbr->tbr_rate > 0 && (ifp->if_flags & IFF_UP)) {
772 "filluptime %llu ns\n", if_name(ifp),
776 ifnet_set_start_cycle(ifp, &ts);
781 "infinite filluptime\n", if_name(ifp),
783 } else if (!(ifp->if_flags & IFF_UP)) {
785 if_name(ifp));
788 ifnet_set_start_cycle(ifp, NULL);