Home
last modified time | relevance | path

Searched hist:e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.cdiff e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5 Fri Dec 21 21:40:31 CST 2012 Bhanu Prakash Gollapudi <bprakash@broadcom.com> [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>
H A Dbnx2fc.hdiff e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5 Fri Dec 21 21:40:31 CST 2012 Bhanu Prakash Gollapudi <bprakash@broadcom.com> [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>
H A Dbnx2fc_hwi.cdiff e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5 Fri Dec 21 21:40:31 CST 2012 Bhanu Prakash Gollapudi <bprakash@broadcom.com> [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>