]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/infiniband/core/uverbs_cmd.c
IB/core: Add PCI write end padding flags for WQ and QP
[mirror_ubuntu-bionic-kernel.git] / drivers / infiniband / core / uverbs_cmd.c
index d31e4bc58e9a8c4c60b7c9c24f35187fde63e1aa..8ca36843ef381983ec2e67ad5e853b37dd69201d 100644 (file)
@@ -1491,7 +1491,8 @@ static int create_qp(struct ib_uverbs_file *file,
                                IB_QP_CREATE_MANAGED_RECV |
                                IB_QP_CREATE_SCATTER_FCS |
                                IB_QP_CREATE_CVLAN_STRIPPING |
-                               IB_QP_CREATE_SOURCE_QPN)) {
+                               IB_QP_CREATE_SOURCE_QPN |
+                               IB_QP_CREATE_PCI_WRITE_END_PADDING)) {
                ret = -EINVAL;
                goto err_put;
        }