Perftest between 32bit to 64bit system issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
    I am not sure if user space stuff can be posted here. I didn't see any other mail archive for user libverbs or perftest.
    I stumbled across what looks like a portability issue. We are testing ibverbs on newly developed IB driver on our microblaze(32 bit) platform with xilinx rdma nic HW. While running ib_read_bw (server on microblaze and client on mlnx connectx-4), I found the client feeding a swapped VA. I narrowed it down to struct pingpong_dest. The size of this structure is 52bytes on 32bit system and 56bytes on 64bit x86 system with connect-x4.

I did a quick test with __attribute__((packed)) macro on struct pingpong_dest and I now see correct VA coming back from client via RETH.

So, is perftest/rdma-core ever tested with 32bit systems ?  ib_read_bw  --version shows 5.5. In config.h  I have HAVE_ENDIAN 1.

Regards
-syed


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux