mlx5: Expose correct page_size_cap in device attributes
authorSagi Grimberg <sagig@mellanox.com>
Tue, 21 Jul 2015 11:40:12 +0000 (14:40 +0300)
committerDoug Ledford <dledford@redhat.com>
Sat, 29 Aug 2015 02:54:46 +0000 (22:54 -0400)
commite0238a6a369eaa2e41b2c0321453272fb859f618
tree1ec30e680902668c46641b3e3bcc6166eb3c1095
parenta3c874200cbcd95ed914ba84f33f571a0ef7adfa
mlx5: Expose correct page_size_cap in device attributes

Should be all the page sizes that are supported by the
device.

Reported-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c