summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas.h
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2018-03-27 17:48:38 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2018-04-18 19:32:51 -0400
commit63273cb40101b6f303a5493f1bdf629d4ab3746b (patch)
tree34076c5b51b7acf623d5275e3aa96e726aadf5ad /drivers/scsi/megaraid/megaraid_sas.h
parentb6240a4df0186c03e5ffff6f61570ed31a1a5172 (diff)
downloadblackbird-obmc-linux-63273cb40101b6f303a5493f1bdf629d4ab3746b.tar.gz
blackbird-obmc-linux-63273cb40101b6f303a5493f1bdf629d4ab3746b.zip
scsi: vmbus: Add function to report available ring buffer to write in total ring size percentage
Netvsc has a function to calculate how much ring buffer in percentage is available to write. This function is also useful for storvsc and other vmbus devices. Define a similar function in vmbus to be used by other vmbus devices. Signed-off-by: Long Li <longli@microsoft.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud