summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_vt.h
diff options
context:
space:
mode:
authorKamal Heib <kamalh@mellanox.com>2016-01-06 10:03:47 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:37:13 -0500
commitf2f342115ef2b0755abd73573831351e371f6242 (patch)
treefcaf55b5a3952c470cc26759a4fb48f096b05dae /include/rdma/rdma_vt.h
parent36055a0652b6acb0e54ca0ad5ead2ac51e90f9ab (diff)
downloadlinux-f2f342115ef2b0755abd73573831351e371f6242.tar.gz
linux-f2f342115ef2b0755abd73573831351e371f6242.tar.bz2
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/rdma_vt.h')
-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