[ofw] [IPoIB_CM] Fix for the last IPoIB_CM commit
Alex Naslednikov
xalex at mellanox.co.il
Wed Jan 14 07:55:39 PST 2009
--- d:\Windows\WOF_CM\kernel\ipoib_driver.c Wed Jan 14 10:32:27 2009
+++ kernel\ipoib_driver.c Wed Jan 14 17:53:20 2009
@@ -619,6 +619,8 @@ ipoib_get_adapter_params(
{
p_adapter->params.payload_mtu =
min( MAX_UD_PAYLOAD_MTU,
p_adapter->params.payload_mtu );
+ p_adapter->params.xfer_block_size =
+ (sizeof(eth_hdr_t) +
p_adapter->params.payload_mtu);
}
NdisReadNetworkAddress( &status, p_mac, p_len, h_config );
More information about the ofw
mailing list