History

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma

Pull rdma updates from Jason Gunthorpe: "Many small changes across the subystem, some highlights: - Usual driver cleanups in qedr, siw, erdma, hfi1, mlx4/5, irdma, mthca, hns, and bnxt_re - siw now works over tunnel and other netdevs with a MAC address by removing assumptions about a MAC/GID from the connection manager - "Doorbell Pacing" for bnxt_re - this is a best effort scheme to allow userspace to slow down the doorbell rings if the HW gets full - irdma egress VLAN priority, better QP/WQ sizing - rxe bug fixes in queue draining and srq resizing - Support more ethernet speed options in the core layer - DMABUF support for bnxt_re - Multi-stage MTT support for erdma to allow much bigger MR registrations - A irdma fix with a CVE that came in too late to go to -rc, missing bounds checking for 0 length MRs" * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (87 commits) IB/hfi1: Reduce printing of errors during driver shut down RDMA/hfi1: Move user SDMA system memory pinning code to its own file RDMA/hfi1: Use list_for_each_entry() helper RDMA/mlx5: Fix trailing */ formatting in block comment RDMA/rxe: Fix redundant break statement in switch-case. RDMA/efa: Fix wrong resources deallocation order RDMA/siw: Call llist_reverse_order in siw_run_sq RDMA/siw: Correct wrong debug message RDMA/siw: Balance the reference of cep->kref in the error path Revert "IB/isert: Fix incorrect release of isert connection" RDMA/bnxt_re: Fix kernel doc errors RDMA/irdma: Prevent zero-length STAG registration RDMA/erdma: Implement hierarchical MTT RDMA/erdma: Refactor the storage structure of MTT entries RDMA/erdma: Renaming variable names and field names of struct erdma_mem RDMA/hns: Support hns HW stats RDMA/hns: Dump whole QP/CQ/MR resource in raw RDMA/irdma: Add missing kernel-doc in irdma_setup_umode_qp() RDMA/mlx4: Copy union directly RDMA/irdma: Drop unused kernel push code ...

Linus Torvalds committed 3 years ago

Commit f7e97ce2 parents 2fcbb03 f5acc3694 files · +2892 −1670Browse files

Showing the changes to include/uapi (2 of 94 files). Show all

Unified · Split

2 files
  1. include/uapi/rdma/bnxt_re-abi.h +7 −0
  2. include/uapi/rdma/irdma-abi.h +9 −0
include/uapi/rdma/bnxt_re-abi.h+7−0
@@ -53,6 +53,7 @@ enum { · 52 unmodified lines
5353 BNXT_RE_UCNTX_CMASK_HAVE_CCTX = 0x1ULL,
5454 BNXT_RE_UCNTX_CMASK_HAVE_MODE = 0x02ULL,
5555 BNXT_RE_UCNTX_CMASK_WC_DPI_ENABLED = 0x04ULL,
56+ BNXT_RE_UCNTX_CMASK_DBR_PACING_ENABLED = 0x08ULL,
5657 };
5758
5859 enum bnxt_re_wqe_mode {
@@ -131,10 +132,13 @@ enum bnxt_re_shpg_offt { · 72 unmodified lines
131132
132133 enum bnxt_re_objects {
133134 BNXT_RE_OBJECT_ALLOC_PAGE = (1U << UVERBS_ID_NS_SHIFT),
135+ BNXT_RE_OBJECT_NOTIFY_DRV,
134136 };
135137
136138 enum bnxt_re_alloc_page_type {
137139 BNXT_RE_ALLOC_WC_PAGE = 0,
140+ BNXT_RE_ALLOC_DBR_BAR_PAGE,
141+ BNXT_RE_ALLOC_DBR_PAGE,
138142 };
139143
140144 enum bnxt_re_var_alloc_page_attrs {
@@ -154,4 +158,7 @@ enum bnxt_re_alloc_page_methods { · 13 unmodified lines
154158 BNXT_RE_METHOD_DESTROY_PAGE,
155159 };
156160
161+enum bnxt_re_notify_drv_methods {
162+ BNXT_RE_METHOD_NOTIFY_DRV = (1U << UVERBS_ID_NS_SHIFT),
163+};
157164 #endif /* __BNXT_RE_UVERBS_ABI_H__*/
include/uapi/rdma/irdma-abi.h+9−0
@@ -22,10 +22,16 @@ enum irdma_memreg_type { · 21 unmodified lines
2222 IRDMA_MEMREG_TYPE_CQ = 2,
2323 };
2424
25+enum {
26+ IRDMA_ALLOC_UCTX_USE_RAW_ATTR = 1 << 0,
27+ IRDMA_ALLOC_UCTX_MIN_HW_WQ_SIZE = 1 << 1,
28+};
29+
2530 struct irdma_alloc_ucontext_req {
2631 __u32 rsvd32;
2732 __u8 userspace_ver;
2833 __u8 rsvd8[3];
34+ __aligned_u64 comp_mask;
2935 };
3036
3137 struct irdma_alloc_ucontext_resp {
@@ -46,6 +52,9 @@ struct irdma_alloc_ucontext_resp { · 14 unmodified lines
4652 __u16 max_hw_sq_chunk;
4753 __u8 hw_rev;
4854 __u8 rsvd2;
55+ __aligned_u64 comp_mask;
56+ __u16 min_hw_wq_size;
57+ __u8 rsvd3[6];
4958 };
5059
5160 struct irdma_alloc_pd_resp {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t