linux/drivers/scsi/be2iscsi
Jitendra Bhivare 090e2184ba 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>
2016-02-23 21:27:02 -05:00
..
be_cmds.c be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_cmds.h be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_iscsi.c be2iscsi: Rename MCC and BMBX processing functions 2016-02-23 21:27:02 -05:00
be_iscsi.h MAINTAINERS, be2iscsi: change email domain 2015-05-18 11:34:52 -07:00
be_main.c be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_main.h be2iscsi: Remove redundant MCC processing code 2016-02-23 21:27:02 -05:00
be_mgmt.c be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_mgmt.h be2iscsi: Fix to handle misconfigured optics events 2016-02-23 21:27:02 -05:00
be.h be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
Kconfig irq_poll: make blk-iopoll available outside the block layer 2015-12-11 11:52:24 -08:00
Makefile be2iscsi: Revert ownership to Emulex 2015-10-27 10:34:18 +09:00