.. | .. |
---|
419 | 419 | |
---|
420 | 420 | struct hns_roce_wqe_raddr_seg { |
---|
421 | 421 | __le32 rkey; |
---|
422 | | - __le32 len;/* reserved */ |
---|
| 422 | + __le32 len; /* reserved */ |
---|
423 | 423 | __le64 raddr; |
---|
424 | 424 | }; |
---|
425 | 425 | |
---|
.. | .. |
---|
1042 | 1042 | struct hns_roce_ext_db *ext_db; |
---|
1043 | 1043 | }; |
---|
1044 | 1044 | |
---|
| 1045 | +#define HW_SYNC_SLEEP_TIME_INTERVAL 20 |
---|
| 1046 | +#define HW_SYNC_TIMEOUT_MSECS (25 * HW_SYNC_SLEEP_TIME_INTERVAL) |
---|
| 1047 | +#define BT_CMD_SYNC_SHIFT 31 |
---|
| 1048 | +#define HNS_ROCE_BA_SIZE (32 * 4096) |
---|
| 1049 | + |
---|
1045 | 1050 | struct hns_roce_bt_table { |
---|
1046 | 1051 | struct hns_roce_buf_list qpc_buf; |
---|
1047 | 1052 | struct hns_roce_buf_list mtpt_buf; |
---|