On Wed, Dec 30, 2020 at 03:02:40PM +0200, Leon Romanovsky wrote:
From: Patrisious Haddad <redacted>
The bounded counter can't be reconfigured to be in auto mode,
in attempt to do it, the user will get an error, but without any
hint why. Update nldev interface to return an error message through
extack mechanism.
Signed-off-by: Patrisious Haddad <redacted>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
drivers/infiniband/core/counters.c | 62 ++++++++++++++++--------------
drivers/infiniband/core/nldev.c | 4 +-
include/rdma/rdma_counter.h | 3 +-
3 files changed, 36 insertions(+), 33 deletions(-)
Applied to for-next, thanks
Jason