[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>
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>
Merge pull request #97 from jithinjosepkl/pr-examples

Add missing bind-to-sendCQ.
Merge pull request #99 from a-ilango/dev

simple/rdm_cntr_pingpong: Fix race condition