| /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */ |
| * Copyright (c) 2022, Microsoft Corporation. All rights reserved. |
| #include <rdma/ib_user_ioctl_verbs.h> |
| * Increment this value if any changes that break userspace ABI |
| * compatibility are made. |
| #define MANA_IB_UVERBS_ABI_VERSION 1 |
| struct mana_ib_create_cq { |
| struct mana_ib_create_qp { |
| __aligned_u64 sq_buf_addr; |
| struct mana_ib_create_qp_resp { |
| struct mana_ib_create_wq { |
| __aligned_u64 wq_buf_addr; |
| /* RX Hash function flags */ |
| enum mana_ib_rx_hash_function_flags { |
| MANA_IB_RX_HASH_FUNC_TOEPLITZ = 1 << 0, |
| struct mana_ib_create_qp_rss { |
| __aligned_u64 rx_hash_fields_mask; |
| struct mana_ib_create_qp_rss_resp { |
| __aligned_u64 num_entries; |
| struct rss_resp_entry entries[64]; |