#include <infiniband/verbs.h>
#include <tr1/memory>
#include <memory>
#include <stdexcept>
#include <string>
#include <map>
#include <string.h>
#define IBVPP_SPNS std::tr1
#define IBVPP_SPNS std
namespace ibv {
#include <time.h>
using namespace std;
using tr1::shared_ptr;
using std::shared_ptr;
enum {
PINGPONG_RECV_WRID = 1,