Ignore:
Timestamp:
2011-06-01T00:53:09+02:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: ag71xx: prepare to make ring sizes configurable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h

    r27039 r27040  
    5555        (AG71XX_RX_PKT_RESERVE + ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN) 
    5656 
    57 #define AG71XX_TX_RING_SIZE     64 
    58 #define AG71XX_TX_THRES_STOP    (AG71XX_TX_RING_SIZE - 4) 
    59 #define AG71XX_TX_THRES_WAKEUP  \ 
    60                 (AG71XX_TX_RING_SIZE - (AG71XX_TX_RING_SIZE / 4)) 
    61  
    62 #define AG71XX_RX_RING_SIZE     128 
     57#define AG71XX_TX_RING_SIZE_DEFAULT     64 
     58#define AG71XX_RX_RING_SIZE_DEFAULT     128 
    6359 
    6460#ifdef CONFIG_AG71XX_DEBUG 
Note: See TracChangeset for help on using the changeset viewer.