diff options
author | Sean Hefty <sean.hefty@intel.com> | 2012-10-03 23:42:31 +0000 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-10-04 19:11:54 -0700 |
commit | 4ede178a5eb55fe70070fcd0960b58ba6a5643a8 (patch) | |
tree | c36266c019b688418ddbfe2e927a37a8c0a661f9 /drivers/usb/musb | |
parent | 7a9a2970b5c1c2ce73d4bb84edaa7ebf13e0c841 (diff) | |
download | op-kernel-dev-4ede178a5eb55fe70070fcd0960b58ba6a5643a8.zip op-kernel-dev-4ede178a5eb55fe70070fcd0960b58ba6a5643a8.tar.gz |
RDMA/cma: Check that retry count values are in range
The retry_count and rnr_retry_count connection parameters are both
3-bit values. Check that the values are in range and reduce if
they're not.
This fixes a problem reported by Doug Ledford <dledford@redhat.com>
that resulted in the userspace rping test (part of the librdmacm
samples) failing to run over Intel IB HCAs.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
[ Use min_t() to avoid warnings about type mismatch. - Roland ]
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/usb/musb')
0 files changed, 0 insertions, 0 deletions