]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
IB/rdmavt: Add common LID defines to rdmavt
authorKamal Heib <kamalh@mellanox.com>
Wed, 6 Jan 2016 18:03:47 +0000 (10:03 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:13 +0000 (20:37 -0500)
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>
include/rdma/rdma_vt.h

index 9a479575078fbb88e03c9ef027ec7166b4b5e5b3..dbb45bcd1feada69deede01cd8751e1b348d21c3 100644 (file)
@@ -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