Pull rdma updates from Jason Gunthorpe: "Usual collection of driver fixes: - Small bug fixes and cleansup in hfi, hns, rxe, mlx5, mana siw - Further ODP functionality in rxe - Remote access MRs in mana, along with more page sizes - Improve CM scalability with a rwlock around the agent - More trace points for hns - ODP hmm conversion to the new two step dma API - Support the ethernet HW device in mana as well as the RNIC - Cleanups: - Use secs_to_jiffies() when appropriate - Use ERR_CAST() instead of naked casts - Don't use %pK in printk - Unusued functions removed - Allocation type matching" * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (57 commits) RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work RDMA/bnxt_re: Support extended stats for Thor2 VF RDMA/hns: Fix endian issue in trace events RDMA/mlx5: Avoid flexible array warning IB/cm: Remove dead code and adjust naming RDMA/core: Avoid hmm_dma_map_alloc() for virtual DMA devices RDMA/rxe: Break endless pagefault loop for RO pages RDMA/bnxt_re: Fix return code of bnxt_re_configure_cc RDMA/bnxt_re: Fix missing error handling for tx_queue RDMA/bnxt_re: Fix incorrect display of inactivity_cp in debugfs output RDMA/mlx5: Add support for 200Gbps per lane speeds RDMA/mlx5: Remove the redundant MLX5_IB_STAGE_UAR stage RDMA/iwcm: Fix use-after-free of work objects after cm_id destruction net: mana: Add support for auxiliary device servicing events RDMA/mana_ib: unify mana_ib functions to support any gdma device RDMA/mana_ib: Add support of mana_ib for RNIC and ETH nic net: mana: Probe rdma device in mana driver RDMA/siw: replace redundant ternary operator with just rv RDMA/umem: Separate implicit ODP initialization from explicit ODP RDMA/core: Convert UMEM ODP DMA mapping to caching IOVA and page linkage ...
Showing the changes to include/uapi (1 of 76 files). Show all
Unified · Split
| @@ -233,6 +233,22 @@ struct ib_uverbs_ex_query_device { · 232 unmodified lines | ||
| 233 | 233 | __u32 reserved; |
| 234 | 234 | }; |
| 235 | 235 | |
| 236 | +enum ib_uverbs_odp_general_cap_bits { | |
| 237 | + IB_UVERBS_ODP_SUPPORT = 1 << 0, | |
| 238 | + IB_UVERBS_ODP_SUPPORT_IMPLICIT = 1 << 1, | |
| 239 | +}; | |
| 240 | + | |
| 241 | +enum ib_uverbs_odp_transport_cap_bits { | |
| 242 | + IB_UVERBS_ODP_SUPPORT_SEND = 1 << 0, | |
| 243 | + IB_UVERBS_ODP_SUPPORT_RECV = 1 << 1, | |
| 244 | + IB_UVERBS_ODP_SUPPORT_WRITE = 1 << 2, | |
| 245 | + IB_UVERBS_ODP_SUPPORT_READ = 1 << 3, | |
| 246 | + IB_UVERBS_ODP_SUPPORT_ATOMIC = 1 << 4, | |
| 247 | + IB_UVERBS_ODP_SUPPORT_SRQ_RECV = 1 << 5, | |
| 248 | + IB_UVERBS_ODP_SUPPORT_FLUSH = 1 << 6, | |
| 249 | + IB_UVERBS_ODP_SUPPORT_ATOMIC_WRITE = 1 << 7, | |
| 250 | +}; | |
| 251 | + | |
| 236 | 252 | struct ib_uverbs_odp_caps { |
| 237 | 253 | __aligned_u64 general_caps; |
| 238 | 254 | struct { |