Home
last modified time | relevance | path

Searched refs:if_snd (Results 1 – 25 of 31) sorted by relevance

12

/f-stack/freebsd/net/
H A Dif_debug.c92 IF_DB_PRINTF("%p", if_snd.ifq_head); in if_show_ifnet()
93 IF_DB_PRINTF("%p", if_snd.ifq_tail); in if_show_ifnet()
94 IF_DB_PRINTF("%d", if_snd.ifq_len); in if_show_ifnet()
95 IF_DB_PRINTF("%d", if_snd.ifq_maxlen); in if_show_ifnet()
96 IF_DB_PRINTF("%p", if_snd.ifq_drv_head); in if_show_ifnet()
97 IF_DB_PRINTF("%p", if_snd.ifq_drv_tail); in if_show_ifnet()
98 IF_DB_PRINTF("%d", if_snd.ifq_drv_len); in if_show_ifnet()
99 IF_DB_PRINTF("%d", if_snd.ifq_drv_maxlen); in if_show_ifnet()
100 IF_DB_PRINTF("%d", if_snd.altq_type); in if_show_ifnet()
101 IF_DB_PRINTF("%x", if_snd.altq_flags); in if_show_ifnet()
H A Difq.h370 IFQ_DEQUEUE(&ifp->if_snd, m); in drbr_peek()
384 IFQ_PURGE(&ifp->if_snd); in drbr_flush()
405 IFQ_DEQUEUE(&ifp->if_snd, m); in drbr_dequeue()
430 IFQ_LOCK(&ifp->if_snd); in drbr_dequeue_cond()
431 IFQ_POLL_NOLOCK(&ifp->if_snd, m); in drbr_dequeue_cond()
433 IFQ_UNLOCK(&ifp->if_snd); in drbr_dequeue_cond()
437 IFQ_UNLOCK(&ifp->if_snd); in drbr_dequeue_cond()
452 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_empty()
462 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_needs_enqueue()
472 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_inuse()
[all …]
H A Dif_tuntap.c843 IFQ_LOCK(&ifp->if_snd); in tunstart()
846 IFQ_UNLOCK(&ifp->if_snd); in tunstart()
849 IFQ_UNLOCK(&ifp->if_snd); in tunstart()
892 IF_DEQUEUE(&ifp->if_snd, m); in tunstart_l2()
974 ifp->if_snd.ifq_drv_maxlen = 0; in tuncreate()
975 IFQ_SET_READY(&ifp->if_snd); in tuncreate()
1145 IF_DRAIN(&ifp->if_snd); in tundtor()
1147 IFQ_PURGE(&ifp->if_snd); in tundtor()
1691 IFQ_DEQUEUE(&ifp->if_snd, m); in tunread()
1917 IFQ_LOCK(&ifp->if_snd); in tunpoll()
[all …]
H A Dif_epair.c304 IFQ_LOCK(&ifp->if_snd); in epair_nh_drainedcpu()
305 if (IFQ_IS_EMPTY(&ifp->if_snd)) { in epair_nh_drainedcpu()
318 IFQ_UNLOCK(&ifp->if_snd); in epair_nh_drainedcpu()
421 IFQ_DEQUEUE(&ifp->if_snd, m); in epair_start_locked()
527 IF_LOCK(&ifp->if_snd); in epair_transmit_locked()
528 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in epair_transmit_locked()
529 ALTQ_ENQUEUE(&ifp->if_snd, m, NULL, error); in epair_transmit_locked()
532 IF_UNLOCK(&ifp->if_snd); in epair_transmit_locked()
545 IF_UNLOCK(&ifp->if_snd); in epair_transmit_locked()
554 IFQ_ENQUEUE(&ifp->if_snd, m, error); in epair_transmit_locked()
H A Dif_mib.c111 ifmd.ifmd_snd_len = ifp->if_snd.ifq_len; in sysctl_ifdata()
112 ifmd.ifmd_snd_maxlen = ifp->if_snd.ifq_maxlen; in sysctl_ifdata()
H A Dif_edsc.c149 ifp->if_snd.ifq_maxlen = ifqmaxlen; in edsc_clone_create()
290 IFQ_DEQUEUE(&ifp->if_snd, m); in edsc_start()
H A Dif_disc.c114 ifp->if_snd.ifq_maxlen = 20; in disc_clone_create()
H A Dif.c644 ifq_init(&ifp->if_snd, ifp); in if_alloc_domain()
692 ifq_delete(&ifp->if_snd); in if_free_internal()
1220 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in if_detach_internal()
1221 altq_disable(&ifp->if_snd); in if_detach_internal()
1222 if (ALTQ_IS_ATTACHED(&ifp->if_snd)) in if_detach_internal()
1223 altq_detach(&ifp->if_snd); in if_detach_internal()
2335 ifq = &ifp->if_snd; in if_qflush()
4351 return IFQ_DRV_IS_EMPTY(&((struct ifnet *)ifp)->if_snd); in if_sendq_empty()
4369 IFQ_SET_READY(&((struct ifnet *)ifp)->if_snd); in if_setsendqready()
4400 IFQ_DRV_DEQUEUE(&((struct ifnet *)ifp)->if_snd, m); in if_dequeue()
[all …]
H A Dif_loop.c137 ifp->if_snd.ifq_maxlen = ifqmaxlen; in lo_clone_create()
/f-stack/freebsd/netpfil/pf/
H A Dif_pflog.c132 ifp->if_snd.ifq_maxlen = ifqmaxlen; in pflog_clone_create()
166 IF_LOCK(&ifp->if_snd); in pflogstart()
167 _IF_DEQUEUE(&ifp->if_snd, m); in pflogstart()
168 IF_UNLOCK(&ifp->if_snd); in pflogstart()
/f-stack/freebsd/netgraph/
H A Dng_iface.c379 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in ng_iface_output()
402 KASSERT(ALTQ_IS_ENABLED(&ifp->if_snd), ("%s without ALTQ", __func__)); in ng_iface_start()
405 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in ng_iface_start()
557 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in ng_iface_constructor()
558 ifp->if_snd.ifq_drv_maxlen = ifqmaxlen; in ng_iface_constructor()
559 IFQ_SET_READY(&ifp->if_snd); in ng_iface_constructor()
H A Dng_source.c634 if (ifp->if_snd.ifq_maxlen < NG_SOURCE_DRIVER_IFQ_MAXLEN) { in ng_source_store_output_ifp()
636 ifp->if_snd.ifq_maxlen, NG_SOURCE_DRIVER_IFQ_MAXLEN); in ng_source_store_output_ifp()
637 ifp->if_snd.ifq_maxlen = NG_SOURCE_DRIVER_IFQ_MAXLEN; in ng_source_store_output_ifp()
741 ifq = (struct ifqueue *)&sc->output_ifp->if_snd; in ng_source_intr()
H A Dng_eiface.c234 IF_DEQUEUE(&ifp->if_snd, m); in ng_eiface_start2()
413 ifp->if_snd.ifq_maxlen = ifqmaxlen; in ng_eiface_constructor()
/f-stack/freebsd/mips/cavium/octe/
H A Docte.c199 IFQ_SET_MAXLEN(&ifp->if_snd, MAX_OUT_QUEUE_DEPTH); in octe_attach()
200 ifp->if_snd.ifq_drv_maxlen = MAX_OUT_QUEUE_DEPTH; in octe_attach()
201 IFQ_SET_READY(&ifp->if_snd); in octe_attach()
/f-stack/freebsd/mips/cavium/
H A Dif_octm.c246 IFQ_SET_MAXLEN(&ifp->if_snd, CVMX_MGMT_PORT_NUM_TX_BUFFERS); in octm_attach()
247 ifp->if_snd.ifq_drv_maxlen = CVMX_MGMT_PORT_NUM_TX_BUFFERS; in octm_attach()
248 IFQ_SET_READY(&ifp->if_snd); in octm_attach()
/f-stack/freebsd/net/altq/
H A Daltq_codel.c87 return (altq_attach(&ifp->if_snd, ALTQT_CODEL, a->altq_disc, in codel_pfattach()
99 if (!ALTQ_IS_READY(&ifp->if_snd)) in codel_add_altq()
108 cif->cif_ifq = &ifp->if_snd; in codel_add_altq()
H A Daltq_cbq.c218 error = altq_attach(&ifp->if_snd, ALTQT_CBQ, a->altq_disc, in cbq_pfattach()
231 if (!ALTQ_IS_READY(&ifp->if_snd)) in cbq_add_altq()
240 cbqp->ifnp.ifq_ = &ifp->if_snd; /* keep the ifq */ in cbq_add_altq()
H A Daltq_subr.c131 if (type != ALTQT_NONE && ifp->if_snd.altq_type == type)
132 return (ifp->if_snd.altq_disc);
424 if (!TBR_IS_ENABLED(&ifp->if_snd))
427 if (!IFQ_IS_EMPTY(&ifp->if_snd) &&
503 if (a->altq_disc == NULL || a->altq_disc != ifp->if_snd.altq_disc) in altq_pfdetach()
508 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in altq_pfdetach()
509 error = altq_disable(&ifp->if_snd); in altq_pfdetach()
511 error = altq_detach(&ifp->if_snd); in altq_pfdetach()
H A Daltq_priq.c89 error = altq_attach(&ifp->if_snd, ALTQT_PRIQ, a->altq_disc, in priq_pfattach()
102 if (!ALTQ_IS_READY(&ifp->if_snd)) in priq_add_altq()
110 pif->pif_ifq = &ifp->if_snd; in priq_add_altq()
H A Daltq_fairq.c144 error = altq_attach(&ifp->if_snd, ALTQT_FAIRQ, a->altq_disc, in fairq_pfattach()
157 if (!ALTQ_IS_READY(&ifp->if_snd)) in fairq_add_altq()
164 pif->pif_ifq = &ifp->if_snd; in fairq_add_altq()
/f-stack/freebsd/mips/atheros/ar531x/
H A Dif_are.c305 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in are_attach()
306 ifp->if_snd.ifq_maxlen = ifqmaxlen; in are_attach()
307 IFQ_SET_READY(&ifp->if_snd); in are_attach()
866 for (enq = 0; !IFQ_DRV_IS_EMPTY(&ifp->if_snd) && in are_start_locked()
868 IFQ_DRV_DEQUEUE(&ifp->if_snd, m_head); in are_start_locked()
879 IFQ_DRV_PREPEND(&ifp->if_snd, m_head); in are_start_locked()
/f-stack/freebsd/arm/allwinner/
H A Dif_emac.c474 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in emac_watchdog()
630 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in emac_start_locked()
728 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in emac_intr()
969 IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN); in emac_attach()
/f-stack/freebsd/mips/atheros/
H A Dif_arge.c867 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in arge_attach()
868 ifp->if_snd.ifq_maxlen = ifqmaxlen; in arge_attach()
869 IFQ_SET_READY(&ifp->if_snd); in arge_attach()
1732 for (enq = 0; !IFQ_DRV_IS_EMPTY(&ifp->if_snd) && in arge_start_locked()
1734 IFQ_DRV_DEQUEUE(&ifp->if_snd, m_head); in arge_start_locked()
1744 IFQ_DRV_PREPEND(&ifp->if_snd, m_head); in arge_start_locked()
2679 if (!IFQ_IS_EMPTY(&ifp->if_snd)) in arge_intr()
/f-stack/freebsd/mips/nlm/dev/net/
H A Dxlpge.c1062 ifp->if_snd.ifq_drv_maxlen = NLM_XLPGE_TXQ_SIZE; /* TODO: make this a sysint */ in nlm_xlpge_ifinit()
1063 IFQ_SET_MAXLEN(&ifp->if_snd, ifp->if_snd.ifq_drv_maxlen); in nlm_xlpge_ifinit()
1064 IFQ_SET_READY(&ifp->if_snd); in nlm_xlpge_ifinit()
/f-stack/freebsd/arm/ti/cpsw/
H A Dif_cpsw.c1049 ifp->if_snd.ifq_drv_maxlen = sc->swsc->tx.queue_slots; in cpswp_attach()
1050 IFQ_SET_MAXLEN(&ifp->if_snd, ifp->if_snd.ifq_drv_maxlen); in cpswp_attach()
1051 IFQ_SET_READY(&ifp->if_snd); in cpswp_attach()
1866 IF_DEQUEUE(&sc->ifp->if_snd, m0); in cpswp_tx_enqueue()
1892 IF_PREPEND(&sc->ifp->if_snd, m0); in cpswp_tx_enqueue()

12