accept response messages if connection moved to fin_wait_1 state

Change-Id: I765c067a3fae0bba509275aa24243e11c7d07a3a
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Fixing coverity error

Change-Id: Iffbf595fcf0348dfd7e5f6956fd8bb9e5ea16029
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
initializing parameter to NULL

Change-Id: Ic3ba6bd5e28c31a068708edd06a1f3552aeb8741
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
issue: Fix configure warning about missing contig pages

Should report a warning only if both experimental and upstream contig
pages are not available.

Signed-off-by: Or Kehati <ork@mellanox.com>

Change-Id: Ifbf90dab93a87f7663bfd91c9610cc12c3213479
Protecting on_cm_timedwait_exit double call in case of time and event
expiration

Change-Id: I1b291904b3209fdecb0aab3fc31bfaaa54cee072
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
renaming queued_msgs to tx_queued_msgs. changing the type from uint32_t to
    int32_t

Change-Id: I4ea0eb8c4509fde4ac60c6feab003102c7a34fe4
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Added counter rx_queued messages that are submitted to application for io

Change-Id: I65f0d6edb9cd948bafbcf8dc08ae6253798c5932
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
on one way messages, if application ask to receive read receipt,
   it should use on_message_delivered notification.
if application ask to know when it is safe to recycle its out messages, it should use
on_ow_msg_send_complete notification.

Change-Id: I8e4cbde7f4e9aa3d2768e1d8b43b3f00ae54d5c7
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
rework on message_write function in test applications

Change-Id: I416413fc08ea28f1c0dc596c2300a0ce0f507698
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Fixing one way application not request receipt

Change-Id: Id13e6f9c8497607af5f2c4b63c907ffaada479a8
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Protecting against expiry of timer.

Change-Id: I7614496b952931d263f127af61dbb631977d467a
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
session "hello" request message data was not nullified

Change-Id: Idfe92eff0c284a93ca29feef34038c6e4dd1349c
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
kfree failed if case of error while writing session setup message

Change-Id: Ie6223228fad7631c8af5bf2ba6bf55590a7a3ece
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
fixing print type

Change-Id: I2be5e0f925e7a1a5ccb5f0ab4f86d040b5c602ba
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
fix calling to ib_dma_unmap_sg

The ib_dma_unmap_sg (like sg_unmap_sg) should receive the numebr of
the input nents to ib_dma_map_sg and not the number of returned from
the mapping API. Fix that.

Change-Id: Idddfa85070e320935e6abaec7056d0e51899d51e
Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
fix kenrel xio_rdma_mempool_destroy

xio_rdma_mempool_destroy released only the 16K pool, need also to
release the 64K 256K and 1024K pools. Fix that.

Change-Id: I9d284749bb3551c7d15aeb7fc299133088f97121
Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
primary pool maximum size resize.

Change-Id: I5379977ffe5cce1436e7d4cb64f1f800b3318b51
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
xio_get_connection removal

Change-Id: Ic6df20b5ef6aa4d640ec879a48f228f6fc3fa5ef
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
moving counter to start of the code.

Change-Id: I0322ad119882cff9daefe94cee1c959a9cf53685
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Initializing wqe num_sge before every use

Change-Id: I927e19f5e8e1e926e2cfe61dd8b14924ea0e9c96
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>