diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2016-02-23 09:25:25 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-21 21:32:59 +0100 |
commit | fb532d6a79b96a4c8f678024d7ed3549ff0ca916 (patch) | |
tree | 9c55f37516fe18c344284b8dc00b3e2aedeaba3d /drivers/infiniband/ulp | |
parent | IB/core: Replace setting the zero values in ib_uverbs_ex_query_device (diff) | |
download | linux-fb532d6a79b96a4c8f678024d7ed3549ff0ca916.tar.xz linux-fb532d6a79b96a4c8f678024d7ed3549ff0ca916.zip |
IB/{core, ulp} Support above 32 possible device capability flags
The old bitwise device_cap_flags variable was limited to u32 which
has all bits already defined. In order to overcome it, we converted
device_cap_flags variable to be u64 type.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index 85be0de3ab26..caec8e9c4666 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -388,7 +388,7 @@ struct ipoib_dev_priv { struct dentry *mcg_dentry; struct dentry *path_dentry; #endif - int hca_caps; + u64 hca_caps; struct ipoib_ethtool_st ethtool; struct timer_list poll_timer; unsigned max_send_sge; |