Skip to content
Commit 63273cb4 authored by Long Li's avatar Long Li Committed by Martin K. Petersen
Browse files

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: default avatarLong Li <longli@microsoft.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent b6240a4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment