Loading
RDMA/hns: Fix DCA's dependence on ib_uverbs
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9CK0O -------------------------------------------------------------------------- Currently, compiling DCA strongly relies on ib_uverbs. If ib_uverbs is not configured, it will cause the entire hns-roce-hw-v2 compilation to fail. This patch isolates the parts of the DCA code that rely on ib_uverbs to fix this problem. Fixes: bca9ff27 ("RDMA/hns: Add method for shrinking DCA memory pool") Fixes: d8cca476 ("RDMA/hns: Add method for attaching WQE buffer") Fixes: 0273952c ("RDMA/hns: Add method to detach WQE buffer") Fixes: f0384ddc ("RDMA/hns: Add method to query WQE buffer's address") Signed-off-by:Chengchang Tang <tangchengchang@huawei.com>