commit | 26e551c5aec572442c4ad7109ff4350f427cd39d | [log] [tgz] |
---|---|---|
author | Kamal Heib <kamalheib1@gmail.com> | Tue Jul 31 09:02:36 2018 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue Jul 31 17:03:46 2018 -0600 |
tree | 994eac4d48100034faea4b798d1c7576b066883f | |
parent | dd708e7b4541da1d61cdce2db1d9701444fdb317 [diff] |
RDMA: Fix return code check in rdma_set_cq_moderation The proper return code is "-EOPNOTSUPP" when the modify_cq() callback is not supported, all drivers should generate this and all users should check for it when detecting not supported functionality. Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> (for mlx5) Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>