summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/RdmaIOPlugin.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-12-23 17:11:39 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-12-23 17:11:39 +0000
commit0e1cdad9f65bb0171b9d9cb97eb3131010254840 (patch)
tree40f1425467fcf36341719af343571031e6f699c8 /cpp/src/qpid/sys/RdmaIOPlugin.cpp
parent828ff32c54dee76bc4b147cda1489b78ea7ef144 (diff)
downloadqpid-python-0e1cdad9f65bb0171b9d9cb97eb3131010254840.tar.gz
Implementation for v1 rdma protocol - append sent credit and flags word
after sent frame (instead of sending it in immediate data). Small change to send buffer management to support this to 0 dataCount when returning buffers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052329 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/RdmaIOPlugin.cpp')
-rw-r--r--cpp/src/qpid/sys/RdmaIOPlugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/RdmaIOPlugin.cpp b/cpp/src/qpid/sys/RdmaIOPlugin.cpp
index 984f4daf89..0e92210313 100644
--- a/cpp/src/qpid/sys/RdmaIOPlugin.cpp
+++ b/cpp/src/qpid/sys/RdmaIOPlugin.cpp
@@ -298,6 +298,9 @@ void RdmaIOProtocolFactory::established(Poller::shared_ptr poller, Rdma::Connect
bool RdmaIOProtocolFactory::request(Rdma::Connection::intrusive_ptr ci, const Rdma::ConnectionParams& cp,
ConnectionCodec::Factory* f) {
try {
+ if (cp.rdmaProtocolVersion == 0) {
+ QPID_LOG(warning, "Rdma: connection from protocol version 0 client");
+ }
RdmaIOHandler* async = new RdmaIOHandler(ci, f);
Rdma::AsynchIO* aio =
new Rdma::AsynchIO(ci->getQueuePair(),