projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d902c
)
i40iw: Remove pre-production workaround for resource profile 1
author
Shiraz Saleem
<shiraz.saleem@intel.com>
Tue, 3 Apr 2018 15:32:28 +0000
(10:32 -0500)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Tue, 3 Apr 2018 19:40:39 +0000
(13:40 -0600)
Support for resource profile 1 is currenlty deprecated due to
a pre-production errata. Remove this workaround as its no longer
needed.
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw_main.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/i40iw/i40iw_main.c
b/drivers/infiniband/hw/i40iw/i40iw_main.c
index b08862978de83285915e81fbf54e337650b201c6..9cd0d3ef90575adff6103e9e3a7cf544d986fe79 100644
(file)
--- a/
drivers/infiniband/hw/i40iw/i40iw_main.c
+++ b/
drivers/infiniband/hw/i40iw/i40iw_main.c
@@
-1560,8
+1560,6
@@
static enum i40iw_status_code i40iw_setup_init_state(struct i40iw_handler *hdl,
enum i40iw_status_code status;
memcpy(&hdl->ldev, ldev, sizeof(*ldev));
- if (resource_profile == 1)
- resource_profile = 2;
iwdev->mpa_version = mpa_version;
iwdev->resource_profile = (resource_profile < I40IW_HMC_PROFILE_EQUAL) ?