|
@@ -426,6 +426,17 @@ enum {
|
|
|
MLX4_MAX_FAST_REG_PAGES = 511,
|
|
|
};
|
|
|
|
|
|
+enum {
|
|
|
+ /*
|
|
|
+ * Max wqe size for rdma read is 512 bytes, so this
|
|
|
+ * limits our max_sge_rd as the wqe needs to fit:
|
|
|
+ * - ctrl segment (16 bytes)
|
|
|
+ * - rdma segment (16 bytes)
|
|
|
+ * - scatter elements (16 bytes each)
|
|
|
+ */
|
|
|
+ MLX4_MAX_SGE_RD = (512 - 16 - 16) / 16
|
|
|
+};
|
|
|
+
|
|
|
enum {
|
|
|
MLX4_DEV_PMC_SUBTYPE_GUID_INFO = 0x14,
|
|
|
MLX4_DEV_PMC_SUBTYPE_PORT_INFO = 0x15,
|