]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Fix wrong mask applied on EQ numbers in the wrapper
authorMoshe Lazer <moshel@mellanox.com>
Thu, 21 Mar 2013 05:55:51 +0000 (05:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2013 16:05:07 +0000 (12:05 -0400)
commit5c2c26dd23e23296acf16a79f009967b2c88be1f
treeeefe884d2913482b1bc73516bd56d15b916b4c15
parentfb338a74e9f25d8735397e55e956ff7c35f2c3b2
net/mlx4_core: Fix wrong mask applied on EQ numbers in the wrapper

Currently the  mask is wrongly set in the MAP_EQ wrapper, fix that.
Without the fix any EQ number above 511 is mapped to one below 511.

Signed-off-by: Moshe Lazer <moshel@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/eq.c