Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/dev/hyperv/netvsc/
HDif_hnvar.h109 int hn_txdesc_cnt; member
HDif_hn.c1023 KASSERT(txr->hn_txdesc_cnt > 0, ("tx ring is not setup yet")); in hn_get_txswq_depth()
1024 if (hn_tx_swq_depth < txr->hn_txdesc_cnt) in hn_get_txswq_depth()
1025 return txr->hn_txdesc_cnt; in hn_get_txswq_depth()
2737 txr->hn_txdesc_avail < txr->hn_txdesc_cnt, in hn_txdesc_put()
2822 if (txr->hn_txdesc_avail != txr->hn_txdesc_cnt) in hn_tx_ring_pending()
5162 txr->hn_txdesc_cnt = HN_TX_DESC_CNT; in hn_tx_ring_create()
5163 txr->hn_txdesc = malloc(sizeof(struct hn_txdesc) * txr->hn_txdesc_cnt, in hn_tx_ring_create()
5168 txr->hn_txdesc_br = buf_ring_alloc(txr->hn_txdesc_cnt, M_DEVBUF, in hn_tx_ring_create()
5246 for (i = 0; i < txr->hn_txdesc_cnt; ++i) { in hn_tx_ring_create()
5300 txr->hn_txdesc_avail = txr->hn_txdesc_cnt; in hn_tx_ring_create()
[all …]