Print this page
10805 Fix for 10687 can be improved

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ib/clients/eoib/eib_impl.h
          +++ new/usr/src/uts/common/sys/ib/clients/eoib/eib_impl.h
↓ open down ↓ 84 lines elided ↑ open up ↑
  85   85  
  86   86  #define EIB_DPRINTF_CRIT        eib_dprintf_crit
  87   87  #define EIB_DPRINTF_ERR         eib_dprintf_err
  88   88  #define EIB_DPRINTF_WARN        eib_dprintf_warn
  89   89  #ifdef EIB_DEBUG
  90   90  #define EIB_DPRINTF_DEBUG       eib_dprintf_debug
  91   91  #define EIB_DPRINTF_ARGS        eib_dprintf_args
  92   92  #define EIB_DPRINTF_PKT         eib_dprintf_pkt
  93   93  #define EIB_DPRINTF_VERBOSE     eib_dprintf_verbose
  94   94  #else
  95      -#define EIB_DPRINTF_DEBUG(...)
  96      -#define EIB_DPRINTF_ARGS(...)
  97      -#define EIB_DPRINTF_PKT(...)
  98      -#define EIB_DPRINTF_VERBOSE(...)
       95 +#define EIB_DPRINTF_DEBUG(...)  (void)(0)
       96 +#define EIB_DPRINTF_ARGS(...)   (void)(0)
       97 +#define EIB_DPRINTF_PKT(...)    (void)(0)
       98 +#define EIB_DPRINTF_VERBOSE(...) (void)(0)
  99   99  #endif
 100  100  
 101  101  /*
 102  102   *  EoIB threads to provide various services
 103  103   */
 104  104  #define EIB_EVENTS_HDLR         "eib_events_handler"
 105  105  #define EIB_RWQES_REFILLER      "eib_rwqes_refiller"
 106  106  #define EIB_VNIC_CREATOR        "eib_vnic_creator"
 107  107  #define EIB_TXWQES_MONITOR      "eib_txwqe_monitor"
 108  108  #define EIB_LSOBUFS_MONITOR     "eib_lsobufs_monitor"
↓ open down ↓ 887 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX