Fix trecv arguments in rdm-tagged example.

Signed-off-by: Jithin Jose <jithin.jose@intel.com>
Add check for max-inject size in fi_rdm_inject example.

Signed-off-by: Jithin Jose <jithin.jose@intel.com>
Merge pull request #86 from jithinjosepkl/pr

Fixes in rdm_inject and rdm_tagged examples
ud_pingpong fixes
1) properly initialize av_attr
2) send local addr from client to server for east AV insert

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Merge pull request #90 from rfaucett/pr/ud_pp

ud_pingpong fixes
rdm_pingpong has missing mode bits
It supports FI_LOCAL_MR and should indicate this in mode bits

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Merge pull request #92 from rfaucett/pr/rdmpp

rdm_pingpong has missing mode bits
rdm_pingping:  fix fi_av_insert() return code checking
also allow fabric selection with -f and print fabric in use

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Merge pull request #93 from rfaucett/pr/rdmpp

rdm_pingping:  fix fi_av_insert() return code checking
[Bug Fix] simple/msg: Initialize domain_attr and ep_attr

Initialize domain_attr and ep_attr before passing it to fi_getinfo. Fixed some whitespace issues.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>
simple: Add an example to illustrate fi_poll usage.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>
Added simplest RDM example to send/recv data. Signed-off-by: Shantonu Hossain shantonu.hossain@intel.com
Fix incorrect return value check for av_insert in RDM* examples

Signed-off-by: Jithin Jose <jithin.jose@intel.com>
Added default port number and set default transfer size to 1024. Signed-off-by: Shantonu Hossain shantonu.hossain@intel.com
Merge pull request #98 from shantonu/minor_fix

Added default port number and set default transfer size to 1024
Merge pull request #95 from a-ilango/dev

Some fixes and example for fi_poll
Merge pull request #96 from jithinjosepkl/pr

Fix incorrect return value check for av_insert in RDM* examples
Merge pull request #94 from shantonu/rdm_simple

Added simplest RDM example to send/recv data
simple/rdm_cntr_pingpong: Fix race condition

If a message arrived before fi_cntr_read is called, then the threshold argument for fi_cntr_wait
would not be correct. Replace it with a recv_outs variable that tracks the # of outstanding recvs.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>
Add missing bind-to-sendCQ.
 - Without this, provider may not progress the tx operations.
 - Even though user does not need TX completions for inject operations
   it must bind to a CQ for checking error events.

Signed-off-by: Jithin Jose <jithin.jose@intel.com>