Each driver should check that it can support the provided attr_mask during modify_qp. IB_USER_VERBS_EX_CMD_MODIFY_QP was being used to block modify_qp_ex because the driver didn't check RATE_LIMIT.
Showing the changes to include/uapi (1 of 21 files). Show all
Unified · Split
| @@ -596,20 +596,6 @@ enum { · 595 unmodified lines | ||
| 596 | 596 | IB_UVERBS_CREATE_QP_SUP_COMP_MASK = IB_UVERBS_CREATE_QP_MASK_IND_TABLE, |
| 597 | 597 | }; |
| 598 | 598 | |
| 599 | −enum { | |
| 600 | − /* | |
| 601 | − * This value is equal to IB_QP_DEST_QPN. | |
| 602 | − */ | |
| 603 | − IB_USER_LEGACY_LAST_QP_ATTR_MASK = 1ULL << 20, | |
| 604 | −}; | |
| 605 | − | |
| 606 | −enum { | |
| 607 | − /* | |
| 608 | − * This value is equal to IB_QP_RATE_LIMIT. | |
| 609 | − */ | |
| 610 | − IB_USER_LAST_QP_ATTR_MASK = 1ULL << 25, | |
| 611 | −}; | |
| 612 | − | |
| 613 | 599 | struct ib_uverbs_ex_create_qp { |
| 614 | 600 | __aligned_u64 user_handle; |
| 615 | 601 | __u32 pd_handle; |