]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
RDMA/counter: Prevent QP counter manual binding in auto mode
authorMark Zhang <markz@mellanox.com>
Mon, 16 Sep 2019 07:11:52 +0000 (10:11 +0300)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 30 Jan 2020 15:24:39 +0000 (16:24 +0100)
commitb3b96ea9c5cd43b57f91d4ef5db32165b8f4592b
treeed4ee369176765889af1f8284fe5013d2597d200
parent7e9cdee6e6e27cb2d8b045daf12d4e7febcb0a32
RDMA/counter: Prevent QP counter manual binding in auto mode

BugLink: https://bugs.launchpad.net/bugs/1861085
commit 663912a6378a34fd4f43b8d873f0c6c6322d9d0e upstream.

If auto mode is configured, manual counter allocation and QP bind is not
allowed.

Fixes: 1bd8e0a9d0fd ("RDMA/counter: Allow manual mode configuration support")
Link: https://lore.kernel.org/r/20190916071154.20383-3-leon@kernel.org
Signed-off-by: Mark Zhang <markz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/infiniband/core/counters.c