| .. | .. |
|---|
| 57 | 57 | |
|---|
| 58 | 58 | #define PVRDMA_ROCEV1_VERSION 17 |
|---|
| 59 | 59 | #define PVRDMA_ROCEV2_VERSION 18 |
|---|
| 60 | | -#define PVRDMA_VERSION PVRDMA_ROCEV2_VERSION |
|---|
| 60 | +#define PVRDMA_PPN64_VERSION 19 |
|---|
| 61 | +#define PVRDMA_QPHANDLE_VERSION 20 |
|---|
| 62 | +#define PVRDMA_VERSION PVRDMA_QPHANDLE_VERSION |
|---|
| 61 | 63 | |
|---|
| 62 | 64 | #define PVRDMA_BOARD_ID 1 |
|---|
| 63 | 65 | #define PVRDMA_REV_ID 1 |
|---|
| .. | .. |
|---|
| 279 | 281 | /* W: Async ring page info. */ |
|---|
| 280 | 282 | struct pvrdma_ring_page_info cq_ring_pages; |
|---|
| 281 | 283 | /* W: CQ ring page info. */ |
|---|
| 282 | | - u32 uar_pfn; /* W: UAR pageframe. */ |
|---|
| 283 | | - u32 pad2; /* Pad to 8-byte align. */ |
|---|
| 284 | + union { |
|---|
| 285 | + u32 uar_pfn; /* W: UAR pageframe. */ |
|---|
| 286 | + u64 uar_pfn64; /* W: 64-bit UAR page frame. */ |
|---|
| 287 | + }; |
|---|
| 284 | 288 | struct pvrdma_device_caps caps; /* R: Device capabilities. */ |
|---|
| 285 | 289 | }; |
|---|
| 286 | 290 | |
|---|
| .. | .. |
|---|
| 411 | 415 | |
|---|
| 412 | 416 | struct pvrdma_cmd_create_uc { |
|---|
| 413 | 417 | struct pvrdma_cmd_hdr hdr; |
|---|
| 414 | | - u32 pfn; /* UAR page frame number */ |
|---|
| 415 | | - u8 reserved[4]; |
|---|
| 418 | + union { |
|---|
| 419 | + u32 pfn; /* UAR page frame number */ |
|---|
| 420 | + u64 pfn64; /* 64-bit UAR page frame number */ |
|---|
| 421 | + }; |
|---|
| 416 | 422 | }; |
|---|
| 417 | 423 | |
|---|
| 418 | 424 | struct pvrdma_cmd_create_uc_resp { |
|---|
| .. | .. |
|---|
| 576 | 582 | u32 max_inline_data; |
|---|
| 577 | 583 | }; |
|---|
| 578 | 584 | |
|---|
| 585 | +struct pvrdma_cmd_create_qp_resp_v2 { |
|---|
| 586 | + struct pvrdma_cmd_resp_hdr hdr; |
|---|
| 587 | + u32 qpn; |
|---|
| 588 | + u32 qp_handle; |
|---|
| 589 | + u32 max_send_wr; |
|---|
| 590 | + u32 max_recv_wr; |
|---|
| 591 | + u32 max_send_sge; |
|---|
| 592 | + u32 max_recv_sge; |
|---|
| 593 | + u32 max_inline_data; |
|---|
| 594 | +}; |
|---|
| 595 | + |
|---|
| 579 | 596 | struct pvrdma_cmd_modify_qp { |
|---|
| 580 | 597 | struct pvrdma_cmd_hdr hdr; |
|---|
| 581 | 598 | u32 qp_handle; |
|---|
| .. | .. |
|---|
| 658 | 675 | struct pvrdma_cmd_create_cq_resp create_cq_resp; |
|---|
| 659 | 676 | struct pvrdma_cmd_resize_cq_resp resize_cq_resp; |
|---|
| 660 | 677 | struct pvrdma_cmd_create_qp_resp create_qp_resp; |
|---|
| 678 | + struct pvrdma_cmd_create_qp_resp_v2 create_qp_resp_v2; |
|---|
| 661 | 679 | struct pvrdma_cmd_query_qp_resp query_qp_resp; |
|---|
| 662 | 680 | struct pvrdma_cmd_destroy_qp_resp destroy_qp_resp; |
|---|
| 663 | 681 | struct pvrdma_cmd_create_srq_resp create_srq_resp; |
|---|