Good start for user space application is perftest suite that is opensource project: git.openfabrics.org Git - ~grockah/perftest.git/summary . It is verbs API based application and should work with Infiniband or RoCE . Check ib_write_bw, ib_send_lat, etc.
For kernel space, you can take a look on the iser - Linux SCSI Target - ISCSI Extensions for RDMA