Thread (2 messages) 2 messages, 2 authors, 2021-01-18

Re: [PATCH rdma-next] RDMA/nldev: Return an error message on failure to turn auto mode

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-01-18 21:11:23

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help