[openib-general] Re: RMPP Message Format Errors
    Eitan Zahavi 
    eitan at mellanox.co.il
       
    Fri Aug 26 03:15:07 PDT 2005
    
    
  
Hi Hal,
I am trying to figure out how a client will figure out the number of
records provided in the mad it gets back from umad.
Can you describe this?
Thanks
Eitan
Hal Rosenstock wrote:
> On Mon, 2005-08-22 at 10:34, Eitan Zahavi wrote:
> 
>>>It gets a "real" received length provided it supplies a buffer large enough.
>>
>>So I guess the "real receive length" is truncated to the last data 
>>record even if the packet sent was 256 bytes?
> 
> 
> The receive buffer is not truncated. An error is returned if the buffer
> supplied is too small for a receive is too small and it includes the
> size of the buffer needed. 
> 
> I don't understand what you mean by "even if the packet sent was 256
> bytes".
> 
> -- Hal
    
    
More information about the general
mailing list