diff options
author | Mustafa Ismail <mustafa.ismail@intel.com> | 2017-12-08 14:34:29 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-11 16:19:44 -0700 |
commit | 24b9abab15896c30f7e4a8f752245cfd45ce7fbf (patch) | |
tree | 489b7ebd4e0789fe606dc6e3d0119d175b1d4929 /drivers/infiniband/hw/mlx5/mr.c | |
parent | 807e005ab8b3e1be5739e8df7d8c79913ed0ac83 (diff) |
i40iw: Reinitialize add_sd_cnt
add_sd_cnt in info structure passed to i40iw_create_hmc_obj_type
must be 0 and since it is modified during the call, it must be
reset in the loop. This avoids unnecessarily reprogramming the
SDs multiple times with the same values.
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mr.c')
0 files changed, 0 insertions, 0 deletions