[ofa-general] ***SPAM*** Byte_Cnt field in the MTHCA_CQE structure

Adit Ranadive adit.262 at gmail.com
Mon Jan 26 13:08:35 PST 2009


Hello,

I have been looking at doing some low level work with the OFED library 1.1
in terms of figuring out how many bytes have been sent by an IB
application.
I came across the byte_cnt field inside the MTHCA_CQE structure and was
wondering if this indicates the number of bytes that are sent/received?

>From the cq.c file in the libmthca/src folder it looks like the value is
copied from the CQE structure to the WQE struct in the case of RDMA reads
but not RDMA writes. Is there a reason for this? Has this been implemented
in newer versions of OFED? Im currently working with OFED-1.1.

When using the performance tests inside OFED the value of the byte_cnt field
is set to the buffer size in case of RDMA read but to a very large value >>
buffer size in case of RDMA Write.

Im using a Mellanox HCA MT25208 Infinihost III Ex Nic with Firmware 4.8.200

Any thoughts on this would be greatly appreciated.

Thanks,
Adit



Adit Ranadive
PhD CS Student
Georgia Institute of Technology,
Atlanta, GA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090126/ea2a6350/attachment.html>


More information about the general mailing list