Searched refs:ALE_TX_RING_CNT (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/sys/dev/ale/
H A Dif_alevar.h35 #define ALE_TX_RING_CNT 256 /* Should be multiple of 4. */ macro
51 #define ALE_TX_DESC_HIWAT (ALE_TX_RING_CNT - ((ALE_TX_RING_CNT * 4) / 10))
90 struct ale_txdesc ale_txdesc[ALE_TX_RING_CNT];
111 (sizeof(struct tx_desc) * ALE_TX_RING_CNT)
H A Dif_ale.c629 ifp->if_snd.ifq_drv_maxlen = ALE_TX_RING_CNT - 1;
1297 for (i = 0; i < ALE_TX_RING_CNT; i++) {
1322 for (i = 0; i < ALE_TX_RING_CNT; i++) {
1768 if (sc->ale_cdata.ale_tx_cnt + nsegs >= ALE_TX_RING_CNT - 3) {
1832 ALE_DESC_INC(prod, ALE_TX_RING_CNT);
1841 ALE_DESC_INC(prod, ALE_TX_RING_CNT);
1851 ALE_DESC_INC(prod, ALE_TX_RING_CNT);
1862 prod = (prod + ALE_TX_RING_CNT - 1) % ALE_TX_RING_CNT;
2341 ALE_DESC_INC(cons, ALE_TX_RING_CNT)) {
[all...]

Completed in 156 milliseconds