Enable QP creation with a given source QP number, the created QP will use the source QPN as its wire QP number. To create such a QP, root privileges (i.e. CAP_NET_RAW) are required from the user application. This comes as a pre-patch for downstream patches in this series to allow user space applications to accelerate traffic which is typically handled by IPoIB ULP.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -578,7 +578,7 @@ struct ib_uverbs_ex_create_qp { · 577 unmodified lines | |||
| 578 | __u32 comp_mask; | 578 | __u32 comp_mask; |
| 579 | __u32 create_flags; | 579 | __u32 create_flags; |
| 580 | __u32 rwq_ind_tbl_handle; | 580 | __u32 rwq_ind_tbl_handle; |
| 581 | __u32 reserved1; | 581 | __u32 source_qpn; |
| 582 | }; | 582 | }; |
| 583 | 583 | ||
| 584 | struct ib_uverbs_open_qp { | 584 | struct ib_uverbs_open_qp { |