Searched refs:GRETH_TXBD_NUM (Results 1 – 2 of 2) sorted by relevance
59 #define GRETH_TXBD_NUM 128 macro60 #define GRETH_TXBD_NUM_MASK (GRETH_TXBD_NUM-1)72 #define GRETH_TX_BUF_PAGE_NUM (GRETH_TXBD_NUM/GRETH_TX_BUF_PPGAE)102 struct sk_buff *tx_skbuff[GRETH_TXBD_NUM];104 unsigned char *tx_bufs[GRETH_TXBD_NUM];106 u16 tx_bufs_length[GRETH_TXBD_NUM];
188 while (greth->tx_free < GRETH_TXBD_NUM) { in greth_clean_rings()225 for (i = 0; i < GRETH_TXBD_NUM; i++, tx_bdp++) { in greth_clean_rings()297 for (i = 0; i < GRETH_TXBD_NUM; i++) { in greth_init_rings()328 greth->tx_free = GRETH_TXBD_NUM; in greth_init_rings()461 return GRETH_TXBD_NUM - (tx_next - tx_last) - 1; in greth_num_free_bds()638 if (greth->tx_free == GRETH_TXBD_NUM) in greth_clean_tx()