|
@@ -102,7 +102,7 @@ static int ipoib_set_coalesce(struct net_device *dev,
|
|
|
ret = rdma_set_cq_moderation(priv->recv_cq,
|
|
|
coal->rx_max_coalesced_frames,
|
|
|
coal->rx_coalesce_usecs);
|
|
|
- if (ret && ret != -ENOSYS) {
|
|
|
+ if (ret && ret != -EOPNOTSUPP) {
|
|
|
ipoib_warn(priv, "failed modifying CQ (%d)\n", ret);
|
|
|
return ret;
|
|
|
}
|