summaryrefslogtreecommitdiffstats
path: root/drivers/net/ibmveth.h
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2011-01-04 11:34:57 +0530
committerJames Bottomley <James.Bottomley@suse.de>2011-01-24 09:22:24 -0600
commit11e1b961ab067ee3acaf723531da4d3f23e1d6f7 (patch)
treeb7dd47b2e399555d43abffbc75307c3981f85343 /drivers/net/ibmveth.h
parentefe82a16bc0f9f9e1fc8fa706eb0309fcd57770a (diff)
downloadblackbird-op-linux-11e1b961ab067ee3acaf723531da4d3f23e1d6f7.tar.gz
blackbird-op-linux-11e1b961ab067ee3acaf723531da4d3f23e1d6f7.zip
[SCSI] mpt2sas: Correct resizing calculation for max_queue_depth
The ioc->hba_queue_depth is not properly resized when the controller firmware reports that it supports more outstanding IO than what can be fit inside the reply descriptor pool depth. This is reproduced by setting the controller global credits larger than 30,000. The bug results in an incorrect sizing of the queues. The fix is to resize the queue_size by dividing queue_diff by two. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Cc: stable@kernel.org Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/net/ibmveth.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud