diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2012-12-21 19:40:31 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-01-30 10:48:48 +1100 |
commit | e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5 (patch) | |
tree | a13ac74c4e452af823c18f06e3b9891d1f497ff7 /drivers/ptp | |
parent | 26bf62a3dd0752f29609b2dea85a4f0b806da315 (diff) | |
download | talos-obmc-linux-e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5.tar.gz talos-obmc-linux-e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5.zip |
[SCSI] bnx2fc: Map the doorbell register between offload and enable requests
We used to map doorbell register after FW enable request is complete.
This causes a race condition when unsolicited event is received, and FW
sends a CQE for it. Since the doorbell is not mapped, driver does not
arm CQ, which means FW will not notify the driver for further CQ
completions. To resolve this, map the doorbell between offload and
enable, so that driver is ready to receive the unsolicited packets and
arm the CQ as soon as FW enable is performed.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions