aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorMark Zhang <[email protected]>2020-01-26 19:17:08 +0200
committerJason Gunthorpe <[email protected]>2020-02-11 14:23:01 -0400
commit10189e8e6fe8dcde13435f9354800429c4474fb1 (patch)
tree0a0cf7e51a22ca3147591f3cf835b725bf6fc10c /drivers/mtd/lpddr/lpddr_cmds.c
parenta72f4ac1d778f7bde93dfee69bfc23377ec3d74f (diff)
IB/mlx5: Return failure when rts2rts_qp_counters_set_id is not supported
When binding a QP with a counter and the QP state is not RESET, return failure if the rts2rts_qp_counters_set_id is not supported by the device. This is to prevent cases like manual bind for Connect-IB devices from returning success when the feature is not supported. Fixes: d14133dd4161 ("IB/mlx5: Support set qp counter") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Zhang <[email protected]> Reviewed-by: Maor Gottlieb <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions