Searched refs:GRETH_TXBD_NUM (Results 1 – 2 of 2) sorted by relevance
60 #define GRETH_TXBD_NUM 128 macro61 #define GRETH_TXBD_NUM_MASK (GRETH_TXBD_NUM-1)73 #define GRETH_TX_BUF_PAGE_NUM (GRETH_TXBD_NUM/GRETH_TX_BUF_PPGAE)103 struct sk_buff *tx_skbuff[GRETH_TXBD_NUM];105 unsigned char *tx_bufs[GRETH_TXBD_NUM];107 u16 tx_bufs_length[GRETH_TXBD_NUM];
185 while (greth->tx_free < GRETH_TXBD_NUM) { in greth_clean_rings()222 for (i = 0; i < GRETH_TXBD_NUM; i++, tx_bdp++) { in greth_clean_rings()295 for (i = 0; i < GRETH_TXBD_NUM; i++) { in greth_init_rings()326 greth->tx_free = GRETH_TXBD_NUM; in greth_init_rings()459 return GRETH_TXBD_NUM - (tx_next - tx_last) - 1; in greth_num_free_bds()635 if (greth->tx_free == GRETH_TXBD_NUM) in greth_clean_tx()