Merge branch 'linus' into irq/core, to fix conflict
[sfrench/cifs-2.6.git] / drivers / infiniband / hw / hns / hns_roce_hw_v2.h
index 4d904d5e82be4efb7efb7b91b4dc656e00535b41..35c61da7ba156be04bb76d7cb041cc99eba0161b 100644 (file)
@@ -1444,6 +1444,14 @@ struct hns_roce_dip {
        struct list_head node;  /* all dips are on a list */
 };
 
+/* only for RNR timeout issue of HIP08 */
+#define HNS_ROCE_CLOCK_ADJUST 1000
+#define HNS_ROCE_MAX_CQ_PERIOD 65
+#define HNS_ROCE_MAX_EQ_PERIOD 65
+#define HNS_ROCE_RNR_TIMER_10NS 1
+#define HNS_ROCE_1US_CFG 999
+#define HNS_ROCE_1NS_CFG 0
+
 #define HNS_ROCE_AEQ_DEFAULT_BURST_NUM 0x0
 #define HNS_ROCE_AEQ_DEFAULT_INTERVAL  0x0
 #define HNS_ROCE_CEQ_DEFAULT_BURST_NUM 0x0