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)
commitc101c81b5293cdcb616ed4948d0c4a4cfd1f481a
treeeefe884d2913482b1bc73516bd56d15b916b4c15
parentce16294fda230c787ce5c35f61b2f80d14d70a72
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