Migrate debug code into ipoib_debug.cpp and make conditional on EXTRA_DEBUG==1; trim the default compilation base.
Signed-off-by: stan smith <[email protected]> --- C:/Users/scsmith/AppData/Local/Temp/ipoib_debug.h-revBASE.svn000.tmp.h Tue Jun 28 14:09:09 2011 +++ C:/Users/scsmith/Documents/openIB-windows/SVN/gen1/trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_debug.h Tue Jun 28 11:01:07 2011 @@ -42,6 +42,8 @@ #include <complib/cl_debug.h> +#include <kernel\ip_packet.h> +#include <netiodef.h> /* Object types for passing into complib. */ #define IPOIB_OBJ_INSTANCE 1 @@ -377,5 +379,17 @@ char * mk_mac_str2( IN mac_addr_t *ma); + +#if EXTRA_DBG +char * +get_eth_packet_type_str( + IN net16_t); + +char * +get_IP_protocol_str( + IN uint8_t); + +void decode_enet_pkt( char *preFix, void *hdr, int len, char *postFix ); +#endif #endif /* _IPOIB_DEBUG_H_ */ _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
