summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorKamal Heib <kamalh@mellanox.com>2016-01-06 19:03:47 +0100
committerDoug Ledford <dledford@redhat.com>2016-03-11 02:37:13 +0100
commitf2f342115ef2b0755abd73573831351e371f6242 (patch)
treefcaf55b5a3952c470cc26759a4fb48f096b05dae /include/rdma
parentIB/rdmavt: Do not use rvt prints which rely on driver too early (diff)
downloadlinux-f2f342115ef2b0755abd73573831351e371f6242.tar.xz
linux-f2f342115ef2b0755abd73573831351e371f6242.zip
IB/rdmavt: Add common LID defines to rdmavt
Original patch is from Kamal Heib <kamalh@mellanox.com>. It has been split into separate patches. This patch adds RVT_PERMISSIVE_LID and RVT_MULTICAST_LID_BASE to rdmavt. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Kamal Heib <kamalh@mellanox.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/rdma_vt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h
index 9a479575078f..dbb45bcd1fea 100644
--- a/include/rdma/rdma_vt.h
+++ b/include/rdma/rdma_vt.h
@@ -55,6 +55,9 @@
#include "ib_verbs.h"
+#define RVT_MULTICAST_LID_BASE 0xC000
+#define RVT_PERMISSIVE_LID 0xFFFF
+
/*
* For some of the IBTA objects there will likely be some
* initializations required. We need flags to determine whether it is OK