summaryrefslogtreecommitdiffstats
path: root/sound/parisc
diff options
context:
space:
mode:
authorMajd Dibbiny <majd@mellanox.com>2015-01-29 10:41:42 +0200
committerRoland Dreier <roland@purestorage.com>2015-02-17 22:11:40 -0800
commit8ab9406a41c8245dbab16e65ada51b62182a463e (patch)
tree813287051366c3a6a34190d2bd2141b821075ff8 /sound/parisc
parentbede98e781747623ae170667694a71ef19c6ba7f (diff)
downloadlinux-stable-8ab9406a41c8245dbab16e65ada51b62182a463e.tar.gz
linux-stable-8ab9406a41c8245dbab16e65ada51b62182a463e.tar.bz2
linux-stable-8ab9406a41c8245dbab16e65ada51b62182a463e.zip
IB/mlx4: Bug fixes in mlx4_ib_resize_cq
1. Before the entries alignment, we need to check that the entries doesn't exceed the device's max cqe. 2. After the alignment, we need to make sure that the aligned number doesn't exceed the max cqes+1. The additional cqe is used to denote that the resizing operation has completed. 3. If the users asks to resize the CQ with entries less than the oustanding cqes we should fail instead of returning 0. Signed-off-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions