]> Pileus Git - ~andy/linux/commit
IB/mlx4: Fill the masked_atomic_cap attribute in query device
authorDotan Barak <dotanb@dev.mellanox.co.il>
Wed, 11 Jul 2012 15:39:29 +0000 (15:39 +0000)
committerRoland Dreier <roland@purestorage.com>
Wed, 11 Jul 2012 16:22:57 +0000 (09:22 -0700)
commit47e956b2a6a4539f948ff2b85dfd259704dc5021
treed490265ae5e49da9c8b2992f75fdd2a55e2f008d
parent16551d450146eeba29ae3933560a2ed4968b23ce
IB/mlx4: Fill the masked_atomic_cap attribute in query device

When the user queries for device capabilities, fill in the
masked_atomic_cap attribute with the real support level of atomic
capabilities instead of using a hard coded value.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/main.c