Searched refs:hn_txdesc_cnt (Results 1 – 2 of 2) sorted by relevance
123 int hn_txdesc_cnt; member
1034 KASSERT(txr->hn_txdesc_cnt > 0, ("tx ring is not setup yet")); in hn_get_txswq_depth()1035 if (hn_tx_swq_depth < txr->hn_txdesc_cnt) in hn_get_txswq_depth()1036 return txr->hn_txdesc_cnt; in hn_get_txswq_depth()2745 txr->hn_txdesc_avail < txr->hn_txdesc_cnt, in hn_txdesc_put()2830 if (txr->hn_txdesc_avail != txr->hn_txdesc_cnt) in hn_tx_ring_pending()5182 txr->hn_txdesc_cnt = HN_TX_DESC_CNT; in hn_tx_ring_create()5183 txr->hn_txdesc = malloc(sizeof(struct hn_txdesc) * txr->hn_txdesc_cnt, in hn_tx_ring_create()5188 txr->hn_txdesc_br = buf_ring_alloc(txr->hn_txdesc_cnt, M_DEVBUF, in hn_tx_ring_create()5266 for (i = 0; i < txr->hn_txdesc_cnt; ++i) { in hn_tx_ring_create()5320 txr->hn_txdesc_avail = txr->hn_txdesc_cnt; in hn_tx_ring_create()[all …]