Print this page
XXXX introduce drv_sectohz

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/xge/drv/xgell.h
          +++ new/usr/src/uts/common/io/xge/drv/xgell.h
↓ open down ↓ 137 lines elided ↑ open up ↑
 138  138  #define XGELL_TX_DMA_LOWAT                      128
 139  139  #endif
 140  140  
 141  141  /*
 142  142   * Try to collapse up to XGELL_RX_PKT_BURST packets into single mblk
 143  143   * sequence before mac_rx() is called.
 144  144   */
 145  145  #define XGELL_RX_PKT_BURST                      32
 146  146  
 147  147  /* About 1s */
 148      -#define XGE_DEV_POLL_TICKS                      drv_usectohz(1000000)
      148 +#define XGE_DEV_POLL_TICKS                      drv_sectohz(1)
 149  149  
 150  150  #define XGELL_LSO_MAXLEN                        65535
 151  151  #define XGELL_CONF_ENABLE_BY_DEFAULT            1
 152  152  #define XGELL_CONF_DISABLE_BY_DEFAULT           0
 153  153  
 154  154  /* LRO configuration */
 155  155  #define XGE_HAL_DEFAULT_LRO_SG_SIZE             2 /* <=2 LRO fix not required */
 156  156  #define XGE_HAL_DEFAULT_LRO_FRM_LEN             65535
 157  157  
 158  158  /*
↓ open down ↓ 272 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX