[ofw] [PATCH] ipoib-CM 9 of 13
Smith, Stan
stan.smith at intel.com
Tue Jan 11 18:31:49 PST 2011
signed-off-by: stan smith <stan.smith at intel.com>
--- 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
{
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib_driver.h.patch
Type: application/octet-stream
Size: 1009 bytes
Desc: ipoib_driver.h.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20110111/c8500988/attachment.obj>
More information about the ofw
mailing list