OpenCloudOS-Kernel/drivers/hv
Long Li 63273cb401 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>
2018-04-18 19:32:51 -04:00
..
Kconfig hv: add SPDX license id to Kconfig 2018-03-28 13:24:56 +02:00
Makefile hv_balloon: trace post_status 2018-03-06 09:57:17 -08:00
channel.c Drivers: hv: vmbus: Fix a rescind issue 2017-11-28 16:56:26 +01:00
channel_mgmt.c Drivers: hv: vmbus: do not mark HV_PCIE as perf_device 2018-03-28 13:24:56 +02:00
connection.c x86/hyper-v: move hyperv.h out of uapi 2018-03-28 22:47:06 +02:00
hv.c ARM: 2018-04-09 11:42:31 -07:00
hv_balloon.c hv_balloon: trace post_status 2018-03-06 09:57:17 -08:00
hv_fcopy.c Drivers: hv: fcopy: restore correct transfer length 2017-09-22 10:29:54 +02:00
hv_kvp.c Drivers: hv: kvp: Use MAX_ADAPTER_ID_SIZE for translating adapter id 2017-08-16 09:14:43 -07:00
hv_snapshot.c Merge 4.11-rc4 into char-misc-next 2017-03-27 09:13:04 +02:00
hv_trace.c hv: add SPDX license to trace 2018-03-28 13:24:56 +02:00
hv_trace.h hv: add SPDX license to trace 2018-03-28 13:24:56 +02:00
hv_trace_balloon.h hv_balloon: trace post_status 2018-03-06 09:57:17 -08:00
hv_util.c hv_utils: fix TimeSync work on pre-TimeSync-v4 hosts 2017-05-25 15:42:42 +02:00
hv_utils_transport.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
hv_utils_transport.h Drivers: hv: util: move waiting for release to hv_utils_transport itself 2017-03-16 16:42:00 +09:00
hyperv_vmbus.h ARM: 2018-04-09 11:42:31 -07:00
ring_buffer.c scsi: vmbus: Add function to report available ring buffer to write in total ring size percentage 2018-04-18 19:32:51 -04:00
vmbus_drv.c x86/hyper-v: move hyperv.h out of uapi 2018-03-28 22:47:06 +02:00