[ofw] [IPoIB_CM] Fix for the last IPoIB_CM commit

Alex Estrin alex.estrin at qlogic.com
Wed Jan 14 08:59:31 PST 2009


Thanks,
Applied in 1823. 

> -----Original Message-----
> From: Alex Naslednikov [mailto:xalex at mellanox.co.il] 
> Sent: Wednesday, January 14, 2009 10:56 AM
> To: Alex Naslednikov; Alex Estrin
> Cc: ofw at lists.openfabrics.org
> Subject: [ofw] [IPoIB_CM] Fix for the last IPoIB_CM commit
> 
> --- 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