Home
last modified time | relevance | path

Searched refs:drvq (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.1.9/bsd/skywalk/nexus/netif/
H A Dnx_netif_llink.c372 nx_netif_driver_queue_destroy(struct netif_queue *drvq) in nx_netif_driver_queue_destroy() argument
374 VERIFY(drvq->nq_qset->nqs_llink->nll_state == in nx_netif_driver_queue_destroy()
377 lck_mtx_lock(&drvq->nq_lock); in nx_netif_driver_queue_destroy()
378 VERIFY(KPKTQ_EMPTY(&drvq->nq_pktq)); in nx_netif_driver_queue_destroy()
379 lck_mtx_unlock(&drvq->nq_lock); in nx_netif_driver_queue_destroy()
381 drvq->nq_qset = NULL; in nx_netif_driver_queue_destroy()
382 lck_mtx_destroy(&drvq->nq_lock, &netif_llink_lock_group); in nx_netif_driver_queue_destroy()
387 struct netif_queue *drvq, kern_packet_svc_class_t svc, bool is_rx) in nx_netif_driver_queue_init() argument
389 lck_mtx_init(&drvq->nq_lock, &netif_llink_lock_group, in nx_netif_driver_queue_init()
392 lck_mtx_lock(&drvq->nq_lock); in nx_netif_driver_queue_init()
[all …]
H A Dnx_netif_vp.c493 struct netif_queue *drvq; in netif_vp_send_pkt_chain_low_latency() local
522 drvq = NETIF_QSET_TX_QUEUE(nif->nif_default_llink->nll_default_qset, 0); in netif_vp_send_pkt_chain_low_latency()
527 nif->nif_nx, drvq->nq_ctx, &ph, &pkt_count, &byte_count); in netif_vp_send_pkt_chain_low_latency()
533 kern_netif_increment_queue_stats(drvq, pkt_count, byte_count); in netif_vp_send_pkt_chain_low_latency()