Lines Matching refs:ifp
362 sfb_alloc(struct ifnet *ifp, u_int32_t qid, u_int32_t qlim, u_int32_t flags)
366 VERIFY(ifp != NULL && qlim > 0);
370 log(LOG_ERR, "%s: SFB unable to allocate\n", if_name(ifp));
377 log(LOG_ERR, "%s: SFB unable to allocate bins\n", if_name(ifp));
385 if_name(ifp));
391 sp->sfb_ifp = ifp;
438 struct ifnet *ifp = sp->sfb_ifp;
441 VERIFY(ifp != NULL);
455 eff_rate = ifnet_output_linkrate(ifp);
475 if_name(ifp), sp->sfb_qid, (u_int64_t)sp->sfb_holdtime.tv_nsec,
1114 struct ifnet *ifp = sp->sfb_ifp;
1116 VERIFY(ifp != NULL);
1120 u_int64_t eff_rate = ifnet_output_linkrate(ifp);
1128 "eff_rate=%llu bps\n", if_name(ifp), sp->sfb_qid,
1140 "link %s\n", if_name(ifp), sp->sfb_qid,
1156 struct ifnet *ifp = sp->sfb_ifp;
1158 VERIFY(ifp != NULL);
1166 "flow-control is not enabled", if_name(ifp), sp->sfb_qid,
1173 if_name(ifp), sp->sfb_qid, (on ? "SUSPENDED" : "RUNNING"));