On Mon, May 16, 2022 at 10:30:08AM +0800, Cheng Xu wrote: > > > On 5/10/22 8:50 PM, Jason Gunthorpe wrote: > > On Thu, Apr 21, 2022 at 03:17:35PM +0800, Cheng Xu wrote: > > > Hello all, > > > > > > This v7 patch set introduces the Elastic RDMA Adapter (ERDMA) driver, > > > which released in Apsara Conference 2021 by Alibaba. The PR of ERDMA > > > userspace provider has already been created [1]. > > > > It doesn't compile: > > > > ../drivers/infiniband/hw/erdma/erdma_verbs.c:291:8: error: no member named 'kernel_cap_flags' in 'struct ib_device_attr' > > attr->kernel_cap_flags = IBK_LOCAL_DMA_LKEY; > > ~~~~ ^ > > ../drivers/infiniband/hw/erdma/erdma_verbs.c:291:27: error: use of undeclared identifier 'IBK_LOCAL_DMA_LKEY' > > attr->kernel_cap_flags = IBK_LOCAL_DMA_LKEY; > > ^ > > > > Jason > > This v7 patch set is based on the latest for-next branch. This > change is introduced by (e945c653c, RDMA: Split kernel-only global device > caps from uverbs device caps). Maybe you compile the patch set > with for-rc? Oh, Ok Jason