signed-off-by: stan smith <[email protected]> --- A/ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.h Tue Jan 11 17:57:30 2011 +++ B/ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.h Tue Jan 11 16:32:34 2011 @@ -60,7 +60,7 @@ #define MAX_LSO_PAYLOAD_MTU 65536 #define MAX_UD_PAYLOAD_MTU (MAX_IB_MTU - sizeof(ipoib_hdr_t)) #define DEFAULT_PAYLOAD_MTU (DEFAULT_MTU - sizeof(ipoib_hdr_t)) -#define MAX_CM_PAYLOAD_MTU (65520) +#define MAX_CM_PAYLOAD_MTU (65520) /* 64K - 16: match Linux */ #define MAX_WRS_PER_MSG ((MAX_CM_PAYLOAD_MTU/DEFAULT_PAYLOAD_MTU)+1) /* * Only the protocol type is sent as part of the UD payload @@ -83,6 +83,13 @@ /* Number of work completions to chain for send and receive polling. */ #define MAX_SEND_WC 5 #define MAX_RECV_WC 16 +#define MAX_CM_RECV_WC 16 + +/* RC local data segs required to cover Max RC recv payload on a phys page basis */ +#define MAX_CM_RECV_SGE (((64*1024) / PAGE_SIZE) + 1) + +#define SRQ_LOW_WATER 5 +#define SRQ_MIN_GROWTH (SRQ_LOW_WATER * 2)
typedef struct _ipoib_globals
{
ipoib_driver.h.patch
Description: ipoib_driver.h.patch
_______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
