diff options
author | Jitendra Bhivare <jitendra.bhivare@broadcom.com> | 2016-02-04 15:49:17 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-23 21:27:02 -0500 |
commit | 090e2184ba8fedff44b65e480d0f30229bb85621 (patch) | |
tree | 74349555eec0766a33678016b958801efee26b01 /drivers/iommu/tegra-smmu.c | |
parent | 291fef26e0f85bd2c1f7152138fc3459e7a00ea1 (diff) | |
download | op-kernel-dev-090e2184ba8fedff44b65e480d0f30229bb85621.zip op-kernel-dev-090e2184ba8fedff44b65e480d0f30229bb85621.tar.gz |
be2iscsi: Couple MCC tag and WRB alloc and free
WARN_ON(atomic_read(&mccq->used) >= mccq->len) seen when FW gets into
UE.
MCCQ overflow is happening because driver discards any new request and
frees up the tag. The tag allocation controls the number of MCC WRB
posted. It is being replenished but WRBs are not hence the WARN_ON.
Allocation and freeing of WRB and tags for MCC is now done in one place.
This helps to achieve proper accounting of WRB indices and MCC tags.
Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/iommu/tegra-smmu.c')
0 files changed, 0 insertions, 0 deletions